{ "pages": [ { "path": "pages/index/index", "style": { "navigationStyle":"custom" } } ,{ "path": "uni_modules/rt-uni-update/components/rt-uni-update/rt-uni-update", "style": { "app-plus": { "animationDuration": 200, "animationType": "fade-in", "background": "transparent", "backgroundColorTop": "transparent", "popGesture": "none", "scrollIndicator": false, "titleNView": false }, "disableScroll": true } }, { "path" : "pages/player/player", "style" : { } },{ "path" : "pages/swiper/swiper", "style" : { "navigationStyle":"custom" } },{ "path" : "pages/transition/transition", "style" : { "navigationStyle":"custom" } } ,{ "path" : "pages/search/search", "style" : { "navigationStyle":"custom" } } ], "easycom": { "autoscan": true, "custom": { "unitv-(.*)": "@/components/unitv-$1/unitv-$1.vue" } }, "globalStyle": { "navigationStyle":"custom", "navigationBarTextStyle": "black", "navigationBarTitleText": "", "navigationBarBackgroundColor": "#F8F8F8", "backgroundColor": "#F8F8F8", "rpxCalcMaxDeviceWidth": 1920, // rpx 计算所支持的最大设备宽度,单位 px,默认值为 960 "rpxCalcBaseDeviceWidth": 750 // rpx 计算使用的基准设备宽度,设备实际宽度超出 rpx 计算所支持的最大设备宽度时将按基准宽度计算,单位 px,默认值为 375 }, "condition" : { //模式配置,仅开发期间生效 "current": 0, //当前激活的模式(list 的索引项) "list": [ { "name": "主页", //模式名称 "path": "pages/index/index", //启动页面,必选 "query": "" //启动参数,在页面的onLoad函数里面得到 }, { "name": "播放页", //模式名称 "path": "pages/player/player", //启动页面,必选 "query": "" //启动参数,在页面的onLoad函数里面得到 }, { "name": "播放页2", //模式名称 "path": "pages/swiper/swiper", //启动页面,必选 "query": "" //启动参数,在页面的onLoad函数里面得到 }, { "name": "播放页3", //模式名称 "path": "pages/transition/transition", //启动页面,必选 "query": "" //启动参数,在页面的onLoad函数里面得到 } ] } }