diff --git a/pages.json b/pages.json index c202c6c277c3369d7a5286df9e31b0d16464f108..9dc1f8da25656760e9fb72d4c2516fcdf24bb505 100644 --- a/pages.json +++ b/pages.json @@ -653,6 +653,18 @@ "navigationStyle": "custom" } }, + { + "path": "pages/template/scroll-sticky/scroll-sticky", + "style": { + "navigationBarTitleText": "滚动吸顶" + } + }, + { + "path": "pages/template/scroll-sticky2/scroll-sticky2", + "style": { + "navigationBarTitleText": "滚动吸顶2" + } + }, { "path": "pages/API/get-battery-info/get-battery-info", "style": { @@ -667,6 +679,14 @@ "enablePullDownRefresh": false } } + ,{ + "path" : "pages/template/scroll-fold-nav2/scroll-fold-nav2", + "style" : + { + "navigationStyle": "custom" + } + + } ], "globalStyle": { "pageOrientation": "portrait", diff --git a/pages/tabBar/template.uvue b/pages/tabBar/template.uvue index 4f1f5c2b366c7f83249e37df4dc261f335181277..ae500dd1d68ab2c939a4acde7ee0f45054686e54 100644 --- a/pages/tabBar/template.uvue +++ b/pages/tabBar/template.uvue @@ -51,6 +51,13 @@ name: "随滚动折叠的导航栏", open: false, pages: [] as Page[] + }, + { + id: "scroll-fold-nav2", + url: "scroll-fold-nav2", + name: "随滚动折叠的导航栏2", + open: false, + pages: [] as Page[] }, { id: "swiper-list", url: "swiper-list", @@ -90,11 +97,17 @@ pages: [] as Page[] }, { - id: "sticky", - url: "sticky", + id: "scroll-sticky", + url: "scroll-sticky", name: "吸顶", open: false, - enable: false, + pages: [] as Page[] + }, + { + id: "scroll-sticky2", + url: "scroll-sticky2", + name: "吸顶2", + open: false, pages: [] as Page[] }, { diff --git a/pages/template/scroll-fold-nav2/scroll-fold-nav2.uvue b/pages/template/scroll-fold-nav2/scroll-fold-nav2.uvue new file mode 100644 index 0000000000000000000000000000000000000000..0b18da8288cbf11ccc15906cb260ea781d5e6201 --- /dev/null +++ b/pages/template/scroll-fold-nav2/scroll-fold-nav2.uvue @@ -0,0 +1,134 @@ + + + + + \ No newline at end of file diff --git a/pages/template/scroll-sticky/scroll-sticky.uvue b/pages/template/scroll-sticky/scroll-sticky.uvue new file mode 100644 index 0000000000000000000000000000000000000000..a623d6f382d5317ade5763462ee3ef2d1f438487 --- /dev/null +++ b/pages/template/scroll-sticky/scroll-sticky.uvue @@ -0,0 +1,115 @@ + + + + + \ No newline at end of file diff --git a/pages/template/scroll-sticky2/scroll-sticky2.uvue b/pages/template/scroll-sticky2/scroll-sticky2.uvue new file mode 100644 index 0000000000000000000000000000000000000000..59ecd386b44b8defa391c2a9fee9243c008e34c7 --- /dev/null +++ b/pages/template/scroll-sticky2/scroll-sticky2.uvue @@ -0,0 +1,115 @@ + + + + + \ No newline at end of file