{ "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages { "path": "pages/home/home", "style": { // "navigationStyle": "custom", "backgroundColorTop": "#ff5d5b", "backgroundColorBottom": "#F8F8F8", "app-plus": { "titleNView": { "searchInput": { "backgroundColor": "#fff", "borderRadius": "16px", //输入框圆角 "placeholder": "粘贴宝贝标题", "disabled": true //disable时点击输入框不置焦,可以跳到新页面搜索 }, "buttons": [{ "text": "\ue847", "fontSrc": "/static/uni.ttf", "width": "auto", "fontSize":"26px" }] } } } }, { "path": "pages/order/order", "style": { "navigationBarTitleText": "订单管理", "enablePullDownRefresh": false } }, { "path": "pages/order/back-order", "style": { "navigationBarTitleText": "待发货", "enablePullDownRefresh": false } }, { "path": "pages/user/user-center", "style": { "navigationBarTitleText": "我的", "enablePullDownRefresh": false, "backgroundColorTop": "#ff5d5b", "app-plus": { "titleNView": { "buttons": [{ "text": "\ue532", "fontSrc": "/static/uni.ttf", "width": "auto", "fontSize": "26px" }, { "text": "\ue847", "fontSrc": "/static/uni.ttf", "width": "auto", "fontSize": "26px" } ] } } } }, { "path": "pages/shopping-cart/shopping-cart", "style": { "navigationBarTitleText": "购物车", "enablePullDownRefresh": false } }, { "path": "pages/user/login", "style": { "navigationBarTitleText": "登录", "enablePullDownRefresh": false, "navigationBarBackgroundColor": "#ff5d5b", "backgroundColor": "#ff5d5b" } }, { "path": "pages/user/find-pass", "style": { "navigationBarTitleText": "找回密码", "enablePullDownRefresh": false, "backgroundColor": "#ff5d5b" } }, { "path": "pages/register/step1", "style": { "navigationBarTitleText": "第一步", "enablePullDownRefresh": false, "backgroundColor": "#ff5d5b" } }, { "path": "pages/register/step2", "style": { "navigationBarTitleText": "第二步", "enablePullDownRefresh": false, "backgroundColor": "#ff5d5b" } }, { "path": "pages/register/step3", "style": { "navigationBarTitleText": "注册", "enablePullDownRefresh": false, "backgroundColor": "#ff5d5b" } }, { "path": "pages/user/simple-article", "style": { "navigationBarTitleText": "", "enablePullDownRefresh": false } }, { "path": "pages/user/vcode-login", "style": { "navigationBarTitleText": "登录", "enablePullDownRefresh": false, "navigationBarBackgroundColor": "#ff5d5b", "backgroundColor": "#ff5d5b" } } ,{ "path" : "pages/user/setting", "style" : { "navigationBarTitleText": "设置", "enablePullDownRefresh": false, "backgroundColorTop": "#ff5d5b" } } ,{ "path" : "pages/message/message", "style" : { "navigationBarTitleText": "消息", "enablePullDownRefresh": false } } ,{ "path" : "pages/product/product-details", "style" : { "navigationBarTitleText": "订单详情", "enablePullDownRefresh": false } } ,{ "path" : "pages/order/order-details", "style" : { "navigationBarTitleText": "订单详情", "enablePullDownRefresh": false } } ,{ "path" : "pages/user/notice", "style" : { "navigationBarTitleText": "官方公告", "enablePullDownRefresh": false } } ,{ "path" : "pages/user/strategy", "style" : { "navigationBarTitleText": "新手攻略", "enablePullDownRefresh": false } } ,{ "path" : "pages/user/problem", "style" : { "navigationBarTitleText": "常见问题", "enablePullDownRefresh": false } } ,{ "path" : "pages/user/kefu", "style" : { "navigationBarTitleText": "联系客服", "backgroundColorTop": "#ff5d5b", "enablePullDownRefresh": false } } ], "globalStyle": { "navigationBarTextStyle": "white", "navigationBarTitleText": "省心直供", "navigationBarBackgroundColor": "#ff5d5b", "backgroundColor": "#F8F8F8" }, "tabBar": { "color": "#7A7E83", "selectedColor": "#ff5d5b", "borderStyle": "black", "backgroundColor": "#ffffff", "midButton": { "iconPath": "static/images/camera.png", "iconWidth": "40px", "height": "45px" }, "list": [{ "pagePath": "pages/home/home", "iconPath": "static/images/home.png", "selectedIconPath": "static/images/home_selected.png", "text": "首页" }, { "pagePath": "pages/order/back-order", "iconPath": "static/images/qiang.png", "selectedIconPath": "static/images/qiang_selected.png", "text": "待发货" }, { "pagePath": "pages/shopping-cart/shopping-cart", "iconPath": "static/images/kan.png", "selectedIconPath": "static/images/kan_selected.png", "text": "购物车" }, { "pagePath": "pages/user/user-center", "iconPath": "static/images/user.png", "selectedIconPath": "static/images/user_selected.png", "text": "我的" }] }, "condition": { //模式配置,仅开发期间生效 "current": 0, //当前激活的模式(list 的索引项) "list": [{ "name": "", //模式名称 "path": "", //启动页面,必选 "query": "" //启动参数,在页面的onLoad函数里面得到 }] } }