diff --git a/pages.json b/pages.json index 222021051f9aa15037ba25bdb0396ccd44d84ce3..3b7f56dfb5133d569e743e550578cf03e354a2ce 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 ad2332e8a8f3ac71ae144788fcdaa5fb714faef4..deedd6931f8fb90e5c97ac0e16a101dc44b8b31c 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 0000000000000000000000000000000000000000..7836996260bc3a03905dc8c402ec1e62df12df1d --- /dev/null +++ b/pages/template/long-list2/long-list2.uvue @@ -0,0 +1,261 @@ + + + + +