app-config-service.js 8.7 KB

12345678
  1. var isReady=false;var onReadyCallbacks=[];
  2. var isServiceReady=false;var onServiceReadyCallbacks=[];
  3. var __uniConfig = {"pages":["pages/start/start","pages/my/index","pages/index/index","pages/login/login","pages/response/index","pages/response/video","pages/response/details","pages/supervise/index","pages/my/myinfo","pages/my/password","pages/my/monitorlog","pages/my/addcont","pages/my/version","pages/my/mymonit","pages/my/mtmonitdetails","pages/my/monitorlogdata","pages/index/harmfultask","pages/index/clockDetail","pages/index/details","pages/index/taskEdit","pages/supervise/supetask","pages/supervise/submitsupe","pages/insectpest/insectpest","pages/insectpest/baselist","pages/addressList/index","pages/my/map","pages/my/warnList","pages/my/formRecord/fieldSurveys","pages/my/formRecord/samplePlot","pages/my/formRecord/trapRecord"],"window":{"navigationBarTextStyle":"black","navigationBarTitleText":"","navigationBarBackgroundColor":"#ffffff","backgroundColor":"#ffffff"},"tabBar":{"color":"#cdcdcd","selectedColor":"#409eff","borderStyle":"#e3e3e3","backgroundColor":"#fff","list":[{"pagePath":"pages/index/index","iconPath":"static/tab/home.png","selectedIconPath":"static/tab/home-active.png","text":"任务"},{"pagePath":"pages/supervise/index","iconPath":"static/tab/supervise.png","selectedIconPath":"static/tab/supervise-active.png","text":"监督"},{"pagePath":"pages/response/index","iconPath":"static/tab/info.png","selectedIconPath":"static/tab/info-active.png","text":"应答"},{"pagePath":"pages/my/index","iconPath":"static/tab/profile.png","selectedIconPath":"static/tab/profile-active.png","text":"我的"}]},"darkmode":false,"nvueCompiler":"uni-app","nvueStyleCompiler":"uni-app","renderer":"auto","splashscreen":{"alwaysShowBeforeRender":true,"autoclose":false},"appname":"智网监测","compilerVersion":"3.7.11","entryPagePath":"pages/start/start","networkTimeout":{"request":60000,"connectSocket":60000,"uploadFile":60000,"downloadFile":60000}};
  4. var __uniRoutes = [{"path":"/pages/start/start","meta":{"isQuit":true},"window":{"navigationBarTitleText":"","enablePullDownRefresh":false,"navigationStyle":"custom"}},{"path":"/pages/my/index","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationBarTitleText":"","navigationStyle":"custom"}},{"path":"/pages/index/index","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationBarTitleText":"任务","navigationBarBackgroundColor":"#ffffff","enablePullDownRefresh":true,"titleNView":{"splitLine":{"color":"#e3e3e3","height":"1px"}}}},{"path":"/pages/login/login","meta":{},"window":{"navigationBarTitleText":"","navigationStyle":"custom"}},{"path":"/pages/response/index","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationBarTitleText":"消息","navigationStyle":"custom","enablePullDownRefresh":true}},{"path":"/pages/response/video","meta":{"isNVue":true},"window":{"navigationBarTitleText":"视频通话","navigationBarBackgroundColor":"#ffffff","enablePullDownRefresh":false,"navigationStyle":"custom"}},{"path":"/pages/response/details","meta":{},"window":{"navigationBarTitleText":"应答中心详情","navigationStyle":"custom","navigationBarBackgroundColor":"#FFFFFF","enablePullDownRefresh":false,"softinputmode":"adjustResize","popGesture":"none"}},{"path":"/pages/supervise/index","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationBarTitleText":"监督","navigationBarBackgroundColor":"#FFFFFF","enablePullDownRefresh":true,"titleNView":{"splitLine":{"color":"#e3e3e3","height":"1px"}}}},{"path":"/pages/my/myinfo","meta":{},"window":{"navigationBarTitleText":"个人中心","enablePullDownRefresh":false,"navigationBarBackgroundColor":"#FFFFFF","popGesture":"none"}},{"path":"/pages/my/password","meta":{},"window":{"navigationBarTitleText":"修改密码","enablePullDownRefresh":false,"navigationBarBackgroundColor":"#ffffff"}},{"path":"/pages/my/monitorlog","meta":{},"window":{"navigationBarTitleText":"监测日志","enablePullDownRefresh":true,"navigationBarBackgroundColor":"#ffffff","titleNView":{"buttons":[{"text":"","fontSize":"14px","color":"#409eff"}]}}},{"path":"/pages/my/addcont","meta":{},"window":{"navigationBarTitleText":"新增内容","enablePullDownRefresh":false,"navigationBarBackgroundColor":"#ffffff"}},{"path":"/pages/my/version","meta":{},"window":{"navigationBarTitleText":"更新记录","enablePullDownRefresh":false,"navigationBarBackgroundColor":"#ffffff","titleNView":{"buttons":[{"text":"更新","fontSize":"14px","color":"#409eff"}]}}},{"path":"/pages/my/mymonit","meta":{},"window":{"navigationBarTitleText":"监督记录","enablePullDownRefresh":true,"navigationBarBackgroundColor":"#ffffff"}},{"path":"/pages/my/mtmonitdetails","meta":{},"window":{"navigationBarTitleText":"","enablePullDownRefresh":false,"navigationBarBackgroundColor":"#ffffff"}},{"path":"/pages/my/monitorlogdata","meta":{},"window":{"navigationBarTitleText":"记录详情","enablePullDownRefresh":false,"navigationBarBackgroundColor":"#ffffff"}},{"path":"/pages/index/harmfultask","meta":{},"window":{"navigationBarTitleText":"","enablePullDownRefresh":false,"navigationBarBackgroundColor":"#ffffff","titleNView":{"buttons":[{"text":" ","fontSize":"14px","color":"#409eff"}]}}},{"path":"/pages/index/clockDetail","meta":{},"window":{"navigationBarTitleText":"签到","enablePullDownRefresh":false,"navigationBarBackgroundColor":"#ffffff"}},{"path":"/pages/index/details","meta":{},"window":{"navigationBarTitleText":"任务详情","enablePullDownRefresh":false,"navigationBarBackgroundColor":"#ffffff","navigationBarShadow":{"colorType":"grey"},"titleNView":{"buttons":[{"text":"","fontSize":"14px","color":"#409eff"}]}}},{"path":"/pages/index/taskEdit","meta":{},"window":{"navigationBarTitleText":"任务填报","enablePullDownRefresh":false,"navigationBarBackgroundColor":"#ffffff","navigationBarShadow":{"colorType":"grey"}}},{"path":"/pages/supervise/supetask","meta":{},"window":{"navigationBarTitleText":"","enablePullDownRefresh":false,"navigationBarBackgroundColor":"#ffffff","titleNView":{"buttons":[{"text":" ","fontSize":"14px","color":"#409eff"}]}}},{"path":"/pages/supervise/submitsupe","meta":{},"window":{"navigationBarTitleText":"监督","enablePullDownRefresh":false,"navigationBarBackgroundColor":"#ffffff"}},{"path":"/pages/insectpest/insectpest","meta":{},"window":{"navigationBarTitleText":"登记信息","enablePullDownRefresh":false,"navigationBarBackgroundColor":"#ffffff"}},{"path":"/pages/insectpest/baselist","meta":{},"window":{"navigationBarTitleText":"设备列表","enablePullDownRefresh":false,"navigationBarBackgroundColor":"#ffffff"}},{"path":"/pages/addressList/index","meta":{},"window":{"navigationBarTitleText":"通讯录","enablePullDownRefresh":true,"navigationBarBackgroundColor":"#ffffff"}},{"path":"/pages/my/map","meta":{"isNVue":true},"window":{"navigationBarTitleText":"我的轨迹","navigationBarBackgroundColor":"#ffffff"}},{"path":"/pages/my/warnList","meta":{},"window":{"navigationBarTitleText":"预警记录","enablePullDownRefresh":true,"navigationBarBackgroundColor":"#ffffff"}},{"path":"/pages/my/formRecord/fieldSurveys","meta":{},"window":{"navigationBarTitleText":"踏查记录表","navigationBarBackgroundColor":"#ffffff"}},{"path":"/pages/my/formRecord/samplePlot","meta":{},"window":{"navigationBarTitleText":"样地调查表","navigationBarBackgroundColor":"#ffffff"}},{"path":"/pages/my/formRecord/trapRecord","meta":{},"window":{"navigationBarTitleText":"诱捕器调查记录表","navigationBarBackgroundColor":"#ffffff"}}];
  5. __uniConfig.onReady=function(callback){if(__uniConfig.ready){callback()}else{onReadyCallbacks.push(callback)}};Object.defineProperty(__uniConfig,"ready",{get:function(){return isReady},set:function(val){isReady=val;if(!isReady){return}const callbacks=onReadyCallbacks.slice(0);onReadyCallbacks.length=0;callbacks.forEach(function(callback){callback()})}});
  6. __uniConfig.onServiceReady=function(callback){if(__uniConfig.serviceReady){callback()}else{onServiceReadyCallbacks.push(callback)}};Object.defineProperty(__uniConfig,"serviceReady",{get:function(){return isServiceReady},set:function(val){isServiceReady=val;if(!isServiceReady){return}const callbacks=onServiceReadyCallbacks.slice(0);onServiceReadyCallbacks.length=0;callbacks.forEach(function(callback){callback()})}});
  7. service.register("uni-app-config",{create(a,b,c){if(!__uniConfig.viewport){var d=b.weex.config.env.scale,e=b.weex.config.env.deviceWidth,f=Math.ceil(e/d);Object.assign(__uniConfig,{viewport:f,defaultFontSize:Math.round(f/20)})}return{instance:{__uniConfig:__uniConfig,__uniRoutes:__uniRoutes,global:void 0,window:void 0,document:void 0,frames:void 0,self:void 0,location:void 0,navigator:void 0,localStorage:void 0,history:void 0,Caches:void 0,screen:void 0,alert:void 0,confirm:void 0,prompt:void 0,fetch:void 0,XMLHttpRequest:void 0,WebSocket:void 0,webkit:void 0,print:void 0}}}});