智慧保安互联网APP
zengh
2022-06-21 4efeb31d5b4921d7e851c256009486ad86bc70e2
pages.json
@@ -2,8 +2,7 @@
   "easycom": {
      "^u-(.*)": "@/uview-ui/components/u-$1/u-$1.vue"
   },
   "pages": [ //pages数组中第一项表示应用启动页,参考:https://uniapp.dcloud.io/collocation/pages
      {
   "pages": [{
         "path": "pages/login/login-account",
         "style": {
            "navigationBarTitleText": "登录",
@@ -17,161 +16,396 @@
            "enablePullDownRefresh": false,
            "navigationStyle": "custom"
         }
      }, {
      },
      {
         "path": "pages/registerUser/registerUser",
         "name": "loging",
         "style": {
            "navigationBarTitleText": "注册账号",
            "navigationBarBackgroundColor": "#0BB9C8",
            "navigationBarTextStyle": "white"
            // "app-plus": {
            //    "animationType": "fade-in",
            //    "animationDuration": 300
            // }
         }
      },
      {
         "path": "pages/service/service",
         "style": {
            "navigationBarTitleText": "服务",
            "enablePullDownRefresh": false,
            "navigationStyle": "custom"
         }
      }, {
      },
      {
         "path": "pages/manage/manage",
         "style": {
            "navigationBarTitleText": "管理",
            "navigationBarTitleText": "工作台",
            "enablePullDownRefresh": false,
            "navigationStyle": "custom"
         }
      }, {
      },
      {
         "path": "pages/user/center",
         "style": {
            "navigationBarTitleText": "我的",
            "enablePullDownRefresh": false,
            "navigationStyle": "custom"
         }
      }, {
      },
      {
         "path": "pages/talking/talking",
         "style": {
            "navigationBarTitleText": "好友",
            "navigationBarTitleText": "聊天",
            "enablePullDownRefresh": false,
            "navigationStyle": "custom"
         }
      },  {
      },
      {
         "path": "pages/groupChat/groupChat",
         "style": {
            "navigationBarTitleText": "聊天室",
            "enablePullDownRefresh": false,
            "navigationStyle": "custom"
         }
      }, {
      },
      {
         "path": "pages/groupChat/chatingQZ",
         "style": {
            "navigationBarTitleText": "聊天室",
            "enablePullDownRefresh": false,
            "navigationStyle": "custom"
         }
      }, {
      },
      {
         "path": "pages/groupChat/chating",
         "style": {
            "navigationBarTitleText": "聊天室",
            "enablePullDownRefresh": false,
            "navigationStyle": "custom"
         }
      },  {
      },
      {
         "path": "pages/groupChat/friendrequest",
         "style": {
            "navigationStyle": "custom"
         }
      },
      {
         "path": "pages/groupChat/addFriend",
         "style": {
            "navigationStyle": "custom"
         }
      },
      {
         "path": "pages/securityStaff/exhibition",
         "style": {
            "navigationBarTitleText": "保安管理",
            "navigationBarBackgroundColor": "#0BB9C8",
            "navigationBarTextStyle": "white",
            "enablePullDownRefresh": true
         }
      },
      {
         "path": "pages/securityStaff/information",
         "style": {
            "navigationBarTitleText": "详细信息",
            "enablePullDownRefresh": false,
            "navigationStyle": "custom"
         }
      },
      {
         "path": "pages/company/company",
         "style": {
            "navigationBarTitleText": "服务单位",
            "enablePullDownRefresh": false,
            "navigationBarTitleText": "保安单位",
            "navigationBarBackgroundColor": "#0BB9C8",
            "navigationBarTextStyle": "white"
            "navigationBarTextStyle": "white",
            "enablePullDownRefresh": true
         }
      }, {
      },
      {
         "path": "pages/company/companyDetail",
         "style": {
            "navigationBarTitleText": "服务单位管理",
            "navigationBarTitleText": "保安单位管理",
            "enablePullDownRefresh": false,
            "navigationBarBackgroundColor": "#0BB9C8",
            "navigationBarTextStyle": "white"
         }
      },
      {
         "path": "pages/report/report",
         "style": {
            "navigationBarTitleText": "工作汇报",
            "navigationBarBackgroundColor": "#0BB9C8",
            "navigationBarTextStyle": "white",
            "navigationStyle": "custom",
            "enablePullDownRefresh": true
         }
      },
      {
         "path": "pages/report/initiate",
         "style": {
            "navigationBarTitleText": "发起汇报",
            "enablePullDownRefresh": false,
            "navigationBarBackgroundColor": "#0BB9C8",
            "navigationBarTextStyle": "white"
         }
      },
      {
         "path": "pages/report/sendDetail",
         "style": {
            "navigationBarTitleText": "发送汇报详情",
            "enablePullDownRefresh": false,
            "navigationBarBackgroundColor": "#0BB9C8",
            "navigationBarTextStyle": "white"
         }
      },
      {
         "path": "pages/report/receiveDetail",
         "style": {
            "navigationBarTitleText": "接收汇报详情",
            "enablePullDownRefresh": false,
            "navigationBarBackgroundColor": "#0BB9C8",
            "navigationBarTextStyle": "white"
         }
      },
      {
         "path": "pages/dispatch/dispatch",
         "style": {
            "navigationBarTitleText": "调度指令",
            "enablePullDownRefresh": true,
            "navigationBarBackgroundColor": "#0BB9C8",
            "navigationBarTextStyle": "white",
            "navigationStyle": "custom"
         }
      },
      {
         "path": "pages/dispatch/lookDetail",
         "style": {
            "navigationBarTitleText": "指令详情",
            "enablePullDownRefresh": false,
            "navigationBarBackgroundColor": "#0BB9C8",
            "navigationBarTextStyle": "white"
         }
      },
      {
         "path": "pages/dispatch/imgissue",
         "style": {
            "navigationBarTitleText": "指令下发",
            "enablePullDownRefresh": false,
            "navigationBarBackgroundColor": "#0BB9C8",
            "navigationBarTextStyle": "white"
         }
      },
      {
         "path": "pages/message/message",
         "style": {
            "navigationBarTitleText": "通知通告",
            "enablePullDownRefresh": true,
            "navigationBarBackgroundColor": "#0BB9C8",
            "navigationBarTextStyle": "white",
            "navigationStyle": "custom"
         }
      },
      {
         "path": "pages/message/messageDetail",
         "style": {
            "navigationBarTitleText": "通知通告详情",
            "enablePullDownRefresh": false,
            "navigationBarBackgroundColor": "#0BB9C8",
            "navigationBarTextStyle": "white"
         }
      },
      {
         "path": "pages/message/addMessage",
         "style": {
            "navigationBarTitleText": "发送通知",
            "enablePullDownRefresh": false,
            "navigationBarBackgroundColor": "#0BB9C8",
            "navigationBarTextStyle": "white"
         }
      },
      {
         "path": "pages/examine/examine",
         "style": {
            "navigationBarTitleText": "现场检查",
            "enablePullDownRefresh": true,
            "navigationBarBackgroundColor": "#0BB9C8",
            "navigationBarTextStyle": "white",
            "navigationStyle": "custom"
         }
      }, {
         "path": "pages/examine/unitDetail",
         "style": {
            "navigationBarTitleText": "单位检查详情",
            "enablePullDownRefresh": false,
            "navigationBarBackgroundColor": "#0BB9C8",
            "navigationBarTextStyle": "white"
         }
      }, {
         "path": "pages/examine/peopleDetail",
         "style": {
            "navigationBarTitleText": "保安检查详情",
            "enablePullDownRefresh": false,
            "navigationBarBackgroundColor": "#0BB9C8",
            "navigationBarTextStyle": "white"
         }
      }, {
         "path": "pages/examine/addunit",
         "style": {
            "navigationBarTitleText": "新增单位检查",
            "enablePullDownRefresh": false,
            "navigationBarBackgroundColor": "#0BB9C8",
            "navigationBarTextStyle": "white"
         }
      }, {
         "path": "pages/examine/addpeople",
         "style": {
            "navigationBarTitleText": "新增人员检查",
            "enablePullDownRefresh": false,
            "navigationBarBackgroundColor": "#0BB9C8",
            "navigationBarTextStyle": "white"
         }
      }, {
         "path": "pages/map/map",
         "style": {
            "navigationBarTitleText": "保安员位置",
            "enablePullDownRefresh": false,
            "navigationBarBackgroundColor": "#0BB9C8",
            "navigationBarTextStyle": "white"
         }
      },
      {
         "path": "pages/map/map",
         "name": "map",
         "style": {
            "navigationBarTitleText": "保安位置",
            "navigationBarBackgroundColor": "#0BB9C8",
            "navigationBarTextStyle": "white"
         }
      },
      {
         "path": "pages/user/profile",
         "style": {
            "navigationBarTitleText": "个人资料",
            "enablePullDownRefresh": false,
            "navigationStyle": "custom"
         }
      }, {
      },
      {
         "path": "pages/login/login-phone",
         "style": {
            "navigationBarTitleText": "手机登录",
            "enablePullDownRefresh": false,
            "navigationStyle": "custom"
         }
      }, {
      },
      {
         "path": "pages/login/login-account",
         "style": {
            "navigationBarTitleText": "账号登录",
            "enablePullDownRefresh": false,
            "navigationStyle": "custom"
         }
      }, {
      },
      {
         "path": "pages/system/setting",
         "style": {
            "navigationBarTitleText": "设置",
            "enablePullDownRefresh": false,
            "navigationStyle": "custom"
         }
      }, {
      },
      {
         "path": "pages/news/list",
         "style": {
            "navigationBarTitleText": "新闻动态",
            "enablePullDownRefresh": false,
            "navigationStyle": "custom"
         }
      }, {
      },
      {
         "path": "pages/news/detail",
         "style": {
            "navigationBarTitleText": "新闻详情页",
            "enablePullDownRefresh": false,
            "navigationStyle": "custom"
         }
      }, {
      },
      {
         "path": "pages/demo/demo",
         "style": {
            "navigationBarTitleText": "示例页",
            "enablePullDownRefresh": false,
            "navigationStyle": "custom"
         }
      }, {
      },
      {
         "path": "pages/demo/storage",
         "style": {
            "navigationBarTitleText": "storage测试页",
            "enablePullDownRefresh": false,
            "navigationStyle": "custom"
         }
      }, {
      },
      {
         "path": "pages/demo/vuex",
         "style": {
            "navigationBarTitleText": "vuex测试页",
            "enablePullDownRefresh": false,
            "navigationStyle": "custom"
         }
      }, {
      },
      {
         "path": "pages/demo/mock",
         "style": {
            "navigationBarTitleText": "mock测试页",
            "enablePullDownRefresh": false,
            "navigationStyle": "custom"
         }
      }, {
      },
      {
         "path": "pages/demo/request",
         "style": {
            "navigationBarTitleText": "request测试页",
            "enablePullDownRefresh": false,
            "navigationStyle": "custom"
         }
      }, {
      },
      {
         "path": "pages/demo/crud",
         "style": {
            "navigationBarTitleText": "crud测试页",
            "enablePullDownRefresh": false,
            "navigationStyle": "custom"
         }
      },
      {
         "path": "pages/videoCall/videoCall",
         "style": {
            "navigationBarTitleText": "视频通话",
            "enablePullDownRefresh": false,
            "navigationStyle": "custom"
            // "enablePullDownRefresh": false
         }
      }, {
         "path": "pages/groupChat/newGroup/newGroup",
         "style": {
            "navigationBarTitleText": "新建群组",
            "navigationBarBackgroundColor": "#0BB9C8",
            "navigationBarTextStyle": "white"
         }
      }, {
         "path": "pages/groupChat/chatMessage",
         "style": {
            "navigationBarTitleText": "聊天信息",
            "navigationBarBackgroundColor": "#0BB9C8",
            "navigationBarTextStyle": "white",
            "navigationStyle": "custom",
            "enablePullDownRefresh": false
         }
      }
   ],
@@ -180,6 +414,10 @@
      "navigationBarTitleText": "",
      "navigationBarBackgroundColor": "#fff",
      "backgroundColor": "#F7F7F7"
      // "app-plus": {
      //    "titleNView": true,
      //    "bounce": "none"
      // }
   },
   "tabBar": {
      "color": "#A6ABB5",
@@ -187,25 +425,37 @@
      "borderStyle": "white",
      "backgroundColor": "#ffffff",
      "list": [{
         "pagePath": "pages/home/home",
         "iconPath": "static/images/tabbar/home.png",
         "selectedIconPath": "static/images/tabbar/home_selected.png",
         "text": "首页"
      }, {
         "pagePath": "pages/groupChat/groupChat",
         "iconPath": "static/images/tabbar/demo.png",
         "selectedIconPath": "static/images/tabbar/demo_selected.png",
         "text": "好友"
      }, {
         "pagePath": "pages/manage/manage",
         "iconPath": "static/images/tabbar/manage.png",
         "selectedIconPath": "static/images/tabbar/manage_selected.png",
         "text": "管理"
      }, {
         "pagePath": "pages/user/center",
         "iconPath": "static/images/tabbar/user.png",
         "selectedIconPath": "static/images/tabbar/user_selected.png",
         "text": "我的"
            "pagePath": "pages/home/home",
            "iconPath": "static/images/tabbar/home.png",
            "selectedIconPath": "static/images/tabbar/home_selected.png",
            "text": "首页"
         },
         {
            "pagePath": "pages/groupChat/groupChat",
            "iconPath": "static/images/tabbar/call.png",
            "selectedIconPath": "static/images/tabbar/select-call.png",
            "text": "聊天"
         },
         {
            "pagePath": "pages/manage/manage",
            "text": "工作台",
            "iconPath": "static/images/tabbar/job.png",
            "selectedIconPath": "static/images/tabbar/select-job.png"
         },
         {
            "pagePath": "pages/user/center",
            "iconPath": "static/images/tabbar/user.png",
            "selectedIconPath": "static/images/tabbar/user_selected.png",
            "text": "我的"
         }
      ]
   },
   "condition": { //模式配置,仅开发期间生效
      "current": 0, //当前激活的模式(list 的索引项)
      "list": [{
         "name": "", //模式名称
         "path": "", //启动页面,必选
         "query": "" //启动参数,在页面的onLoad函数里面得到
      }]
   }
}