app-config-service.js 5.5 KB

12345678
  1. var isReady=false;var onReadyCallbacks=[];
  2. var isServiceReady=false;var onServiceReadyCallbacks=[];
  3. var __uniConfig = {"pages":["pages/index/login","pages/index/tabbar/tabbar","pages/person","pages/index/configuration","pages/index/index","pages/index/search/search","pages/index/search/Outbound/Outbound","pages/new_file","pages/index/news/movement/movement","pages/index/news/docking/docking","pages/index/news/move/move","pages/index/news/news","pages/index/me/me","pages/index/me/task/task","pages/index/main/main","pages/Warehousing/index","pages/Warehousing/Warehousingthree/index","pages/Warehousing/select/index","pages/Warehousing/selectMaterial/index"],"window":{"navigationBarBackgroundColor":"#ff0505","backgroundColor":"#ff0505"},"darkmode":false,"nvueCompiler":"uni-app","nvueStyleCompiler":"uni-app","renderer":"auto","splashscreen":{"alwaysShowBeforeRender":true,"autoclose":false},"appname":"wmsBaisuilai","compilerVersion":"3.6.13","entryPagePath":"pages/index/login","networkTimeout":{"request":60000,"connectSocket":60000,"uploadFile":60000,"downloadFile":60000}};
  4. var __uniRoutes = [{"path":"/pages/index/login","meta":{"isQuit":true},"window":{"navigationStyle":"custom"}},{"path":"/pages/index/tabbar/tabbar","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/person","meta":{},"window":{"navigationBarTitleText":"","navigationBarBackgroundColor":"#ff0505","navigationBarTextStyle":"white"}},{"path":"/pages/index/configuration","meta":{},"window":{"navigationBarTitleText":"服务器配置","navigationBarBackgroundColor":"#ff0505","navigationBarTextStyle":"white"}},{"path":"/pages/index/index","meta":{},"window":{"navigationBarTitleText":"入库","navigationBarBackgroundColor":"#ff0505","navigationBarTextStyle":"white","softinputMode":"adjustResize"}},{"path":"/pages/index/search/search","meta":{},"window":{"navigationBarTitleText":"出库","navigationBarBackgroundColor":"#ff0505","navigationBarTextStyle":"white"}},{"path":"/pages/index/search/Outbound/Outbound","meta":{},"window":{"navigationBarTitleText":"出库","navigationBarBackgroundColor":"#ff0505","navigationBarTextStyle":"white","softinputMode":"adjustResize"}},{"path":"/pages/new_file","meta":{},"window":{"navigationBarTitleText":"pad","navigationBarBackgroundColor":"#ff0505","navigationBarTextStyle":"white"}},{"path":"/pages/index/news/movement/movement","meta":{},"window":{"navigationBarTitleText":"移库","navigationBarBackgroundColor":"#ff0505","navigationBarTextStyle":"white","softinputMode":"adjustResize"}},{"path":"/pages/index/news/docking/docking","meta":{},"window":{"navigationBarTitleText":"越库","navigationBarBackgroundColor":"#ff0505","navigationBarTextStyle":"white","softinputMode":"adjustResize"}},{"path":"/pages/index/news/move/move","meta":{},"window":{"navigationBarTitleText":"移库","navigationBarBackgroundColor":"#ff0505","navigationBarTextStyle":"white","softinputMode":"adjustResize"}},{"path":"/pages/index/news/news","meta":{},"window":{"navigationBarTitleText":"仓内管理","navigationBarBackgroundColor":"#ff0505","navigationBarTextStyle":"white"}},{"path":"/pages/index/me/me","meta":{},"window":{"navigationBarTitleText":"日常管理","navigationBarBackgroundColor":"#ff0505","navigationBarTextStyle":"white"}},{"path":"/pages/index/me/task/task","meta":{},"window":{"navigationBarTitleText":"任务管理","navigationBarBackgroundColor":"#ff0505","navigationBarTextStyle":"white"}},{"path":"/pages/index/main/main","meta":{},"window":{"navigationBarTitleText":"uni-app"}},{"path":"/pages/Warehousing/index","meta":{},"window":{"navigationBarTitleText":"入库","navigationBarBackgroundColor":"#ff0505","navigationBarTextStyle":"white"}},{"path":"/pages/Warehousing/Warehousingthree/index","meta":{},"window":{"navigationBarTitleText":"入库","navigationBarBackgroundColor":"#ff0505","navigationBarTextStyle":"white"}},{"path":"/pages/Warehousing/select/index","meta":{},"window":{"navigationBarTitleText":"选择库位","navigationBarBackgroundColor":"#ff0505","navigationBarTextStyle":"white"}},{"path":"/pages/Warehousing/selectMaterial/index","meta":{},"window":{"navigationBarTitleText":"选择物料","navigationBarBackgroundColor":"#ff0505","navigationBarTextStyle":"white"}}];
  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}}}});