From 1153cb015f708f74391c11699c3bdcdd4a10f1a5 Mon Sep 17 00:00:00 2001 From: hdx Date: Wed, 16 Aug 2023 19:09:06 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E6=96=B0=E5=A2=9E=20=E6=A8=A1=E6=9D=BF?= =?UTF-8?q?/=E5=A4=8D=E6=9D=82=E9=95=BF=E5=88=97=E8=A1=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages.json | 81 +++++----- pages/component/navigator/navigator.uvue | 2 +- pages/tabBar/template.uvue | 2 +- pages/template/long-list/long-list.uvue | 194 +++++++++++++++++++++++ 4 files changed, 238 insertions(+), 41 deletions(-) create mode 100644 pages/template/long-list/long-list.uvue diff --git a/pages.json b/pages.json index e5e3c749..a848ec02 100644 --- a/pages.json +++ b/pages.json @@ -25,13 +25,13 @@ "style": { "navigationBarTitleText": "text" } - }, - { - "path": "pages/component/text/text-props", - "style": { - "navigationBarTitleText": "text-props" - } - }, + }, + { + "path": "pages/component/text/text-props", + "style": { + "navigationBarTitleText": "text-props" + } + }, { "path": "pages/component/progress/progress", "style": { @@ -419,13 +419,13 @@ "style": { "navigationBarTitleText": "width" } - }, - { - "path": "pages/CSS/layout/visibility", - "style": { - "navigationBarTitleText": "visibility" - } - }, + }, + { + "path": "pages/CSS/layout/visibility", + "style": { + "navigationBarTitleText": "visibility" + } + }, { "path": "pages/CSS/margin/margin-bottom", "style": { @@ -527,13 +527,13 @@ "style": { "navigationBarTitleText": "text-align" } - }, - { - "path": "pages/CSS/text/text-overflow", - "style": { - "navigationBarTitleText": "text-overflow" - } - }, + }, + { + "path": "pages/CSS/text/text-overflow", + "style": { + "navigationBarTitleText": "text-overflow" + } + }, { "path": "pages/CSS/text/text-decoration-line", "style": { @@ -735,24 +735,27 @@ "navigationBarTitleText": "自定义下拉刷新", "enablePullDownRefresh": false } - }, - { - "path": "pages/API/get-window-info/get-window-info", - "style": { - "navigationBarTitleText": "", - "enablePullDownRefresh": false - } - } - ,{ - "path" : "pages/template/half-screen/half-screen", - "style" : - { - "navigationBarTitleText": "半屏弹窗", - "enablePullDownRefresh": false - } - - } - ], + }, + { + "path": "pages/API/get-window-info/get-window-info", + "style": { + "navigationBarTitleText": "", + "enablePullDownRefresh": false + } + }, { + "path": "pages/template/half-screen/half-screen", + "style": { + "navigationBarTitleText": "半屏弹窗", + "enablePullDownRefresh": false + } + }, { + "path": "pages/template/long-list/long-list", + "style": { + "navigationBarTitleText": "复杂长列表", + "enablePullDownRefresh": false + } + } + ], "globalStyle": { "pageOrientation": "portrait", "navigationBarTitleText": "Hello uniapp x", diff --git a/pages/component/navigator/navigator.uvue b/pages/component/navigator/navigator.uvue index 5b312f55..b6f5e95a 100644 --- a/pages/component/navigator/navigator.uvue +++ b/pages/component/navigator/navigator.uvue @@ -2,7 +2,7 @@ - + 跳转到新页面 diff --git a/pages/tabBar/template.uvue b/pages/tabBar/template.uvue index 2cc87344..269943f1 100644 --- a/pages/tabBar/template.uvue +++ b/pages/tabBar/template.uvue @@ -84,7 +84,7 @@ export default { url: 'long-list', name: '复杂长列表', open: false, - enable: false, + enable: true, pages: [] as Page[], }, { diff --git a/pages/template/long-list/long-list.uvue b/pages/template/long-list/long-list.uvue new file mode 100644 index 00000000..171e0cfd --- /dev/null +++ b/pages/template/long-list/long-list.uvue @@ -0,0 +1,194 @@ + + + + + \ No newline at end of file -- GitLab