From 6361aa9ac323b3bd2464abcfa5f45830e595d86a Mon Sep 17 00:00:00 2001 From: abu <3109389044@qq.com> Date: Fri, 28 Mar 2025 17:47:58 +0800 Subject: [PATCH] test --- pages.json | 743 ++++++++++++++++++++++++++--------------------------- 1 file changed, 363 insertions(+), 380 deletions(-) diff --git a/pages.json b/pages.json index 0f49033d..da6d0af9 100644 --- a/pages.json +++ b/pages.json @@ -3,43 +3,42 @@ "easycom": { "^u-(.*)": "@/uview-ui/components/u-$1/u-$1.vue" }, - "pages": [ - { - "path" : "pages/tabbar/vlog/index", - "style" : { - "app-plus" : { - "titleNView" : false //禁用原生导航栏 - }, - "enablePullDownRefresh" : false //开启后ios会导致滑动整个页面,手势不准 - - } - }, - + "pages": [{ + "path": "pages/tabbar/vlog/index", + "style": { + "app-plus": { + "titleNView": false //禁用原生导航栏 + }, + "enablePullDownRefresh": false //开启后ios会导致滑动整个页面,手势不准 + + } + }, + { "path": "pages/tabbar/home/index", "style": { "navigationBarTitleText": "商城", "navigationStyle": "custom", // 隐藏系统导航栏 "navigationBarTextStyle": "black", - "enablePullDownRefresh":true + "enablePullDownRefresh": true } - }, - - { - "path" : "pages/tabbar/im/index", - "style" : { - "navigationBarTitleText" : "消息", - "navigationBarBackgroundColor" : "#181b27", - "navigationStyle": "custom" - } }, - + + { + "path": "pages/tabbar/im/index", + "style": { + "navigationBarTitleText": "消息", + "navigationBarBackgroundColor": "#181b27", + "navigationStyle": "custom" + } + }, + { "path": "pages/tabbar/cart/cartList", "style": { "navigationBarTitleText": "购物车", "navigationBarBackgroundColor": "#fff", - "enablePullDownRefresh":true //实现下拉刷新样式 + "enablePullDownRefresh": true //实现下拉刷新样式 } }, { @@ -49,19 +48,19 @@ "navigationStyle": "custom", // 隐藏系统导航栏 "navigationBarTextStyle": "black", "disableScroll": true, - "bounce": "none", - "scrollIndicator": "none" - - + "bounce": "none", + "scrollIndicator": "none" + + } }, - + { "path": "pages/navigation/search/searchPage", "style": { "navigationBarTitleText": "搜索", "navigationStyle": "custom", - + "app-plus": { //app页面不显示滚动条 "scrollIndicator": "none", @@ -69,7 +68,7 @@ "contentAdjust": "false", "bounce": "none", "safearea": { - "bottom": "none" + "bottom": "none" } } } @@ -81,97 +80,95 @@ "navigationStyle": "custom" } }, - + { "path": "pages/tabbar/home/web-view", "style": { - + } }, { - "path" : "pages/publish/publish", - "style" : { - "navigationBarTitleText" : "发布视频", - "navigationBarBackgroundColor" : "#181b27", + "path": "pages/publish/publish", + "style": { + "navigationBarTitleText": "发布视频", + "navigationBarBackgroundColor": "#181b27", "navigationBarTextStyle": "#FFFFFF" - } + } }, { - "path" : "pages/publish/preview", - "style" : { - "navigationBarTitleText" : "预览视频", - "navigationBarBackgroundColor" : "#181b27", - "enablePullDownRefresh" : false - } + "path": "pages/publish/preview", + "style": { + "navigationBarTitleText": "预览视频", + "navigationBarBackgroundColor": "#181b27", + "enablePullDownRefresh": false + } }, { - "path" : "pages/me/vlogerInfo", - "style" : { - "app-plus" : { - "titleNView" : false //禁用原生导航栏 - } - } - }, - { - "path" : "pages/me/vlog", - "style" : { - "app-plus" : { - "titleNView" : false //禁用原生导航栏 - } - } + "path": "pages/me/vlogerInfo", + "style": { + "app-plus": { + "titleNView": false //禁用原生导航栏 + } + } }, { - "path" : "pages/me/me", - "style" : { - "app-plus" : { - "titleNView" : false //禁用原生导航栏 - } - } - }, - { - "path" : "pages/me/myBackImg", - "style" : { - "app-plus" : { - "titleNView" : false //禁用原生导航栏 - } - } + "path": "pages/me/vlog", + "style": { + "app-plus": { + "titleNView": false //禁用原生导航栏 + } + } }, { - "path" : "pages/me/myFace", - "style" : { - "app-plus" : { - "titleNView" : false //禁用原生导航栏 - } - } + "path": "pages/me/me", + "style": { + "app-plus": { + "titleNView": false //禁用原生导航栏 + } + } }, { - "path" : "pages/me/myInfo", - "style" : { - "navigationBarTitleText" : "修改个人资料", - "navigationBarBackgroundColor" : "#181b27", + "path": "pages/me/myBackImg", + "style": { + "app-plus": { + "titleNView": false //禁用原生导航栏 + } + } + }, + { + "path": "pages/me/myFace", + "style": { + "app-plus": { + "titleNView": false //禁用原生导航栏 + } + } + }, + { + "path": "pages/me/myInfo", + "style": { + "navigationBarTitleText": "修改个人资料", + "navigationBarBackgroundColor": "#181b27", "navigationBarTextStyle": "white" - } + } }, { - "path" : "pages/me/modifyNickname", - "style" : { - "navigationBarTitleText" : "修改昵称", - "navigationBarTextStyle" : "white", - "navigationBarBackgroundColor" : "#181b27", - "app-plus" : { - "titleNView" : { - "buttons" : [ - { - "text" : "保存", - "color" : "#ef274d", - "width" : "60px", - "fontSize" : "15px", - "fontWeight" : "bold" - } - ] - } - } - } + "path": "pages/me/modifyNickname", + "style": { + "navigationBarTitleText": "修改昵称", + "navigationBarTextStyle": "white", + "navigationBarBackgroundColor": "#181b27", + "app-plus": { + "titleNView": { + "buttons": [{ + "text": "保存", + "color": "#ef274d", + "width": "60px", + "fontSize": "15px", + "fontWeight": "bold" + }] + } + } + } }, // { // "path" : "pages/me/modifyPass", @@ -195,133 +192,123 @@ // } // }, { - "path" : "pages/me/modifyTioktokNum", - "style" : { - "navigationBarTitleText" : "修改视频号", - "navigationBarTextStyle" : "white", - "navigationBarBackgroundColor" : "#181b27", - "app-plus" : { - "titleNView" : { - "buttons" : [ - { - "text" : "保存", - "color" : "#ef274d", - "width" : "60px", - "fontSize" : "15px", - "fontWeight" : "bold" - } - ] - } - } - } + "path": "pages/me/modifyTioktokNum", + "style": { + "navigationBarTitleText": "修改视频号", + "navigationBarTextStyle": "white", + "navigationBarBackgroundColor": "#181b27", + "app-plus": { + "titleNView": { + "buttons": [{ + "text": "保存", + "color": "#ef274d", + "width": "60px", + "fontSize": "15px", + "fontWeight": "bold" + }] + } + } + } }, { - "path" : "pages/me/modifyDesc", - "style" : { - "navigationBarTitleText" : "修改简介", - "navigationBarTextStyle" : "white", - "navigationBarBackgroundColor" : "#181b27", - "app-plus" : { - "titleNView" : { - "buttons" : [ - { - "text" : "保存", - "color" : "#ef274d", - "width" : "60px", - "fontSize" : "15px", - "fontWeight" : "bold" - } - ] - } - } - } + "path": "pages/me/modifyDesc", + "style": { + "navigationBarTitleText": "修改简介", + "navigationBarTextStyle": "white", + "navigationBarBackgroundColor": "#181b27", + "app-plus": { + "titleNView": { + "buttons": [{ + "text": "保存", + "color": "#ef274d", + "width": "60px", + "fontSize": "15px", + "fontWeight": "bold" + }] + } + } + } }, { - "path" : "pages/me/modifySex", - "style" : { - "navigationBarTitleText" : "修改性别", - "navigationBarTextStyle" : "white", - "navigationBarBackgroundColor" : "#181b27", - "app-plus" : { - "titleNView" : { - "buttons" : [ - { - "text" : "保存", - "color" : "#ef274d", - "width" : "60px", - "fontSize" : "15px", - "fontWeight" : "bold" - } - ] - } - } - } + "path": "pages/me/modifySex", + "style": { + "navigationBarTitleText": "修改性别", + "navigationBarTextStyle": "white", + "navigationBarBackgroundColor": "#181b27", + "app-plus": { + "titleNView": { + "buttons": [{ + "text": "保存", + "color": "#ef274d", + "width": "60px", + "fontSize": "15px", + "fontWeight": "bold" + }] + } + } + } }, { - "path" : "pages/me/modifyBirthday", - "style" : { - "navigationBarTitleText" : "修改生日", - "navigationBarTextStyle" : "white", - "navigationBarBackgroundColor" : "#181b27", - "app-plus" : { - "titleNView" : { - "buttons" : [ - { - "text" : "保存", - "color" : "#ef274d", - "width" : "60px", - "fontSize" : "15px", - "fontWeight" : "bold" - } - ] - } - } - } + "path": "pages/me/modifyBirthday", + "style": { + "navigationBarTitleText": "修改生日", + "navigationBarTextStyle": "white", + "navigationBarBackgroundColor": "#181b27", + "app-plus": { + "titleNView": { + "buttons": [{ + "text": "保存", + "color": "#ef274d", + "width": "60px", + "fontSize": "15px", + "fontWeight": "bold" + }] + } + } + } }, { - "path" : "pages/me/modifyLocation", - "style" : { - "navigationBarTitleText" : "修改所在地", - "navigationBarTextStyle" : "white", - "navigationBarBackgroundColor" : "#181b27", - "app-plus" : { - "titleNView" : { - "buttons" : [ - { - "text" : "保存", - "color" : "#ef274d", - "width" : "60px", - "fontSize" : "15px", - "fontWeight" : "bold" - } - ] - } - } - } + "path": "pages/me/modifyLocation", + "style": { + "navigationBarTitleText": "修改所在地", + "navigationBarTextStyle": "white", + "navigationBarBackgroundColor": "#181b27", + "app-plus": { + "titleNView": { + "buttons": [{ + "text": "保存", + "color": "#ef274d", + "width": "60px", + "fontSize": "15px", + "fontWeight": "bold" + }] + } + } + } }, { - "path" : "pages/me/chooseProvince", - "style" : { - "navigationBarTitleText" : "选择省份", - "navigationBarTextStyle" : "white", - "navigationBarBackgroundColor" : "#181b27" - } + "path": "pages/me/chooseProvince", + "style": { + "navigationBarTitleText": "选择省份", + "navigationBarTextStyle": "white", + "navigationBarBackgroundColor": "#181b27" + } }, { - "path" : "pages/me/chooseCity", - "style" : { - "navigationBarTitleText" : "选择城市", - "navigationBarTextStyle" : "white", - "navigationBarBackgroundColor" : "#181b27" - } - }, - { - "path" : "pages/me/chooseDistrict", - "style" : { - "navigationBarTitleText" : "选择地区", - "navigationBarTextStyle" : "white", - "navigationBarBackgroundColor" : "#181b27" - } + "path": "pages/me/chooseCity", + "style": { + "navigationBarTitleText": "选择城市", + "navigationBarTextStyle": "white", + "navigationBarBackgroundColor": "#181b27" + } + }, + { + "path": "pages/me/chooseDistrict", + "style": { + "navigationBarTitleText": "选择地区", + "navigationBarTextStyle": "white", + "navigationBarBackgroundColor": "#181b27" + } }, // { // "path" : "pages/me/settings", @@ -332,20 +319,20 @@ // } // }, { - "path" : "pages/me/myFans", - "style" : { - "navigationBarTitleText" : "粉丝", - "navigationBarTextStyle" : "white", - "navigationBarBackgroundColor" : "#181b27" - } + "path": "pages/me/myFans", + "style": { + "navigationBarTitleText": "粉丝", + "navigationBarTextStyle": "white", + "navigationBarBackgroundColor": "#181b27" + } }, { - "path" : "pages/me/myFollows", - "style" : { - "navigationBarTitleText" : "关注", - "navigationBarTextStyle" : "white", - "navigationBarBackgroundColor" : "#181b27" - } + "path": "pages/me/myFollows", + "style": { + "navigationBarTitleText": "关注", + "navigationBarTextStyle": "white", + "navigationBarBackgroundColor": "#181b27" + } } @@ -355,7 +342,7 @@ { "root": "pages/mine", "pages": [ - + { "path": "signIn", "style": { @@ -466,15 +453,15 @@ } }, - - { - "path": "deposit/info", - "style": { - "navigationBarTitleText": "预存款详情" - } - }, - { + { + "path": "deposit/info", + "style": { + "navigationBarTitleText": "预存款详情" + + } + }, + { "path": "address/address", "style": { "enablePullDownRefresh": true, @@ -575,7 +562,7 @@ "navigationBarTitleText": "我的积分" } }, - { + { "path": "msgTips/main", "style": { "navigationBarTitleText": "消息中心" @@ -614,29 +601,29 @@ { "root": "pages/product", "pages": [{ - "path": "shopPage", - "style": { - "navigationBarTitleText": "", - "navigationStyle": "custom" - } - },{ - "path": "shopList", - "style": { - "navigationBarTitleText": "", - "navigationStyle": "custom" - } - },{ - "path": "licencePhoto", - "style": { - "navigationBarTitleText": "营业执照" - } - },{ - "path": "shopPageGoods", - "style": { - "navigationBarTitleText": "", - "navigationStyle": "custom" - } - }, + "path": "shopPage", + "style": { + "navigationBarTitleText": "", + "navigationStyle": "custom" + } + }, { + "path": "shopList", + "style": { + "navigationBarTitleText": "", + "navigationStyle": "custom" + } + }, { + "path": "licencePhoto", + "style": { + "navigationBarTitleText": "营业执照" + } + }, { + "path": "shopPageGoods", + "style": { + "navigationBarTitleText": "", + "navigationStyle": "custom" + } + }, { "path": "goods", "style": { @@ -648,10 +635,10 @@ // 禁止页面滚动 "scrollIndicator": "none", "safearea": { - "bottom": { - "offset": "none" - } - } + "bottom": { + "offset": "none" + } + } } } }, @@ -703,10 +690,10 @@ "animationType": "slide-in-bottom", "scrollIndicator": "none", "safearea": { - "bottom": { - "offset": "none" - } - } + "bottom": { + "offset": "none" + } + } } } }, @@ -730,19 +717,19 @@ { "root": "pages/promotion", - "pages": [ { + "pages": [{ "path": "seckill", "style": { "navigationBarTitleText": "限时抢购", "app-plus": { "titleNView": { - "homeButton":true + "homeButton": true } } } }, - - { + + { "path": "joinGroup", "style": { "navigationBarTitleText": "拼团活动", @@ -752,44 +739,44 @@ "bounce": "none" } } - },{ + }, { "path": "lives", "style": { "navigationStyle": "custom", "navigationBarTextStyle": "black" } - },{ + }, { "path": "bargain/list", "style": { "navigationStyle": "custom", "navigationBarTextStyle": "white" } - },{ + }, { "path": "bargain/detail", "style": { "navigationStyle": "custom", "navigationBarTextStyle": "white" } - },{ + }, { "path": "bargain/log", "style": { "navigationBarTitleText": "砍价记录" } - },{ + }, { "path": "point/detail", "style": { "navigationStyle": "custom", "navigationBarTextStyle": "white" } - },{ + }, { "path": "point/pointList", "style": { "navigationBarTitleText": "积分商城" - + } } @@ -805,7 +792,7 @@ "navigationBarTitleText": "我的优惠券", "app-plus": { "bounce": "coupon/none" - + } } }, @@ -821,13 +808,13 @@ "navigationBarTitleText": "优惠券" } }, - + { "path": "coupon/couponCenter", "style": { "navigationBarTitleText": "领券中心", "enablePullDownRefresh": true - + } }, { @@ -861,7 +848,7 @@ } } } - + ] }, @@ -892,7 +879,7 @@ "enablePullDownRefresh": true, "app-plus": { "bounce": "none" - + } } }, @@ -914,7 +901,7 @@ "navigationBarTitleText": "评价详情" } }, - + { "path": "evaluate/releaseEvaluate", "style": { @@ -927,7 +914,7 @@ "navigationBarTitleText": "我的评价" } }, - + { "path": "afterSales/applyProgress", "style": { @@ -988,85 +975,82 @@ } } ] + }, + { + "root": "TUIKit", + "pages": [{ + "path": "components/TUIConversation/index", + "style": { + "navigationBarTitleText": "腾讯云 IM绘画", + "app-plus": { + "titleNView": { + "backButton": true // 显示返回按钮 + } + } + } + }, + { + "path": "components/TUIChat/index", + "style": { + "navigationBarTitleText": "腾讯云 IM", + "app-plus": { + "softinputMode": "adjustResize", + "titleNView": { + "buttons": [{ + "type": "menu" + }] + } + }, + "h5": { + "titleNView": { + "buttons": [] + } + } + } + }, + // 集成 chat 组件,必须配置该路径: 视频播放 + { + "path": "components/TUIChat/video-play", + "style": { + "navigationBarTitleText": "腾讯云 IM1" + } + }, + { + "path": "components/TUIChat/web-view", + "style": { + "navigationBarTitleText": "腾讯云 IM2" + } + }, + { + "path": "components/TUIContact/index", + "style": { + "navigationBarTitleText": "腾讯云 IM3", + "app-plus": { + "titleNView": { + "backButton": true // 显示返回按钮 + } + } + } + }, + { + "path": "components/TUIGroup/index", + "style": { + "navigationBarTitleText": "腾讯云 IM4", + "app-plus": { + "titleNView": { + "backButton": true // 显示返回按钮 + } + } + } + }, + { + "path": "components/TUISearch/index", + "style": { + "navigationBarTitleText": "聊天记录" + } + } + ] } - // { - // "root": "TUIKit", - // "pages": [ - // { - // "path": "components/TUIConversation/index", - // "style": { - // "navigationBarTitleText": "腾讯云 IM绘画", - // "app-plus": { - // "titleNView": { - // "backButton": true // 显示返回按钮 - // } - // } - // } - // }, - // { - // "path": "components/TUIChat/index", - // "style": { - // "navigationBarTitleText": "腾讯云 IM", - // "app-plus": { - // "softinputMode": "adjustResize", - // "titleNView": { - // "buttons": [ - // { - // "type": "menu" - // } - // ] - // } - // }, - // "h5": { - // "titleNView": { - // "buttons": [] - // } - // } - // } - // }, - // // 集成 chat 组件,必须配置该路径: 视频播放 - // { - // "path": "components/TUIChat/video-play", - // "style": { - // "navigationBarTitleText": "腾讯云 IM1" - // } - // }, - // { - // "path": "components/TUIChat/web-view", - // "style": { - // "navigationBarTitleText": "腾讯云 IM2" - // } - // }, - // { - // "path": "components/TUIContact/index", - // "style": { - // "navigationBarTitleText": "腾讯云 IM3", - // "app-plus": { - // "titleNView": { - // "backButton": true // 显示返回按钮 - // } - // } - // } - // }, - // { - // "path": "components/TUIGroup/index", - // "style": { - // "navigationBarTitleText": "腾讯云 IM4", - // "app-plus": { - // "titleNView": { - // "backButton": true // 显示返回按钮 - // } - // } - // } - // }, - // { - // "path": "components/TUISearch/index", - // "style": { - // "navigationBarTitleText": "聊天记录" - // } - // } - // ] - // } ], "globalStyle": { "navigationBarTextStyle": "black", @@ -1082,15 +1066,14 @@ } }, "tabBar": { - "color" : "#999696", - "selectedColor" : "#FFFFFF", - "borderStyle" : "#1c1b1b", - "backgroundColor" : "#0e0d0d", - "fontSize" : "16px", - "list": [ - { - "pagePath" : "pages/tabbar/vlog/index", - "text" : "首页" + "color": "#999696", + "selectedColor": "#FFFFFF", + "borderStyle": "#1c1b1b", + "backgroundColor": "#0e0d0d", + "fontSize": "16px", + "list": [{ + "pagePath": "pages/tabbar/vlog/index", + "text": "首页" }, { "pagePath": "pages/tabbar/home/index", @@ -1105,10 +1088,10 @@ "text": "我的" } ], - "midButton" : { - "height" : "40px", - "iconWidth" : "40px", - "iconPath" : "static/img/douyin.png" + "midButton": { + "height": "40px", + "iconWidth": "40px", + "iconPath": "static/img/douyin.png" } }, // #todo 为什么要注释condition下代码? @@ -1123,4 +1106,4 @@ // "query": "" //启动参数,在页面的onLoad函数里面得到 // }] } -} +} \ No newline at end of file