diff --git a/pages/tabBar/template.uvue b/pages/tabBar/template.uvue index 53c9de7313bb6dea3c4b0970701be6a59f087723..c0937c12a5a94fff36dfa1a26fab5a93ea596736 100644 --- a/pages/tabBar/template.uvue +++ b/pages/tabBar/template.uvue @@ -52,10 +52,16 @@ open: false, enable: false, pages: [] as Page[] + },{ + id: "scroll-fold-nav", + url: "scroll-fold-nav", + name: "随滚动折叠的导航栏", + open: false, + pages: [] as Page[] },{ id: "scroll-fold-nav2", url: "scroll-fold-nav2", - name: "随滚动折叠的导航栏", + name: "随滚动折叠的导航栏2", open: false, pages: [] as Page[] }, { @@ -67,12 +73,18 @@ pages: [] as Page[] }, { - id: "custom-pull-page", + id: "custom-refresher", url: "custom-pull-page", - name: "自定义上拉下拉效果", + name: "自定义上拉下拉效果(前端实现)", open: false, pages: [] as Page[] - }, + },{ + id: "custom-refresher", + url: "custom-refresher", + name: "自定义下拉刷新(原生实现)", + open: false, + pages: [] as Page[] + }, { id: "pull-zoom-image", url: "pull-zoom-image", diff --git a/pages/template/custom-refresher/custom-refresher.uvue b/pages/template/custom-refresher/custom-refresher.uvue new file mode 100644 index 0000000000000000000000000000000000000000..a363b672bb0bf16b018eda9703b0e693d0ae4844 --- /dev/null +++ b/pages/template/custom-refresher/custom-refresher.uvue @@ -0,0 +1,70 @@ + + + + + \ No newline at end of file diff --git a/pages/template/custom-refresher/refresh-box/refresh-box.uvue b/pages/template/custom-refresher/refresh-box/refresh-box.uvue new file mode 100644 index 0000000000000000000000000000000000000000..fe2470220f7f1b5ff467d9fc506375429bf10b0b --- /dev/null +++ b/pages/template/custom-refresher/refresh-box/refresh-box.uvue @@ -0,0 +1,46 @@ + + + + + \ No newline at end of file