app-config-service.js 6.1KB

123456789
  1. var isReady=false;var onReadyCallbacks=[];
  2. var isServiceReady=false;var onServiceReadyCallbacks=[];
  3. var __uniConfig = {"pages":["pages/index/index","pages/message/index","pages/my/index","pages/Health_monitor/index","pages/Health_monitor/urinometer","pages/my/personage","pages/Health_record/index","pages/Health_record/disease","pages/Health_record/creatinine","pages/Health_record/albumen","pages/Health_record/renal","pages/Health_record/archives","pages/addPatient/index","pages/userBinding/index","pages/inspection_new/detail","pages/inspection_new/index","pages/dialysis/index","pages/shop/index","pages/code/index","pages/noDialysis/index","pages/Patient/List","pages/Patient/detail","subpackagesA/pages/advancePay/index","subpackagesA/pages/advancePay/details","subpackagesA/pages/PhysicalSigns/index","subpackagesA/pages/medicalRecord/index"],"window":{"navigationBarTextStyle":"black","navigationBarBackgroundColor":"#F8F8F8","backgroundColor":"#F8F8F8"},"tabBar":{"color":"#a9b7b7","selectedColor":"#11cd6e","borderStyle":"black","list":[{"selectedIconPath":"static/images/homeAct.png","iconPath":"static/images/home.png","pagePath":"pages/index/index","text":"首页"},{"selectedIconPath":"static/images/infoAct.png","iconPath":"static/images/info.png","pagePath":"pages/message/index","text":"发现"},{"selectedIconPath":"static/images/storeAct.png","iconPath":"static/images/store.png","pagePath":"pages/shop/index","text":"商城"},{"selectedIconPath":"static/images/meAct.png","iconPath":"static/images/mine.png","pagePath":"pages/my/index","text":"我的"}]},"darkmode":false,"nvueCompiler":"uni-app","nvueStyleCompiler":"uni-app","renderer":"auto","splashscreen":{"alwaysShowBeforeRender":true,"autoclose":false},"appname":"sws","compilerVersion":"3.96","entryPagePath":"pages/index/index","networkTimeout":{"request":60000,"connectSocket":60000,"uploadFile":60000,"downloadFile":60000}};
  4. var __uniRoutes = [{"path":"/pages/index/index","meta":{"isQuit":true,"isTabBar":true},"window":{}},{"path":"/pages/message/index","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationBarTitleText":"肾友知识"}},{"path":"/pages/my/index","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationBarTitleText":"我的"}},{"path":"/pages/Health_monitor/index","meta":{},"window":{"navigationBarTitleText":"我的健康设备"}},{"path":"/pages/Health_monitor/urinometer","meta":{},"window":{"navigationBarTitleText":"领透尿检仪"}},{"path":"/pages/my/personage","meta":{},"window":{"navigationBarTitleText":"个人信息"}},{"path":"/pages/Health_record/index","meta":{},"window":{"navigationBarTitleText":"基本信息完善"}},{"path":"/pages/Health_record/disease","meta":{},"window":{"navigationBarTitleText":"基本信息完善","enablePullDownRefresh":false}},{"path":"/pages/Health_record/creatinine","meta":{},"window":{"navigationBarTitleText":"基本信息完善","enablePullDownRefresh":false}},{"path":"/pages/Health_record/albumen","meta":{},"window":{"navigationBarTitleText":"基本信息完善","enablePullDownRefresh":false}},{"path":"/pages/Health_record/renal","meta":{},"window":{"navigationBarTitleText":"基本信息完善","enablePullDownRefresh":false}},{"path":"/pages/Health_record/archives","meta":{},"window":{"navigationBarTitleText":"个人信息","enablePullDownRefresh":false}},{"path":"/pages/addPatient/index","meta":{},"window":{"navigationBarTitleText":"添加就诊人"}},{"path":"/pages/userBinding/index","meta":{},"window":{"navigationBarTitleText":"用户绑定"}},{"path":"/pages/inspection_new/detail","meta":{},"window":{"navigationBarTitleText":"检查报告详情"}},{"path":"/pages/inspection_new/index","meta":{},"window":{"navigationBarTitleText":"检查报告","enablePullDownRefresh":true,"onReachBottomDistance":50}},{"path":"/pages/dialysis/index","meta":{},"window":{"navigationBarTitleText":"我的透析"}},{"path":"/pages/shop/index","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationBarTitleText":"圣卫士商城"}},{"path":"/pages/code/index","meta":{},"window":{"navigationBarTitleText":"我的签到"}},{"path":"/pages/noDialysis/index","meta":{},"window":{"navigationBarTitleText":"透析签到"}},{"path":"/pages/Patient/List","meta":{},"window":{"navigationBarTitleText":"我的就诊人"}},{"path":"/pages/Patient/detail","meta":{},"window":{"navigationBarTitleText":"就诊人详情"}},{"path":"/subpackagesA/pages/advancePay/index","meta":{},"window":{"navigationBarTitleText":"预交金查询"}},{"path":"/subpackagesA/pages/advancePay/details","meta":{},"window":{"navigationBarTitleText":"明细查询"}},{"path":"/subpackagesA/pages/PhysicalSigns/index","meta":{},"window":{"navigationBarTitleText":"体征报告"}},{"path":"/subpackagesA/pages/medicalRecord/index","meta":{},"window":{"navigationBarTitleText":"就诊人病历"}}];
  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}}}});