From e5db0848143e5f2c0649e604ec586043a2622da1 Mon Sep 17 00:00:00 2001 From: shutao Date: Fri, 13 Oct 2023 15:39:23 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0sticky-header=E7=A4=BA?= =?UTF-8?q?=E4=BE=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages.json | 10 ++- .../sticky-header/sticky-header.uvue | 81 +++++++++++++++++++ pages/tabBar/component.uvue | 5 +- 3 files changed, 94 insertions(+), 2 deletions(-) create mode 100644 pages/component/sticky-header/sticky-header.uvue diff --git a/pages.json b/pages.json index 7159ff34..a2ae57d2 100644 --- a/pages.json +++ b/pages.json @@ -958,7 +958,15 @@ "navigationBarTitleText": "", "enablePullDownRefresh": false } - } + }, + { + "path": "pages/component/sticky-header/sticky-header", + "style": { + "navigationBarTitleText": "sticky-header", + "enablePullDownRefresh": false + } + } + ], "globalStyle": { "pageOrientation": "portrait", diff --git a/pages/component/sticky-header/sticky-header.uvue b/pages/component/sticky-header/sticky-header.uvue new file mode 100644 index 00000000..2568e981 --- /dev/null +++ b/pages/component/sticky-header/sticky-header.uvue @@ -0,0 +1,81 @@ + + + + + diff --git a/pages/tabBar/component.uvue b/pages/tabBar/component.uvue index 17b2b63a..6851c88d 100644 --- a/pages/tabBar/component.uvue +++ b/pages/tabBar/component.uvue @@ -87,7 +87,10 @@ export default { */ { name: 'list-view', - }, + }, + { + name: 'sticky-header', + } ] as Page[], }, { -- GitLab