{ "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages { "path": "pages/Index/index", "style": { "navigationBarTitleText": "首页" } }, { "path": "pages/UserDetail/index", "style": { "navigationBarTitleText": "用户信息" } }, { "path": "pages/ChatDetail/index", "style": { "navigationBarTitleText": "聊天列表" } }, { "path": "pages/UserCoupons/index", "style": { "navigationBarTitleText": "用户优惠券" } }, { "path": "pages/Addr/index", "style": { "navigationBarTitleText": "地址簿" } }, { "path": "pages/AddrDetail/index", "style": { "navigationBarTitleText": "地址详情" } }, { "path": "pages/Card/index", "style": { "navigationBarTitleText": "付款权益卡" } }, { "path": "pages/CardDetail/index", "style": { "navigationBarTitleText": "付款权益卡详情" } }, { "path": "pages/Pet/index", "style": { "navigationBarTitleText": "萌宠画册" } }, { "path": "pages/Draw/index", "style": { "navigationBarTitleText": "惊喜抽抽抽" } }, { "path": "pages/PetDetail/index", "style": { "navigationBarTitleText": "萌宠详情" } }, { "path": "pages/FeedLog/index", "style": { "navigationBarTitleText": "喂养档案" } }, { "path": "pages/OrderPage/index", "style": { "navigationBarTitleText": "预约服务" } }, { "path": "pages/Login/index", "style": { "navigationBarTitleText": "登录" } }, { "path": "pages/Pet/create", "style": { "navigationBarTitleText": "创建修改萌宠" } }, { "path": "pages/UserOrderPage/index", "style": { "navigationBarTitleText": "我的订单" } }, { "path": "pages/OrderDetail/index", "style": { "navigationBarTitleText": "订单详情" } }, { "path": "pages/PrivacyPolicy/PrivacyPolicy", "style": { "navigationBarTitleText": "", "enablePullDownRefresh": true } }, { "path": "pages/AboutUs/AboutUs", "style": { "navigationBarTitleText": "", "enablePullDownRefresh": true } } ], "globalStyle": { "navigationBarTextStyle": "black", "navigationBarTitleText": "uni-app", "navigationBarBackgroundColor": "#F8F8F8", "backgroundColor": "#F8F8F8", "navigationStyle": "custom" }, "easycom": { "custom": { "^u-(.*)": "uview-plus/components/u-$1/u-$1.vue" } }, "uniIdRouter": {}, "condition": { //模式配置,仅开发期间生效 "current": 0, //当前激活的模式(list 的索引项) "list": [ { "name": "", //模式名称 "path": "", //启动页面,必选 "query": "" //启动参数,在页面的onLoad函数里面得到 } ] } }