From 4d52a796da1072fab177bb4a0406673f7cd57ab8 Mon Sep 17 00:00:00 2001 From: GaoHao <1210693421@qq.com> Date: Fri, 20 Dec 2024 17:10:21 +0800 Subject: [PATCH] =?UTF-8?q?=E7=BB=93=E6=9E=84=E8=B0=83=E6=95=B4=E3=80=81?= =?UTF-8?q?=E4=BB=BB=E5=8A=A1=E4=B8=AD=E5=BF=83=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pages.json | 69 ++++++--- pages/task/index.vue | 51 +++++-- pages/task/prizeList.vue | 162 ++++++++++++++++++++ pages/task/receiveMember.vue | 252 +++++++++++++++++++++++++++++++ static/images/my.png | Bin 0 -> 1209 bytes static/images/task/member_bg.png | Bin 0 -> 291000 bytes static/images/task/prize_bg.png | Bin 0 -> 1055645 bytes 7 files changed, 496 insertions(+), 38 deletions(-) create mode 100644 pages/task/prizeList.vue create mode 100644 pages/task/receiveMember.vue create mode 100644 static/images/my.png create mode 100644 static/images/task/member_bg.png create mode 100644 static/images/task/prize_bg.png diff --git a/pages.json b/pages.json index c56d439..fb0b00d 100644 --- a/pages.json +++ b/pages.json @@ -3,6 +3,15 @@ "^u-(.*)": "@/uview-ui/components/u-$1/u-$1.vue" }, "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages + { + "path": "pages/task/index", + "style": { + "navigationBarTitleText": "任务", + "enablePullDownRefresh": true, + "navigationStyle": "custom" + + } + }, { "path": "pages/index/index", "style": { @@ -11,13 +20,21 @@ "navigationStyle": "custom" } }, + { - "path": "pages/task/index", + "path": "pages/task/prizeList", "style": { "navigationBarTitleText": "任务", - "enablePullDownRefresh": true, "navigationStyle": "custom" - + + } + }, + { + "path": "pages/task/receiveMember", + "style": { + "navigationBarTitleText": "任务", + "navigationStyle": "custom" + } }, { @@ -695,18 +712,7 @@ "backgroundColor": "#FFFFFF", "borderStyle": "black", - "list": [{ - "pagePath": "pages/index/index", - "iconPath": "static/tabbar/index@2x.png", - "selectedIconPath": "static/tabbar/index_@2x.png", - "text": "小剧场" - }, - { - "pagePath": "pages/video/video", - "iconPath": "static/tabbar/learn@2x.png", - "selectedIconPath": "static/tabbar/learn_@2x.png", - "text": "推荐" - }, + "list": [ { "pagePath": "pages/task/index", "iconPath": "static/tabbar/task@2x.png", @@ -714,17 +720,30 @@ "text": "任务" }, { - "pagePath": "pages/chasingDrama/chasingDrama", - "iconPath": "static/tabbar/zhuiju.png", - "selectedIconPath": "static/tabbar/zhuiju_.png", - "text": "追剧" - }, - { - "pagePath": "pages/me/index", - "iconPath": "static/tabbar/me@2x.png", - "selectedIconPath": "static/tabbar/me_@2x.png", - "text": "我的" + "pagePath": "pages/index/index", + "iconPath": "static/tabbar/index@2x.png", + "selectedIconPath": "static/tabbar/index_@2x.png", + "text": "刷剧" } + // { + // "pagePath": "pages/video/video", + // "iconPath": "static/tabbar/learn@2x.png", + // "selectedIconPath": "static/tabbar/learn_@2x.png", + // "text": "推荐" + // }, + + // { + // "pagePath": "pages/chasingDrama/chasingDrama", + // "iconPath": "static/tabbar/zhuiju.png", + // "selectedIconPath": "static/tabbar/zhuiju_.png", + // "text": "追剧" + // }, + // { + // "pagePath": "pages/me/index", + // "iconPath": "static/tabbar/me@2x.png", + // "selectedIconPath": "static/tabbar/me_@2x.png", + // "text": "我的" + // } ] }, "condition": { //模式配置,仅开发期间生效 diff --git a/pages/task/index.vue b/pages/task/index.vue index 9e040bf..f4c230f 100644 --- a/pages/task/index.vue +++ b/pages/task/index.vue @@ -1,14 +1,19 @@