From 7b44d1f9fb6a36ac3e632a2c8a01b53e34a7f10a Mon Sep 17 00:00:00 2001 From: GYJ <1157756119@qq.com> Date: Mon, 23 Dec 2024 15:50:21 +0800 Subject: [PATCH] pages --- pages-ios.json => pages-and.json | 111 +++++++++++++------------------ pages.json | 111 ++++++++++++++++++------------- uview-ui/README.md | 2 +- 3 files changed, 112 insertions(+), 112 deletions(-) rename pages-ios.json => pages-and.json (92%) diff --git a/pages-ios.json b/pages-and.json similarity index 92% rename from pages-ios.json rename to pages-and.json index f3ec71a..5586565 100644 --- a/pages-ios.json +++ b/pages-and.json @@ -4,15 +4,6 @@ "^tn-(.*)": "@/tuniao-ui/components/tn-$1/tn-$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": { @@ -21,13 +12,21 @@ "navigationStyle": "custom" } }, - + { + "path": "pages/task/index", + "style": { + "navigationBarTitleText": "任务", + "enablePullDownRefresh": true, + "navigationStyle": "custom" + + } + }, { "path": "pages/task/prizeList", "style": { "navigationBarTitleText": "任务", "navigationStyle": "custom" - + } }, { @@ -35,7 +34,7 @@ "style": { "navigationBarTitleText": "任务", "navigationStyle": "custom" - + } }, { @@ -746,41 +745,36 @@ } }, { - "path" : "blogger/blogger", - "style" : - { - "navigationBarTitleText" : "", + "path": "blogger/blogger", + "style": { + "navigationBarTitleText": "", "navigationStyle": "custom" } }, { - "path" : "blogger/details", - "style" : - { - "navigationBarTitleText" : "", + "path": "blogger/details", + "style": { + "navigationBarTitleText": "", "navigationStyle": "custom" } }, { - "path" : "topic/topic", - "style" : - { - "navigationBarTitleText" : "话题" + "path": "topic/topic", + "style": { + "navigationBarTitleText": "话题" } }, { - "path" : "topic/reserve", - "style" : - { - "navigationBarTitleText" : "", + "path": "topic/reserve", + "style": { + "navigationBarTitleText": "", "navigationStyle": "custom" } }, { - "path" : "tools/tools", - "style" : - { - "navigationBarTitleText" : "", + "path": "tools/tools", + "style": { + "navigationBarTitleText": "", "navigationStyle": "custom" } } @@ -802,7 +796,18 @@ "backgroundColor": "#FFFFFF", "borderStyle": "black", - "list": [ + "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": "推荐" + }, { "pagePath": "pages/task/index", "iconPath": "static/tabbar/task@2x.png", @@ -810,37 +815,17 @@ "text": "任务" }, { - "pagePath": "pages/video/video", - "iconPath": "static/tabbar/index@2x.png", - "selectedIconPath": "static/tabbar/index_@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": "我的" } - // , - // { - // "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.json b/pages.json index 5586565..f3ec71a 100644 --- a/pages.json +++ b/pages.json @@ -4,6 +4,15 @@ "^tn-(.*)": "@/tuniao-ui/components/tn-$1/tn-$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": { @@ -12,21 +21,13 @@ "navigationStyle": "custom" } }, - { - "path": "pages/task/index", - "style": { - "navigationBarTitleText": "任务", - "enablePullDownRefresh": true, - "navigationStyle": "custom" - - } - }, + { "path": "pages/task/prizeList", "style": { "navigationBarTitleText": "任务", "navigationStyle": "custom" - + } }, { @@ -34,7 +35,7 @@ "style": { "navigationBarTitleText": "任务", "navigationStyle": "custom" - + } }, { @@ -745,36 +746,41 @@ } }, { - "path": "blogger/blogger", - "style": { - "navigationBarTitleText": "", + "path" : "blogger/blogger", + "style" : + { + "navigationBarTitleText" : "", "navigationStyle": "custom" } }, { - "path": "blogger/details", - "style": { - "navigationBarTitleText": "", + "path" : "blogger/details", + "style" : + { + "navigationBarTitleText" : "", "navigationStyle": "custom" } }, { - "path": "topic/topic", - "style": { - "navigationBarTitleText": "话题" + "path" : "topic/topic", + "style" : + { + "navigationBarTitleText" : "话题" } }, { - "path": "topic/reserve", - "style": { - "navigationBarTitleText": "", + "path" : "topic/reserve", + "style" : + { + "navigationBarTitleText" : "", "navigationStyle": "custom" } }, { - "path": "tools/tools", - "style": { - "navigationBarTitleText": "", + "path" : "tools/tools", + "style" : + { + "navigationBarTitleText" : "", "navigationStyle": "custom" } } @@ -796,18 +802,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", @@ -815,17 +810,37 @@ "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/video/video", + "iconPath": "static/tabbar/index@2x.png", + "selectedIconPath": "static/tabbar/index_@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/uview-ui/README.md b/uview-ui/README.md index 06d5676..2c6d441 100644 --- a/uview-ui/README.md +++ b/uview-ui/README.md @@ -52,7 +52,7 @@ Vue.use(uView); 4. `pages.json`配置easycom规则(按需引入) ```js -// pages.json +// pages-and.json { "easycom": { // npm安装的方式不需要前面的"@/",下载安装的方式需要"@/"