From 3c3c6f239a2794bbc67bf76d2e189bfc922b8859 Mon Sep 17 00:00:00 2001 From: linju Date: Sat, 15 Jul 2023 20:04:48 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E7=A4=BA=E4=BE=8B=EF=BC=9A?= =?UTF-8?q?=E9=9A=8F=E6=BB=9A=E5=8A=A8=E6=8A=98=E5=8F=A0=E7=9A=84=E5=AF=BC?= =?UTF-8?q?=E8=88=AA=E6=A0=8F=20=E8=87=AA=E5=AE=9A=E4=B9=89=E4=B8=8A?= =?UTF-8?q?=E6=8B=89=E4=B8=8B=E6=8B=89=E6=95=88=E6=9E=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages.json | 24 ++- pages/tabBar/template.uvue | 13 ++ .../custom-pull-page/custom-pull-page.uvue | 115 +++++++++++ .../custom-pull/custom-pull.uvue | 190 ++++++++++++++++++ pages/template/drop-card/drop-card.uvue | 6 +- .../scroll-fold-nav/scroll-fold-nav.uvue | 118 +++++++++++ static/template/scroll-fold-nav/back.png | Bin 0 -> 2903 bytes static/template/scroll-fold-nav/search.png | Bin 0 -> 3220 bytes 8 files changed, 457 insertions(+), 9 deletions(-) create mode 100644 pages/template/custom-pull-page/custom-pull-page.uvue create mode 100644 pages/template/custom-pull-page/custom-pull/custom-pull.uvue create mode 100644 pages/template/scroll-fold-nav/scroll-fold-nav.uvue create mode 100644 static/template/scroll-fold-nav/back.png create mode 100644 static/template/scroll-fold-nav/search.png diff --git a/pages.json b/pages.json index 57f490a7..fffd7632 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 32b9392c..13e6eb0b 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 00000000..e5caf274 --- /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 00000000..5aac964e --- /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 e1518223..cb4b8c07 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 00000000..d19eb2ac --- /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..b10373991bc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oAu188pi>%g=^ zHV25>3?P0c1GKr%1hA{m&eQ}Set#WsDEt&eRPE+F6@y9l0r%6dg1k#J7W)-k*a-vZ znvhUn>TLw#KSE|Z6+!I+AU;C@g3ZD_sDG`j7Z8M<0R%yxex*Lu-dzNeTedaWso2(D zKi4hl9623-sfN3<_J#^RzvL5<@Aj=&dE1w<`xS!;>!4d9w*tNTA|7_{Qw%2GRzG-A zR{nOfmt{@ug0AN}(==Ne9{Th8a342$%bt`lr-s|II(JjW^}8d^!XERB)fW!C)t?m} z*PP1RD0Noo@3!J|csoCTD5}MSR@UyfCw1&Tw6EM*;ZLuQ2;}YTIZ-3#FSB&-3x|oo zSNb+B;4d=|e*7xjSp3S>j~DSvSGbFct1s-${sg#$&RV}VS@>M z-F&YUK^y3-Vg|kY1)2Lz)vr1LC2W!cV0ZQ8M zFF7>Miq`Ejg$csTmy#fVxUtH_f^QVg0?ZM6kFm_k)hzRwLDt3G*39~M-C4>ibpjUL z6~u;dT}@-j+BQxHWbP;mkO^KRSn&5gA%N^}Im0YjYb5JpXyO4>EVBnJby%BNmsryo zRw0{wfbxU!4y*k6HtT;fpnD5`bUAd@S<&G6O*uZC3Kcsm5bnqZ-09aHUJbe8oRo=c ze+j?2z~xm*rE={r<2S=xPgPQ4aFJ^4-ok49Cgcjypi3QJ3TqDXgdWwKe+Rwkq*Ay& zxNyK9*TZu+seN6_n(t?-ILJ3>WarZYgG=MvOU8{F_+^Ex{ z!R4M@WmXfu2A#3NlN$*Qq$CjBNR4nkACF%Gk95Zdh6-IBe7NO{2aQ}u<~>o(S&tn% zR0|LJruP~J_wJrwHGin}MA>nCB<^5?dS1b*%-Aku{(GM3%hMsr^ea=3wy~*qy=?Yd VbbXIQu#o-ht4&JPG$*Wm`M<}Y7B2t* literal 0 HcmV?d00001 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 GIT bin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