{ "easycom": { "^u-(.*)": "@/uview-ui/components/u-$1/u-$1.vue" }, "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages { "path": "pages/login/index", "style": { "navigationBarTitleText": "", "navigationStyle": "custom" } }, { "path": "pages/home/home", "style": { "navigationBarTitleText": "首页", "enablePullDownRefresh": false, "navigationStyle": "custom" } }, { "path": "pages/component-page/index", "style": { "navigationBarTitleText": "组件", "enablePullDownRefresh": false } },{ "path": "pages/component-page/crud/list", "style": { "navigationBarTitleText": "列表", "navigationStyle": "custom" } },{ "path": "pages/component-page/crud/detail", "style": { "navigationBarTitleText": "详细", "enablePullDownRefresh": false } },{ "path": "pages/component-page/crud/form", "style": { "navigationBarTitleText": "表单", "enablePullDownRefresh": false } },{ "path": "pages/personal/personal", "style": { "navigationBarTitleText": "个人中心", "enablePullDownRefresh": false } } ,{ "path" : "pages/workflowTask/index", "style" : { "navigationBarTitleText": "", "navigationStyle": "custom" } } ,{ "path" : "pages/workflowTask/webviewPages/dealTask", "style" : { "navigationBarTitleText": "", "enablePullDownRefresh": false, "navigationStyle": "custom" } } ,{ "path" : "pages/workflowTask/webviewPages/startFlow", "style" : { "navigationBarTitleText": "", "enablePullDownRefresh": false, "navigationStyle": "custom" } } ,{ "path" : "pages/workflowTask/webviewPages/flowDiagram", "style" : { "navigationBarTitleText": "", "enablePullDownRefresh": false } } ], "tabBar": { "color": "#606266", "selectedColor": "#19be6b", "borderStyle": "black", "backgroundColor": "#ffffff", "list": [{ "pagePath": "pages/home/home", "iconPath": "static/images/home.png", "selectedIconPath": "static/images/home_selected.png", "text": "首页" },{ "pagePath": "pages/component-page/index", "iconPath": "static/images/component.png", "selectedIconPath": "static/images/component_selected.png", "text": "组件" }, { "pagePath": "pages/personal/personal", "iconPath": "static/images/personal.png", "selectedIconPath": "static/images/personal_selected.png", "text": "我的" }] }, "globalStyle": { "navigationBarTextStyle": "black", "navigationBarTitleText": "uni-app", "navigationBarBackgroundColor": "#F8F8F8", "backgroundColor": "#F8F8F8" }, "condition": { //模式配置,仅开发期间生效 "current": 0, //当前激活的模式(list 的索引项) "list": [{ "name": "", //模式名称 "path": "", //启动页面,必选 "query": "" //启动参数,在页面的onLoad函数里面得到 }] } }