{ "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages { "path": "pages/home/home", "style": { // "navigationStyle": "custom", "backgroundColorTop": "#ff5d5b", "backgroundColorBottom": "#F8F8F8", // "navigationBarTitleText": "", "app-plus": { "titleNView": { // "backgroundImage": "./static/images/search.png", "searchInput": { "backgroundColor": "rgba(255,255,255,1)", "borderRadius": "16px", //输入框圆角 "placeholder": "粘贴宝贝标题", "disabled": true //disable时点击输入框不置焦,可以跳到新页面搜索 }, "buttons": [{ "text": "\ue847", "fontSrc": "/static/uni.ttf", "width": "auto", "fontSize": "22px" }] } } } }, { "path": "pages/index/index", "style": { "bounce": "none", "navigationStyle": "custom" } }, { "path": "pages/order/order", "style": { "navigationBarTitleText": "订单管理", "enablePullDownRefresh": false } }, { "path": "pages/order/back-order", "style": { "navigationBarTitleText": "待收货", "enablePullDownRefresh": true } }, { "path": "pages/user/user-center", "style": { "navigationBarTitleText": "我的", "enablePullDownRefresh": false, "backgroundColorTop": "#ff5d5b", "app-plus": { "titleNView": { "buttons": [{ "text": "\ue532", "fontSrc": "/static/uni.ttf", "width": "auto", "fontSize": "24px" }, { "text": "\ue847", "fontSrc": "/static/uni.ttf", "width": "auto", "fontSize": "22px" } ] } } } }, { "path": "pages/shopping-cart/shopping-cart", "style": { "navigationBarTitleText": "购物车", "enablePullDownRefresh": false } }, { "path": "pages/user/login", "style": { "navigationBarTitleText": "登录", "enablePullDownRefresh": false, "navigationBarBackgroundColor": "#ff5d5b", "backgroundColor": "#ff5d5b", "app-plus": { "popGesture": "none", "titleNView": { "autoBackButton": false } } } }, { "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/product/my-product", "style": { "navigationBarTitleText": "我的商品", "enablePullDownRefresh": true } }, { "path": "pages/product/my-product-tabbar", "style": { "navigationBarTitleText": "我的商品", "enablePullDownRefresh": true } }, { "path": "pages/product/product-edit", "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 } }, { "path": "pages/user/feedback", "style": { "navigationBarTitleText": "意见反馈", "enablePullDownRefresh": false, "backgroundColorTop": "#ff5d5b" } }, { "path": "pages/home/camera", "style": { "navigationBarTitleText": "扫一扫", "enablePullDownRefresh": false } }, { "path": "pages/order/cashier", "style": { "navigationBarTitleText": "收银台", "enablePullDownRefresh": false } }, { "path": "pages/user/withdraw", "style": { "navigationBarTitleText": "提现", "enablePullDownRefresh": false } }, { "path": "pages/user/bind-alipay", "style": { "navigationBarTitleText": "绑定支付宝", "enablePullDownRefresh": false } }, { "path": "pages/user/nickname", "style": { "navigationBarTitleText": "修改昵称", "enablePullDownRefresh": false } }, { "path": "pages/user/collection", "style": { "navigationBarTitleText": "我的收藏", "enablePullDownRefresh": true } }, { "path": "pages/user/safe-pass", "style": { "navigationBarTitleText": "设置", "enablePullDownRefresh": false, "backgroundColorTop": "#ff5d5b" } }, { "path": "pages/user/reset-pass", "style": { "navigationBarTitleText": "设置", "enablePullDownRefresh": false } }, { "path": "pages/user/money-log", "style": { "navigationBarTitleText": "账单明细", "enablePullDownRefresh": false } }, { "path": "pages/home/search", "style": { "navigationBarTitleText": "", "enablePullDownRefresh": false, "app-plus": { "titleNView": { // "backgroundImage": "./static/images/search.png", "searchInput": { "backgroundColor": "rgba(255,255,255,1)", "borderRadius": "16px", //输入框圆角 "placeholder": "粘贴宝贝标题", "disabled": false //disable时点击输入框不置焦,可以跳到新页面搜索 }, "buttons": [{ "text": "搜索", "width": "auto", "fontSize": "14px" }] } } } }, { "path": "pages/user/agent", "style": { "navigationBarTitleText": "代理会员中心", "enablePullDownRefresh": false } }, { "path": "pages/order/deposit", "style": { "navigationBarTitleText": "缴纳保证金", "enablePullDownRefresh": false } } ,{ "path" : "pages/user/user-profit", "style" : { "navigationBarTitleText": "收益", "enablePullDownRefresh": false } } ,{ "path" : "pages/user/invitation-list", "style" : { "navigationBarTitleText": "粉丝", "enablePullDownRefresh": false } } ,{ "path" : "pages/user/invite", "style" : { "navigationBarTitleText": "邀请", "enablePullDownRefresh": false } } ], "globalStyle": { "navigationBarTextStyle": "white", "navigationBarTitleText": "省心直供", "navigationBarBackgroundColor": "#ff5d5b", "backgroundColor": "#F8F8F8" }, "tabBar": { "color": "#7A7E83", "selectedColor": "#ff5d5b", "borderStyle": "black", "backgroundColor": "#ffffff", "height": "44px", "iconWidth": "20px", "midButton": { "iconPath": "static/images/camera.png", "iconWidth": "36px", "height": "40px" }, "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函数里面得到 }] } }