sl-express/project-wl-siji-uniapp-vue3/unpackage/dist/build/app-plus/app-config-service.js

11 lines
4.1 KiB
JavaScript
Raw Permalink Normal View History

2023-09-04 16:40:17 +08:00
;(function(){
let u=void 0,isReady=false,onReadyCallbacks=[],isServiceReady=false,onServiceReadyCallbacks=[];
const __uniConfig = {"pages":[],"globalStyle":{"backgroundColor":"#F4F4F4","background":"#F4F4F4","navigationBar":{"backgroundColor":"#F4F4F4","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.18","entryPagePath":"pages/start/index","entryPageQuery":"","realEntryPagePath":"","networkTimeout":{"request":60000,"connectSocket":60000,"uploadFile":60000,"downloadFile":60000},"locales":{},"darkmode":false,"themeConfig":{}};
const __uniRoutes = [{"path":"pages/start/index","meta":{"isQuit":true,"isEntry":true,"navigationBar":{"style":"custom","type":"default"},"isNVue":false}},{"path":"pages/login/user","meta":{"navigationBar":{"style":"custom","type":"default"},"isNVue":false}},{"path":"pages/login/index","meta":{"navigationBar":{"style":"custom","type":"default"},"isNVue":false}},{"path":"pages/index/index","meta":{"pullToRefresh":{"support":true,"color":"#ff3333","style":"default","contentdown":{"caption":"下拉可刷新自定义文本"},"contentover":{"caption":"释放可刷新自定义文本"},"contentrefresh":{"caption":"正在刷新自定义文本"}},"navigationBar":{"style":"custom","type":"default"},"enablePullDownRefresh":true,"isNVue":false}},{"path":"pages/index/delayed","meta":{"navigationBar":{"style":"custom","type":"default"},"isNVue":false}},{"path":"pages/index/details","meta":{"navigationBar":{"style":"custom","type":"default"},"isNVue":false}},{"path":"pages/index/detailsRoad","meta":{"navigationBar":{"style":"custom","type":"default"},"isNVue":false}},{"path":"pages/index/detailsSuccess","meta":{"navigationBar":{"style":"custom","type":"default"},"isNVue":false}},{"path":"pages/index/exception","meta":{"navigationBar":{"style":"custom","type":"default"},"isNVue":false}},{"path":"pages/index/refister","meta":{"navigationBar":{"style":"custom","type":"default"},"isNVue":false}},{"path":"pages/message/index","meta":{"navigationBar":{"style":"custom","type":"default"},"isNVue":false}},{"path":"pages/message/details","meta":{"navigationBar":{"style":"custom","type":"default"},"isNVue":false}},{"path":"pages/user/index","meta":{"navigationBar":{"style":"custom","type":"default"},"isNVue":false}},{"path":"pages/user/carrier","meta":{"navigationBar":{"style":"custom","type":"default"},"isNVue":false}},{"path":"pages/user/setCarrier","meta":{"navigationBar":{"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}}}});
})();