| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798 |
- {
- "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
- {
- "path": "pages/login/login",
- "style": {
- "enablePullDownRefresh": true, //下拉刷新
- "navigationBarTitleText": "登录页",
- "app-plus": {
- "titleNView": false //禁用原生导航栏
- }
- }
- },
- {
- "path": "pages/myTask/myTask",
- "style": {
- "navigationBarTitleText": "我的任务"
- }
- },
- {
- "path": "pages/adressBook/adressBook",
- "style": {
- "navigationBarTitleText": "通讯录"
- }
- },
- {
- "path": "pages/setting/setting",
- "style": {
- "navigationBarTitleText": "我的"
- }
- },
- {
- "path": "pages/workOrderList/workOrderList",
- "style": {
- "navigationBarTitleText": "工单列表",
- "enablePullDownRefresh": true
- }
- },
- {
- "path": "pages/workOrderDetail/workOrderDetail",
- "style": {
- "navigationBarTitleText": "工单详情"
- }
- },
- {
- "path": "pages/viewWorkOrder/viewWorkOrder",
- "style": {
- "navigationBarTitleText": "查看工单"
- }
- },
- {
- "path": "pages/editWorkOrder/editWorkOrder",
- "style": {
- "navigationBarTitleText": "编辑工单"
- }
- }
- ],
- "globalStyle": {
- "navigationBarTextStyle": "white",
- "navigationBarTitleText": "全局",
- "navigationBarBackgroundColor": "#cd0000",
- "backgroundColor": "#cd0000"
- },
- "tabBar":{
- "color":"#7e837d",
- "selectedColor":"#0066ec",
- "backgroundColor":"#FFFFFF",
- "borderStyle":"black",
- "list":[{
- "pagePath":"pages/myTask/myTask",
- "iconPath":"./static/task.png",
- "selectedIconPath":"./static/task_actice.png",
- "text":"我的任务"
- },
- {
- "pagePath":"pages/adressBook/adressBook",
- "iconPath":"./static/addressBook.png",
- "selectedIconPath":"./static/addressBook_actuve.png",
- "text":"通讯录"
- },
- {
- "pagePath":"pages/setting/setting",
- "iconPath":"./static/person.png",
- "selectedIconPath":"./static/person_active.png",
- "text":"我的"
- }]
- },
- "condition" : { //模式配置,仅开发期间生效
- "current": 0, //当前激活的模式(list 的索引项)
- "list": [
- {
- "name": "", //模式名称
- "path": "", //启动页面,必选
- "query": "" //启动参数,在页面的onLoad函数里面得到
- }
- ]
- }
- }
|