From e51720056574daf5284b085d6cc81178a59a18b0 Mon Sep 17 00:00:00 2001 From: linju Date: Sat, 8 Jul 2023 19:53:56 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=20=E4=BB=BF=E6=8A=96?= =?UTF-8?q?=E9=9F=B3=EF=BC=88=E5=A4=8D=E7=94=A8=E7=BB=84=E4=BB=B6=EF=BC=8C?= =?UTF-8?q?=E6=97=A0=E9=99=90=E6=BB=9A=E5=8A=A8=E3=80=81=E5=8A=A0=E8=BD=BD?= =?UTF-8?q?=E3=80=81=E6=B5=8F=E8=A7=88=E8=A7=86=E9=A2=91=EF=BC=89=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 | 11 +- pages/tabBar/template.uvue | 24 ++-- .../template/swiper-tiktok/swiper-tiktok.uvue | 115 ++++++++++++++++++ 3 files changed, 141 insertions(+), 9 deletions(-) create mode 100644 pages/template/swiper-tiktok/swiper-tiktok.uvue diff --git a/pages.json b/pages.json index dfd00095..902fb61b 100644 --- a/pages.json +++ b/pages.json @@ -600,7 +600,16 @@ } } - ], + ,{ + "path" : "pages/template/swiper-tiktok/swiper-tiktok", + "style" : + { + "navigationBarTitleText": "", + "enablePullDownRefresh": false + } + + } + ], "globalStyle": { "pageOrientation": "portrait", "navigationBarTitleText": "Hello uniapp x", diff --git a/pages/tabBar/template.uvue b/pages/tabBar/template.uvue index a101e7cf..bd037a2f 100644 --- a/pages/tabBar/template.uvue +++ b/pages/tabBar/template.uvue @@ -42,14 +42,22 @@ export default { data() { return { - list: [ - { - id: "drop-card", - url: "drop-card", - name: "drop-card", - open: false, - enable: true, - pages: [] as Page[] + list: [ + { + id: "drop-card", + url: "drop-card", + name: "drop-card", + open: false, + enable: true, + pages: [] as Page[] + }, + { + id: "swiper-tiktok", + url: "swiper-tiktok", + name: "swiper-tiktok", + open: false, + enable: true, + pages: [] as Page[] } ] as ListItem[], arrowUpIcon: '/static/icons/arrow-up.png', diff --git a/pages/template/swiper-tiktok/swiper-tiktok.uvue b/pages/template/swiper-tiktok/swiper-tiktok.uvue new file mode 100644 index 00000000..05e6c53b --- /dev/null +++ b/pages/template/swiper-tiktok/swiper-tiktok.uvue @@ -0,0 +1,115 @@ + + + + \ No newline at end of file -- GitLab