From df074ff0fac3f70b5b238ec1f78dfa302b98dbc9 Mon Sep 17 00:00:00 2001 From: shutao Date: Sat, 21 Oct 2023 17:47:44 +0800 Subject: [PATCH] add long-list2.uvue --- pages.json | 11 +- pages/tabBar/template.uvue | 13 +- pages/template/long-list2/long-list2.uvue | 261 ++++++++++++++++++++++ 3 files changed, 281 insertions(+), 4 deletions(-) create mode 100644 pages/template/long-list2/long-list2.uvue diff --git a/pages.json b/pages.json index 22202105..3b7f56df 100644 --- a/pages.json +++ b/pages.json @@ -916,6 +916,13 @@ "navigationBarTitleText": "复杂长列表", "enablePullDownRefresh": true } + }, + { + "path": "pages/template/long-list2/long-list2", + "style": { + "navigationBarTitleText": "复杂长列表2", + "enablePullDownRefresh": true + } }, { "path": "pages/component/list-view/list-view", @@ -996,7 +1003,7 @@ }, { "path" : "pages/API/element-draw/element-draw", - "style" : + "style" : { "navigationBarTitleText" : "getDrawableContext", "enablePullDownRefresh" : false @@ -1004,7 +1011,7 @@ }, { "path" : "pages/component/general-event/transition-event", - "style" : + "style" : { "navigationBarTitleText" : "transitionend事件", "enablePullDownRefresh" : false diff --git a/pages/tabBar/template.uvue b/pages/tabBar/template.uvue index ad2332e8..deedd693 100644 --- a/pages/tabBar/template.uvue +++ b/pages/tabBar/template.uvue @@ -82,10 +82,19 @@ export default { { id: 'long-list', url: 'long-list', - name: '复杂长列表', + name: '左右滑动长列表', open: false, enable: true, - pages: [] as Page[], + pages: [ + { + name: '顶部搜索框随时下移长列表', + url:'long-list' + }, + { + name: '顶部banner长列表', + url:'long-list2' + }, + ] as Page[], }, { id: 'list-news', diff --git a/pages/template/long-list2/long-list2.uvue b/pages/template/long-list2/long-list2.uvue new file mode 100644 index 00000000..78369962 --- /dev/null +++ b/pages/template/long-list2/long-list2.uvue @@ -0,0 +1,261 @@ + + + + + -- GitLab