app-config-service.js 5.7 KB

12345678
  1. var isReady=false;var onReadyCallbacks=[];
  2. var isServiceReady=false;var onServiceReadyCallbacks=[];
  3. var __uniConfig = {"pages":["pages/login","pages/indexRouter","pages/home/index","pages/index/codeTracing","pages/home/selectStore","pages/information/index","pages/information/cylinder","pages/information/transfer","pages/information/transferRecord","pages/information/flowStep","pages/information/storePersonnel","pages/information/recipient","pages/information/transferDetails","pages/order/index","pages/mine/index","pages/mine/personal","pages/mine/erweima","pages/mine/system","pages/order/orderDetails","pages/order/securityCheck","pages/order/delivery","pages/order/quickMark","pages/order/completionTasks","pages/order/signatureBoard","pages/order/cylinderTransfer","pages/order/cannibalize"],"window":{"navigationBarTextStyle":"black","navigationBarTitleText":"气瓶安全追溯","navigationBarBackgroundColor":"#F8F8F8","backgroundColor":"#F8F8F8","navigationStyle":"default"},"tabBar":{"color":"#6c6c6c","selectedColor":"#1177FF","borderStyle":"black","backgroundColor":"#ffffff","list":[{"pagePath":"pages/home/index","iconPath":"static/tab/sy.png","selectedIconPath":"static/tab/sy_s.png","text":"首页"},{"pagePath":"pages/order/index","iconPath":"static/tab/dd.png","selectedIconPath":"static/tab/dd_s.png","text":"订单"},{"pagePath":"pages/information/index","iconPath":"static/tab/xx.png","selectedIconPath":"static/tab/xx_s.png","text":"消息"},{"pagePath":"pages/mine/index","iconPath":"static/tab/wd.png","selectedIconPath":"static/tab/wd_s.png","text":"我的"}]},"darkmode":false,"nvueCompiler":"uni-app","nvueStyleCompiler":"uni-app","renderer":"auto","splashscreen":{"alwaysShowBeforeRender":false,"autoclose":false},"appname":"气瓶安全追溯","compilerVersion":"4.24","entryPagePath":"pages/login","networkTimeout":{"request":60000,"connectSocket":60000,"uploadFile":60000,"downloadFile":60000}};
  4. var __uniRoutes = [{"path":"/pages/login","meta":{"isQuit":true},"window":{"navigationStyle":"custom"}},{"path":"/pages/indexRouter","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/home/index","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationBarTitleText":"","enablePullDownRefresh":false,"navigationBarBackgroundColor":"#FFFFFF","titleNView":false}},{"path":"/pages/index/codeTracing","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/home/selectStore","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/information/index","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationStyle":"custom"}},{"path":"/pages/information/cylinder","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/information/transfer","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/information/transferRecord","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/information/flowStep","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/information/storePersonnel","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/information/recipient","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/information/transferDetails","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/order/index","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationBarTitleText":"订单","enablePullDownRefresh":false}},{"path":"/pages/mine/index","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationBarTitleText":"个人中心","enablePullDownRefresh":false,"navigationBarBackgroundColor":"#FFFFFF"}},{"path":"/pages/mine/personal","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/mine/erweima","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/mine/system","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/order/orderDetails","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/order/securityCheck","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/order/delivery","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/order/quickMark","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/order/completionTasks","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/order/signatureBoard","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/order/cylinderTransfer","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/order/cannibalize","meta":{},"window":{"navigationStyle":"custom"}}];
  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}}}});