app-config-service.js 5.6 KB

12345678
  1. var isReady=false;var onReadyCallbacks=[];
  2. var isServiceReady=false;var onServiceReadyCallbacks=[];
  3. var __uniConfig = {"pages":["pages/login/login","pages/index/index","pages/response/index","pages/response/video","pages/response/details","pages/my/index","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/supervise/supetask","pages/supervise/submitsupe"],"window":{"navigationBarTextStyle":"black","navigationBarTitleText":"","navigationBarBackgroundColor":"#fff","backgroundColor":"#fff"},"tabBar":{"color":"#cdcdcd","selectedColor":"#56C979","borderStyle":"white","backgroundColor":"#fff","list":[{"pagePath":"pages/index/index","iconPath":"static/image/indeximg/renwuon.png","selectedIconPath":"static/image/indeximg/renwu.png","text":"任务"},{"pagePath":"pages/response/index","iconPath":"static/image/indeximg/huidaon.png","selectedIconPath":"static/image/indeximg/huida.png","text":"应答"},{"pagePath":"pages/supervise/index","iconPath":"static/image/indeximg/yingjianon.png","selectedIconPath":"static/image/indeximg/yingjian.png","text":"监督"},{"pagePath":"pages/my/index","iconPath":"static/image/indeximg/meon.png","selectedIconPath":"static/image/indeximg/me.png","text":"我的"}]},"nvueCompiler":"uni-app","nvueStyleCompiler":"uni-app","renderer":"auto","splashscreen":{"alwaysShowBeforeRender":true,"autoclose":false},"appname":"MingGaoApp","compilerVersion":"3.3.5","entryPagePath":"pages/login/login","networkTimeout":{"request":60000,"connectSocket":60000,"uploadFile":60000,"downloadFile":60000}};
  4. var __uniRoutes = [{"path":"/pages/login/login","meta":{"isQuit":true},"window":{"navigationBarTitleText":"","navigationStyle":"custom"}},{"path":"/pages/index/index","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationBarTitleText":"任务","navigationBarBackgroundColor":"#fff","enablePullDownRefresh":true,"titleNView":{"splitLine":{"color":"#000","height":"1px"}}}},{"path":"/pages/response/index","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationBarTitleText":"应答中心","navigationBarBackgroundColor":"#f7f7f7","enablePullDownRefresh":true}},{"path":"/pages/response/video","meta":{"isNVue":true},"window":{"navigationBarTitleText":"视频通话","navigationBarBackgroundColor":"#f7f7f7","enablePullDownRefresh":false,"navigationStyle":"custom"}},{"path":"/pages/response/details","meta":{},"window":{"navigationBarTitleText":"应答中心详情","navigationBarBackgroundColor":"#f7f7f7","enablePullDownRefresh":false,"disableSwipeBack":true}},{"path":"/pages/my/index","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationBarTitleText":"","navigationStyle":"custom"}},{"path":"/pages/supervise/index","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationBarTitleText":"监督","navigationBarBackgroundColor":"#FFFFFF"}},{"path":"/pages/my/myinfo","meta":{},"window":{"navigationBarTitleText":"个人中心","enablePullDownRefresh":false,"disableSwipeBack":true,"navigationBarBackgroundColor":"#FFFFFF"}},{"path":"/pages/my/password","meta":{},"window":{"navigationBarTitleText":"修改密码","enablePullDownRefresh":false}},{"path":"/pages/my/monitorlog","meta":{},"window":{"navigationBarTitleText":"监测日志","enablePullDownRefresh":false}},{"path":"/pages/my/addcont","meta":{},"window":{"navigationBarTitleText":"新增内容","enablePullDownRefresh":false}},{"path":"/pages/my/version","meta":{},"window":{"navigationBarTitleText":"更新记录","enablePullDownRefresh":false}},{"path":"/pages/my/mymonit","meta":{},"window":{"navigationBarTitleText":"监督记录","enablePullDownRefresh":true}},{"path":"/pages/my/mtmonitdetails","meta":{},"window":{"navigationBarTitleText":"监督记录详情","enablePullDownRefresh":false}},{"path":"/pages/my/monitorlogdata","meta":{},"window":{"navigationBarTitleText":"记录详情","enablePullDownRefresh":false}},{"path":"/pages/index/harmfultask","meta":{},"window":{"navigationBarTitleText":"生物监测任务","enablePullDownRefresh":false}},{"path":"/pages/supervise/supetask","meta":{},"window":{"navigationBarTitleText":"生物监测任务监督","enablePullDownRefresh":false}},{"path":"/pages/supervise/submitsupe","meta":{},"window":{"navigationBarTitleText":"监督","enablePullDownRefresh":false}}];
  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}}}});