app-config-service.js 6.5 KB

12345678
  1. var isReady=false;var onReadyCallbacks=[];
  2. var isServiceReady=false;var onServiceReadyCallbacks=[];
  3. var __uniConfig = {"pages":["pages/index/index","pages/wardrobe/index","pages/dapei/index","pages/shop/index","pages/user/index","pages/shouye/index","pages/putstorage/index","pages/registered/index","pages/login/index","pages/xieyi/index","pages/zhaohui/index","pages/zhtijiao/index","pages/chuanghome/index","pages/qiehuan/index","pages/sousuo/index","pages/fankui/index","pages/xiaoxi/index","pages/yifu/index","pages/luru/index","pages/quchu/index","pages/gouwuche/index","pages/gengduo/index","pages/shopsoso/index","pages/weizhi/index","pages/shouyedetail/index","pages/guanzhu/index","pages/dingdan/index","pages/pingjia/index","pages/qianbao/index","pages/shopdetail/index","pages/zidingyi/index","pages/changan/index","pages/dapeizidingyi/index","pages/dizhi/index","pages/shouhuodi/index"],"window":{"navigationBarTextStyle":"black","navigationBarTitleText":"uni-app","navigationBarBackgroundColor":"#F8F8F8","backgroundColor":"#F8F8F8"},"tabBar":{"color":"#999","selectedColor":"#82cfd5","borderStyle":"#fff","backgroundColor":"white","iconfontSrc":"static/icon/iconfont.ttf"},"nvueCompiler":"uni-app","nvueStyleCompiler":"uni-app","renderer":"auto","splashscreen":{"alwaysShowBeforeRender":true,"autoclose":false},"appname":"智能衣柜","compilerVersion":"3.6.5","entryPagePath":"pages/index/index","networkTimeout":{"request":60000,"connectSocket":60000,"uploadFile":60000,"downloadFile":60000}};
  4. var __uniRoutes = [{"path":"/pages/index/index","meta":{"isQuit":true},"window":{"navigationBarTitleText":"","titleNView":false}},{"path":"/pages/wardrobe/index","meta":{},"window":{"navigationBarTitleText":"衣厨","titleNView":false}},{"path":"/pages/dapei/index","meta":{},"window":{"navigationBarTitleText":"消息","titleNView":false}},{"path":"/pages/shop/index","meta":{},"window":{"navigationBarTitleText":"商场","titleNView":false}},{"path":"/pages/user/index","meta":{},"window":{"navigationBarTitleText":"我的","titleNView":false}},{"path":"/pages/shouye/index","meta":{},"window":{"navigationBarTitleText":"我的","titleNView":false}},{"path":"/pages/putstorage/index","meta":{},"window":{"navigationBarTitleText":"我的","titleNView":false}},{"path":"/pages/registered/index","meta":{},"window":{"navigationBarTitleText":"我的","titleNView":false}},{"path":"/pages/login/index","meta":{},"window":{"navigationBarTitleText":"我的","titleNView":false}},{"path":"/pages/xieyi/index","meta":{},"window":{"navigationBarTitleText":"我的","titleNView":false}},{"path":"/pages/zhaohui/index","meta":{},"window":{"navigationBarTitleText":"我的","titleNView":false}},{"path":"/pages/zhtijiao/index","meta":{},"window":{"navigationBarTitleText":"我的","titleNView":false}},{"path":"/pages/chuanghome/index","meta":{},"window":{"navigationBarTitleText":"我的","titleNView":false}},{"path":"/pages/qiehuan/index","meta":{},"window":{"navigationBarTitleText":"我的","titleNView":false}},{"path":"/pages/sousuo/index","meta":{},"window":{"navigationBarTitleText":"我的","titleNView":false}},{"path":"/pages/fankui/index","meta":{},"window":{"navigationBarTitleText":"我的","titleNView":false}},{"path":"/pages/xiaoxi/index","meta":{},"window":{"navigationBarTitleText":"我的","titleNView":false}},{"path":"/pages/yifu/index","meta":{},"window":{"navigationBarTitleText":"我的","titleNView":false}},{"path":"/pages/luru/index","meta":{},"window":{"navigationBarTitleText":"我的","titleNView":false}},{"path":"/pages/quchu/index","meta":{},"window":{"navigationBarTitleText":"我的","titleNView":false}},{"path":"/pages/gouwuche/index","meta":{},"window":{"navigationBarTitleText":"我的","titleNView":false}},{"path":"/pages/gengduo/index","meta":{},"window":{"navigationBarTitleText":"我的","titleNView":false}},{"path":"/pages/shopsoso/index","meta":{},"window":{"navigationBarTitleText":"我的","titleNView":false}},{"path":"/pages/weizhi/index","meta":{},"window":{"navigationBarTitleText":"我的","titleNView":false}},{"path":"/pages/shouyedetail/index","meta":{},"window":{"navigationBarTitleText":"我的","titleNView":false}},{"path":"/pages/guanzhu/index","meta":{},"window":{"navigationBarTitleText":"我的","titleNView":false}},{"path":"/pages/dingdan/index","meta":{},"window":{"navigationBarTitleText":"我的","titleNView":false}},{"path":"/pages/pingjia/index","meta":{},"window":{"navigationBarTitleText":"我的","titleNView":false}},{"path":"/pages/qianbao/index","meta":{},"window":{"navigationBarTitleText":"我的","titleNView":false}},{"path":"/pages/shopdetail/index","meta":{},"window":{"navigationBarTitleText":"我的","titleNView":false}},{"path":"/pages/zidingyi/index","meta":{},"window":{"navigationBarTitleText":"我的","titleNView":false}},{"path":"/pages/changan/index","meta":{},"window":{"navigationBarTitleText":"我的","titleNView":false}},{"path":"/pages/dapeizidingyi/index","meta":{},"window":{"navigationBarTitleText":"我的","titleNView":false}},{"path":"/pages/dizhi/index","meta":{},"window":{"navigationBarTitleText":"我的","titleNView":false}},{"path":"/pages/shouhuodi/index","meta":{},"window":{"navigationBarTitleText":"我的","titleNView":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}}}});