diff --git a/pages.json b/pages.json index 57f490a7f658e0c8529ceb21ffae7dfe5f40a3d4..fffd7632b5b623404d8fca3076ae94b99777a13d 100644 --- a/pages.json +++ b/pages.json @@ -592,12 +592,24 @@ "navigationBarTitleText": "详情示例" } }, - { - "path": "pages/template/swiper-vertical-video/swiper-vertical-video", - "style": { - "navigationBarTitleText": "" - } - }, + { + "path": "pages/template/swiper-vertical-video/swiper-vertical-video", + "style": { + "navigationBarTitleText": "" + } + }, + { + "path": "pages/template/custom-pull-page/custom-pull-page", + "style": { + "navigationBarTitleText": "自定义下拉上拉效果" + } + }, + { + "path": "pages/template/scroll-fold-nav/scroll-fold-nav", + "style": { + "navigationStyle": "custom" + } + }, { "path": "pages/API/get-battery-info/get-battery-info", "style": { diff --git a/pages/tabBar/template.uvue b/pages/tabBar/template.uvue index 32b9392c741a31451f7f3f751a2a30c639deb2c4..13e6eb0beb5b86d0d81de6118bbd58b63c1ae517 100644 --- a/pages/tabBar/template.uvue +++ b/pages/tabBar/template.uvue @@ -56,6 +56,19 @@ name: "划走式卡片", open: false, pages: [] as Page[] + },{ + id: "scroll-fold-nav", + url: "scroll-fold-nav", + name: "随滚动折叠的导航栏", + open: false, + pages: [] as Page[] + }, + { + id: "custom-pull-page", + url: "custom-pull-page", + name: "自定义上拉下拉效果", + open: false, + pages: [] as Page[] }, { id: "swiper-vertical-video", diff --git a/pages/template/custom-pull-page/custom-pull-page.uvue b/pages/template/custom-pull-page/custom-pull-page.uvue new file mode 100644 index 0000000000000000000000000000000000000000..e5caf274cc79b1c640ad3a0a940800743aea9100 --- /dev/null +++ b/pages/template/custom-pull-page/custom-pull-page.uvue @@ -0,0 +1,115 @@ + + + + + \ No newline at end of file diff --git a/pages/template/custom-pull-page/custom-pull/custom-pull.uvue b/pages/template/custom-pull-page/custom-pull/custom-pull.uvue new file mode 100644 index 0000000000000000000000000000000000000000..5aac964eb8354c376af845127e920e0e2733e765 --- /dev/null +++ b/pages/template/custom-pull-page/custom-pull/custom-pull.uvue @@ -0,0 +1,190 @@ + + + + + \ No newline at end of file diff --git a/pages/template/drop-card/drop-card.uvue b/pages/template/drop-card/drop-card.uvue index e15182235f5ce41db8f59f4c590f2606741b7e2f..cb4b8c07f3dd38ad70ba5ae8c4de81ab7ececa4b 100644 --- a/pages/template/drop-card/drop-card.uvue +++ b/pages/template/drop-card/drop-card.uvue @@ -2,15 +2,15 @@ - + - + - + diff --git a/pages/template/scroll-fold-nav/scroll-fold-nav.uvue b/pages/template/scroll-fold-nav/scroll-fold-nav.uvue new file mode 100644 index 0000000000000000000000000000000000000000..d19eb2acd467fe36c24a66741f99b0aa4bd5b2f4 --- /dev/null +++ b/pages/template/scroll-fold-nav/scroll-fold-nav.uvue @@ -0,0 +1,118 @@ + + + + + \ No newline at end of file diff --git a/static/template/scroll-fold-nav/back.png b/static/template/scroll-fold-nav/back.png new file mode 100644 index 0000000000000000000000000000000000000000..b10373991bc1b31ca5e7cdf6aa06551efff34809 Binary files /dev/null and b/static/template/scroll-fold-nav/back.png differ diff --git a/static/template/scroll-fold-nav/search.png b/static/template/scroll-fold-nav/search.png new file mode 100644 index 0000000000000000000000000000000000000000..aa2231c5f62f87cf5d98cafc707a692f92fb6b72 Binary files /dev/null and b/static/template/scroll-fold-nav/search.png differ