{ "easycom": { // 注意一定要放在custom里,否则无效,https://ask.dcloud.net.cn/question/131175 "custom": { "^u--(.*)": "uview-plus/components/u-$1/u-$1.vue", "^up-(.*)": "uview-plus/components/u-$1/u-$1.vue", "^u-([^-].*)": "uview-plus/components/u-$1/u-$1.vue" } }, "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages { "path": "pages/index/index", "style": { } }, { "path": "pages/order/index", "style": { "navigationStyle": "custom", // #ifdef MP-ALIPAY "enablePullDownRefresh": true // #endif } }, { "path": "pages/mine/index", "style": { "navigationStyle": "custom" } }, { "path": "pages/product/index", "style": { "navigationStyle": "custom" } }, { "path": "pages/memory/index", "style": { "navigationStyle": "custom" } }, { "path": "pages/mbti/index", "style": { "navigationStyle": "custom" } }, { "path": "pages/login/index", "style": { "navigationBarTitleText": "登录" } }, { "path": "pages/login/register", "style": { "navigationBarTitleText": "" } }, { "path": "pages/login/changePassword", "style": { "navigationBarTitleText": "" } }, { "path": "pages/control/index", "style": { "navigationStyle": "custom" } } ], "globalStyle": { "navigationBarTextStyle": "black", "navigationBarTitleText": "话话糖", "navigationBarBackgroundColor": "#fff", "backgroundColor": "#F2F3F9" }, "uniIdRouter": {}, "tabBar": { "color": "#999999", "selectedColor": "#AB002D", "custom": true, "borderStyle": "black", "backgroundColor": "#ffffff", "list": [ {"pagePath": "pages/index/index"}, {"pagePath": "pages/memory/index"}, {"pagePath": "pages/order/index"}, {"pagePath": "pages/mbti/index"}, {"pagePath": "pages/mine/index"} ] } }