{ "easycom": { "autoscan": true, "custom": { "^p-(.*)": "@/peach/components/p-$1/p-$1.vue", "^pb-(.*)": "@/peach/ui/pb-$1/pb-$1.vue" } }, "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages { "path": "pages/index/redirect" }, { "path": "pages/order/list", "style": { "navigationBarTitleText": "订单" }, "meta": { "auth": true } }, { "path": "pages/index/my", "style": { "navigationBarTitleText": "我的" }, "meta": { "auth": false } }, { "path": "pages/index/icons", "style": { "navigationBarTitleText": "ICONS" }, "meta": { "auth": false } }, { "path": "pages/index/index", "style": { "navigationBarTitleText": "首页" }, "meta": { "auth": true } }, { "path": "pages/index/login", "style": { "navigationBarTitleText": "登录" }, "meta": { "auth": false } }, { "path": "pages/index/product", "style": { "navigationBarTitleText": "产品" }, "meta": { "auth": false } } ], "subPackages": [ { "root": "pages/public", "pages": [ { "path": "error", "style": { "navigationBarTitleText": "错误页面" } }, { "path": "setting", "style": { "navigationBarTitleText": "系统设置" } }, { "path": "richtext", "style": { "navigationBarTitleText": "富文本" } }, { "path": "faq", "style": { "navigationBarTitleText": "常见问题" } }, { "path": "webview", "style": { "navigationBarTitleText": "" } } ] }, { "root": "pages/user", "pages": [ { "path": "wallet/money", "style": { "navigationBarTitleText": "余额" }, "meta": { "auth": false } }, { "path": "wallet/withdraw", "style": { "navigationBarTitleText": "提现" }, "meta": { "auth": true } }, { "path": "point/buy", "style": { "navigationBarTitleText": "购买积分" }, "meta": { "auth": true } }, { "path": "point/share", "style": { "navigationBarTitleText": "分发积分" }, "meta": { "auth": true } }, { "path": "point/loglist", "style": { "navigationBarTitleText": "历史积分" }, "meta": { "auth": true } } ] }, { "root": "pages/product", "pages": [ { "path": "manageGoods", "style": { "navigationBarTitleText": "商品管理" }, "meta": { "auth": false } } ] } ], "tabBar": { "list": [ { "pagePath": "pages/index/index" }, { "pagePath": "pages/index/product" }, { "pagePath": "pages/order/list" }, { "pagePath": "pages/index/my" }, { "pagePath": "pages/index/icons" } ] }, "globalStyle": { "navigationBarTextStyle": "black", "navigationBarTitleText": "uni-app", "navigationBarBackgroundColor": "#F8F8F8", "backgroundColor": "#F8F8F8", "navigationStyle": "custom" }, "uniIdRouter": {} }