app-config-service.js 8.8 KB

12345678
  1. var isReady=false;var onReadyCallbacks=[];
  2. var isServiceReady=false;var onServiceReadyCallbacks=[];
  3. var __uniConfig = {"pages":["pages/index","pages/personalCenter/personalCenter","pages/home/home","pages/home/ceshi","pages/information/information","pages/login/login","pages/personalCenter/setUp","pages/home/myorder/index","pages/home/delivery/index","pages/home/myorder/detailed","pages/home/delivery/detailed","pages/home/myorder/orderDetails/index","pages/home/delivery/orderDetails/index","pages/home/myorder/orderDetails/newlyAdded","pages/home/delivery/orderDetails/newlyAdded","pages/home/freightCalculation/shipSchedule","pages/home/freightCalculation/shippingInformation","pages/home/freightCalculation/freightCalculation","pages/home/patrolInspection/index","pages/home/patrolInspection/patrolDetails","pages/home/allReview/index","pages/home/myReview/index","pages/home/procurementApplicationApproval/index","pages/home/procurementApplicationApproval/detailsOrUpdates","pages/home/inventoryQuery/index","pages/home/inventoryQuery/inventoryDetails","pages/home/inventoryQuery/detailedAttachment","pages/home/allocation/index","pages/home/allocation/detailed","pages/home/goodsTransfer/index","pages/home/goodsTransfer/index"],"window":{"navigationBarTextStyle":"white","navigationBarTitleText":"uView","navigationBarBackgroundColor":"#1669e6","backgroundColor":"#FFFFFF"},"tabBar":{"color":"#909399","selectedColor":"#303133","backgroundColor":"#FFFFFF","borderStyle":"black","list":[{"pagePath":"pages/home/home","iconPath":"static/uview/example/component.png","selectedIconPath":"static/uview/example/component_select.png","text":"首页"},{"pagePath":"pages/information/information","iconPath":"static/uview/example/js.png","selectedIconPath":"static/uview/example/js_select.png","text":"消息"},{"pagePath":"pages/personalCenter/personalCenter","iconPath":"static/uview/example/template.png","selectedIconPath":"static/uview/example/template_select.png","text":"我的"}]},"preloadRule":{"pages/example/components":{"network":"all","packages":["pages/home","pages/information","pages/personalCenter"]}},"nvueCompiler":"uni-app","nvueStyleCompiler":"weex","renderer":"auto","splashscreen":{"alwaysShowBeforeRender":true,"autoclose":false},"appname":"TuBaoSoft","compilerVersion":"3.2.16","subPackages":[{"root":"pages/personalCenter"},{"root":"pages/home"}],"entryPagePath":"pages/index","networkTimeout":{"request":60000,"connectSocket":60000,"uploadFile":60000,"downloadFile":60000}};
  4. var __uniRoutes = [{"path":"/pages/index","meta":{"isQuit":true},"window":{"titleNView":false}},{"path":"/pages/personalCenter/personalCenter","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationBarTitleText":"我的","titleNView":false,"navigationBarTextStyle":"black","bounce":"none","scrollIndicator":"none"}},{"path":"/pages/home/home","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationBarTitleText":"首页","titleNView":false,"popGesture":"none"}},{"path":"/pages/home/ceshi","meta":{},"window":{"navigationBarTitleText":"天眼","titleNView":{"type":"transparent"}}},{"path":"/pages/information/information","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationBarTitleText":"消息"}},{"path":"/pages/login/login","meta":{},"window":{"navigationBarTitleText":"登录","titleNView":false}},{"path":"/pages/personalCenter/setUp","meta":{},"window":{"navigationBarTitleText":"设置","titleNView":false,"navigationBarTextStyle":"black","popGesture":"none","bounce":"none","scrollIndicator":"none"}},{"path":"/pages/home/myorder/index","meta":{},"window":{"navigationBarTitleText":"入库列表","navigationBarTextStyle":"white","bounce":"none","scrollIndicator":"none"}},{"path":"/pages/home/delivery/index","meta":{},"window":{"navigationBarTitleText":"出库列表","navigationBarTextStyle":"white","bounce":"none","scrollIndicator":"none"}},{"path":"/pages/home/myorder/detailed","meta":{},"window":{"navigationBarTitleText":"入库明细列表","titleNView":false,"navigationBarTextStyle":"white","bounce":"none","scrollIndicator":"none"}},{"path":"/pages/home/delivery/detailed","meta":{},"window":{"navigationBarTitleText":"出库明细列表","titleNView":false,"navigationBarTextStyle":"white","bounce":"none","scrollIndicator":"none"}},{"path":"/pages/home/myorder/orderDetails/index","meta":{},"window":{"navigationBarTitleText":"入库详情","navigationBarTextStyle":"white","bounce":"none","scrollIndicator":"none"}},{"path":"/pages/home/delivery/orderDetails/index","meta":{},"window":{"navigationBarTitleText":"出库详情","navigationBarTextStyle":"white","bounce":"none","scrollIndicator":"none"}},{"path":"/pages/home/myorder/orderDetails/newlyAdded","meta":{},"window":{"navigationBarTitleText":"入库新行","navigationBarTextStyle":"white","bounce":"none","scrollIndicator":"none"}},{"path":"/pages/home/delivery/orderDetails/newlyAdded","meta":{},"window":{"navigationBarTitleText":"出库新行","navigationBarTextStyle":"white","bounce":"none","scrollIndicator":"none"}},{"path":"/pages/home/freightCalculation/shipSchedule","meta":{},"window":{"navigationBarTitleText":"船期查询","enablePullDownRefresh":false,"navigationBarTextStyle":"white"}},{"path":"/pages/home/freightCalculation/shippingInformation","meta":{},"window":{"navigationBarTitleText":"船期信息","enablePullDownRefresh":false,"navigationBarTextStyle":"white"}},{"path":"/pages/home/freightCalculation/freightCalculation","meta":{},"window":{"navigationBarTitleText":"海运费计算","enablePullDownRefresh":false,"navigationBarTextStyle":"white"}},{"path":"/pages/home/patrolInspection/index","meta":{},"window":{"navigationBarTitleText":"我的巡检","enablePullDownRefresh":false,"navigationBarTextStyle":"white"}},{"path":"/pages/home/patrolInspection/patrolDetails","meta":{},"window":{"navigationBarTitleText":"巡检详情","enablePullDownRefresh":false,"navigationBarTextStyle":"white"}},{"path":"/pages/home/allReview/index","meta":{},"window":{"navigationBarTitleText":"我的审核","enablePullDownRefresh":false,"navigationBarTextStyle":"white"}},{"path":"/pages/home/myReview/index","meta":{},"window":{"navigationBarTitleText":"我的审核","enablePullDownRefresh":false,"navigationBarTextStyle":"white"}},{"path":"/pages/home/procurementApplicationApproval/index","meta":{},"window":{"navigationBarTitleText":"采购申请","enablePullDownRefresh":false,"navigationBarTextStyle":"white"}},{"path":"/pages/home/procurementApplicationApproval/detailsOrUpdates","meta":{},"window":{"navigationBarTitleText":"采购申请详情页","enablePullDownRefresh":false,"navigationBarTextStyle":"white"}},{"path":"/pages/home/inventoryQuery/index","meta":{},"window":{"navigationBarTitleText":"我的库存","enablePullDownRefresh":false,"navigationBarTextStyle":"white"}},{"path":"/pages/home/inventoryQuery/inventoryDetails","meta":{},"window":{"navigationBarTitleText":"库存明细","enablePullDownRefresh":false,"navigationBarTextStyle":"white"}},{"path":"/pages/home/inventoryQuery/detailedAttachment","meta":{},"window":{"navigationBarTitleText":"附件明细","enablePullDownRefresh":false,"navigationBarTextStyle":"white"}},{"path":"/pages/home/allocation/index","meta":{},"window":{"navigationBarTitleText":"调拨列表","enablePullDownRefresh":false,"navigationBarTextStyle":"white"}},{"path":"/pages/home/allocation/detailed","meta":{},"window":{"navigationBarTitleText":"调拨明细","enablePullDownRefresh":false,"navigationBarTextStyle":"white"}},{"path":"/pages/home/goodsTransfer/index","meta":{},"window":{"navigationBarTitleText":"货转明细","enablePullDownRefresh":false,"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}}}});