sl-express/project-wl-kuaidiyuan-uniap.../unpackage/dist/build/app-plus/app-config-service.js

11 lines
5.1 KiB
JavaScript

;(function(){
let u=void 0,isReady=false,onReadyCallbacks=[],isServiceReady=false,onServiceReadyCallbacks=[];
const __uniConfig = {"pages":[],"globalStyle":{"backgroundColor":"#F8F8F8","onReachBottomDistance":50,"navigationBar":{"titleText":"神领物流","type":"default","titleColor":"#000000"},"isNVue":false},"nvue":{"compiler":"uni-app","styleCompiler":"uni-app","flex-direction":"column"},"renderer":"auto","appname":"神领-快递员","splashscreen":{"alwaysShowBeforeRender":true,"autoclose":true},"compilerVersion":"3.6.4","entryPagePath":"pages/start/index","entryPageQuery":"","realEntryPagePath":"","networkTimeout":{"request":60000,"connectSocket":60000,"uploadFile":60000,"downloadFile":60000},"locales":{}};
const __uniRoutes = [{"path":"pages/start/index","meta":{"isQuit":true,"isEntry":true,"navigationBar":{"style":"custom","type":"default"},"isNVue":false}},{"path":"pages/login/user","meta":{"navigationBar":{"titleText":"登录","style":"custom","type":"default"},"isNVue":false}},{"path":"pages/login/index","meta":{"navigationBar":{"titleText":"登录","style":"custom","type":"default"},"isNVue":false}},{"path":"pages/index/index","meta":{"navigationBar":{"titleText":"神领物流","style":"custom","type":"default"},"isNVue":false}},{"path":"pages/search/index","meta":{"navigationBar":{"titleText":"神领物流","style":"custom","type":"default"},"isNVue":false}},{"path":"pages/history/index","meta":{"navigationBar":{"titleText":"历史派送","style":"custom","type":"default"},"isNVue":false}},{"path":"pages/news/index","meta":{"navigationBar":{"titleText":"消息","style":"custom","type":"default"},"isNVue":false}},{"path":"pages/news/detail","meta":{"navigationBar":{"titleText":"详情","style":"custom","type":"default"},"isNVue":false}},{"path":"pages/news/system","meta":{"navigationBar":{"titleText":"系统通知","style":"custom","type":"default"},"isNVue":false}},{"path":"pages/freight/index","meta":{"navigationBar":{"titleText":"运费查询","style":"custom","type":"default"},"isNVue":false}},{"path":"pages/delivery/index","meta":{"navigationBar":{"titleText":"取件","style":"custom","type":"default"},"isNVue":false}},{"path":"pages/pickup/index","meta":{"navigationBar":{"titleText":"派件","style":"custom","type":"default"},"isNVue":false}},{"path":"pages/turnorder/index","meta":{"navigationBar":{"titleText":"转单","style":"custom","type":"default"},"isNVue":false}},{"path":"pages/cancel/index","meta":{"navigationBar":{"titleText":"订单取消原因申请","style":"custom","type":"default"},"isNVue":false}},{"path":"pages/cancel/cause","meta":{"navigationBar":{"titleText":"订单取消原因申请","style":"custom","type":"default"},"isNVue":false}},{"path":"pages/details/index","meta":{"navigationBar":{"titleText":"去取件","style":"custom","type":"default"},"isNVue":false}},{"path":"pages/details/waybill","meta":{"navigationBar":{"titleText":"运单详情","style":"custom","type":"default"},"isNVue":false}},{"path":"pages/pay/index","meta":{"navigationBar":{"titleText":"取件成功","style":"custom","type":"default"},"isNVue":false}},{"path":"pages/pay/scanPay","meta":{"navigationBar":{"titleText":"扫码支付","style":"custom","type":"default"},"isNVue":false}},{"path":"pages/my/index","meta":{"navigationBar":{"titleText":"我的","style":"custom","type":"default"},"isNVue":false}},{"path":"pages/my/map","meta":{"navigationBar":{"titleText":"作业范围","style":"custom","type":"default"},"isNVue":false}},{"path":"pages/my/qrCode","meta":{"navigationBar":{"titleText":"专属二维码","style":"custom","type":"default"},"isNVue":false}},{"path":"pages/details/orderMap","meta":{"navigationBar":{"titleText":"订单跟踪","style":"custom","type":"default"},"isNVue":false}}].map(uniRoute=>(uniRoute.meta.route=uniRoute.path,__uniConfig.pages.push(uniRoute.path),uniRoute.path='/'+uniRoute.path,uniRoute));
__uniConfig.styles=[];//styles
__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()})}});
__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()})}});
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:16})}return{instance:{__uniConfig:__uniConfig,__uniRoutes:__uniRoutes,global:u,window:u,document:u,frames:u,self:u,location:u,navigator:u,localStorage:u,history:u,Caches:u,screen:u,alert:u,confirm:u,prompt:u,fetch:u,XMLHttpRequest:u,WebSocket:u,webkit:u,print:u}}}});
})();