{ "easycom": { "autoscan": true, // 注意一定要放在custom里,否则无效,https://ask.dcloud.net.cn/question/131175 "custom": { "^u--(.*)": "@/uni_modules/uview-plus/components/u-$1/u-$1.vue", "^up-(.*)": "@/uni_modules/uview-plus/components/u-$1/u-$1.vue", "^u-([^-].*)": "@/uni_modules/uview-plus/components/u-$1/u-$1.vue" } }, "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages { "path": "pages/home/home", "style": { "navigationBarTitleText": "", "enablePullDownRefresh": false, "navigationStyle": "custom", "mp-alipay": { "transparentTitle": "always", "titlePenetrate": "YES" } } }, { "path": "pages/index/index", "style": { "navigationBarTitleText": "", "navigationStyle": "custom", "mp-alipay": { "transparentTitle": "always", "titlePenetrate": "YES" } } }, { "path": "pages/mine/mine", "style": { "navigationBarTitleText": "", "enablePullDownRefresh": false, "navigationStyle": "custom", "mp-alipay": { "transparentTitle": "always", "titlePenetrate": "YES" } } }, { "path": "pages/order/order", "style": { "navigationBarTitleText": "", "enablePullDownRefresh": false, "navigationStyle": "custom", "mp-alipay": { "transparentTitle": "always", "titlePenetrate": "YES" } } }, { "path": "pages/sweep/sweep", "style": { "navigationBarTitleText": "扫码充电", "navigationStyle": "custom", "mp-alipay": { "transparentTitle": "always", "titlePenetrate": "YES" } } }, { "path": "pages/order/detail", "style": { "navigationBarTitleText": "" } }, { "path": "pages/home/detail", "style": { "navigationBarTitleText": "电站详情", "navigationStyle": "custom", "mp-alipay": { "transparentTitle": "always", "titlePenetrate": "YES" } } }, { "path": "pages/login/login", "style": { "navigationBarTitleText": "", "navigationStyle": "custom", "mp-alipay": { "transparentTitle": "always", "titlePenetrate": "YES" } } }, { "path": "pages/home/star", "style": { "navigationBarTitleText": "开始充电" } }, { "path": "pages/mine/earnings", "style": { "navigationBarTitleText": "收益" } }, { "path": "pages/mine/sett", "style": { "navigationBarTitleText": "" } }, { "path": "pages/mine/incomeList", "style": { "navigationBarTitleText": "余额明细" } }, { "path": "pages/mine/card", "style": { "navigationBarTitleText": "我的电卡" } }, { "path": "pages/mine/cardList", "style": { "navigationBarTitleText": "电卡记录" } }, { "path": "pages/money/recharge", "style": { "navigationBarTitleText": "充值" } }, { "path": "pages/agreement/agreement", "style": { "navigationBarTitleText": "" } } ], "subPackages": [{ "root": "pageOrder", "pages": [{ "path": "recharge/recharge", "style": { "navigationBarTitleText": "充电中", "navigationBarBackgroundColor": "#000", "navigationBarTextStyle": "white", "mp-alipay": { "transparentTitle": "always", "titlePenetrate": "YES" } } }] }, { "root": "pageMake", "pages": [{ "path": "invoice/invoice", "style": { "navigationBarTitleText": "开票记录" } }, { "path": "invoice/applyFor", "style": { "navigationBarTitleText": "申请开票" } }, { "path": "invoice/makeInvoice", "style": { "navigationBarTitleText": "申请开票" } }, { "path": "invoice/applyForDay", "style": { "navigationBarTitleText": "申请开票" } }, { "path": "refund/refund", "style": { "navigationBarTitleText": "退款申请" } } ] }], "globalStyle": { "navigationBarTextStyle": "black", "navigationBarTitleText": "", "navigationBarBackgroundColor": "#F8F8F8", "backgroundColor": "#F8F8F8" }, "uniIdRouter": {}, "tabBar": { "color": "#999999", "selectedColor": "#999999", "borderStyle": "black", "backgroundColor": "#ffffff", "list": [{ "pagePath": "pages/home/home", "text": "首页" }, { "pagePath": "pages/index/index", "text": "地图" }, { "pagePath": "pages/sweep/sweep", "text": "扫码充电" }, { "pagePath": "pages/order/order", "text": "订单" }, { "pagePath": "pages/mine/mine", "text": "我的" }] } }