lanan-old/rescue-user/unpackage/dist/dev/app-plus/app-config-service.js
愉快的大福 7dc28dc701 init
2024-07-17 14:16:22 +08:00

9 lines
4.7 KiB
JavaScript

var isReady=false;var onReadyCallbacks=[];
var isServiceReady=false;var onServiceReadyCallbacks=[];
var __uniConfig = {"pages":["pages/index/index","pages/rescue/rescue","pages/rescue/trafficPolice","pages/rescue/PoliceOder","pages/my/my","pages/details/details","pages/message/message","pages/Detain/Detain","pages/move/move","pages/rescue/order","pages/rescue/initiate","pages/rescue/historylist","pages/select/select","pages/login/login","pages/login/register","pages/login/forgot","pages/my/carManage","pages/my/carManageForm","pages/my/carlist","pages/my/StatisticsInfo"],"window":{"navigationBarTextStyle":"black","navigationBarTitleText":"蓝安汽车","navigationBarBackgroundColor":"#F8F8F8","backgroundColor":"#F8F8F8"},"darkmode":false,"nvueCompiler":"uni-app","nvueStyleCompiler":"uni-app","renderer":"auto","splashscreen":{"alwaysShowBeforeRender":true,"autoclose":false},"appname":"蓝安救援","compilerVersion":"3.96","entryPagePath":"pages/index/index","networkTimeout":{"request":60000,"connectSocket":60000,"uploadFile":60000,"downloadFile":60000}};
var __uniRoutes = [{"path":"/pages/index/index","meta":{"isQuit":true},"window":{"navigationBarTitleText":"蓝安汽车","navigationStyle":"custom"}},{"path":"/pages/rescue/rescue","meta":{},"window":{"navigationBarTitleText":"道路救援首页","navigationStyle":"custom"}},{"path":"/pages/rescue/trafficPolice","meta":{},"window":{"navigationBarTitleText":"交警首页","navigationStyle":"custom"}},{"path":"/pages/rescue/PoliceOder","meta":{},"window":{"navigationBarTitleText":"交警点击救援跳转","navigationStyle":"custom"}},{"path":"/pages/my/my","meta":{},"window":{"navigationBarTitleText":"我的","navigationStyle":"custom"}},{"path":"/pages/details/details","meta":{},"window":{"navigationBarTitleText":"救援详情","navigationStyle":"custom"}},{"path":"/pages/message/message","meta":{},"window":{"navigationBarTitleText":"消息","navigationStyle":"custom"}},{"path":"/pages/Detain/Detain","meta":{},"window":{"navigationBarTitleText":"扣车","navigationStyle":"custom"}},{"path":"/pages/move/move","meta":{},"window":{"navigationBarTitleText":"运力","navigationStyle":"custom"}},{"path":"/pages/rescue/order","meta":{},"window":{"navigationBarTitleText":"下单页-前","navigationStyle":"custom"}},{"path":"/pages/rescue/initiate","meta":{},"window":{"navigationBarTitleText":"下单页","navigationStyle":"custom"}},{"path":"/pages/rescue/historylist","meta":{},"window":{"navigationBarTitleText":"历史订单列表","navigationStyle":"custom"}},{"path":"/pages/select/select","meta":{},"window":{"navigationBarTitleText":"选择身份","navigationStyle":"custom"}},{"path":"/pages/login/login","meta":{},"window":{"navigationBarTitleText":"登录","navigationStyle":"custom"}},{"path":"/pages/login/register","meta":{},"window":{"navigationBarTitleText":"注册","navigationStyle":"custom"}},{"path":"/pages/login/forgot","meta":{},"window":{"navigationBarTitleText":"忘记密码","navigationStyle":"custom"}},{"path":"/pages/my/carManage","meta":{},"window":{"navigationBarTitleText":"","navigationStyle":"custom"}},{"path":"/pages/my/carManageForm","meta":{},"window":{"navigationBarTitleText":"","navigationStyle":"custom"}},{"path":"/pages/my/carlist","meta":{},"window":{"navigationBarTitleText":"","navigationStyle":"custom"}},{"path":"/pages/my/StatisticsInfo","meta":{},"window":{"navigationBarTitleText":"","navigationStyle":"custom"}}];
__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: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}}}});