{ // "condition": { //模式配置,仅开发期间生效 // "current": 0, //当前激活的模式(list 的索引项) // "list": [{ // "name": "test", //模式名称 // "path": "pages/componentsB/dropdown/dropdown", //启动页面,必选 // "query": "" //启动参数,在页面的onLoad函数里面得到 // }] // }, //加入 easycom,这样不需要引入组件,注册组件了 "easycom": { "autoscan" : true, "custom" :{ "^u-(.*)": "@/uni_modules/uview-ui/components/u-$1/u-$1.vue" } }, "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages { "path" : "pages/main/main", "style" : { "navigationBarTitleText": "", "enablePullDownRefresh": false } } ], "subPackages": [], "preloadRule": { }, "globalStyle": { "navigationBarTextStyle": "black", "navigationBarTitleText": "uView", "navigationBarBackgroundColor": "#FFFFFF", "backgroundColor": "#FFFFFF", "rpxCalcMaxDeviceWidth": 1080, "rpxCalcBaseDeviceWidth":375, "rpxCalcIncludeWidth":750, "navigationStyle":"custom" } }