app-config-service.js 7.6 KB

12345678
  1. var isReady=false;var onReadyCallbacks=[];
  2. var isServiceReady=false;var onServiceReadyCallbacks=[];
  3. var __uniConfig = {"pages":["pages/login/login","pages/mine/charts123","pages/mine/control1","pages/mine/test","pages/index/index","pages/manage/manage","pages/index/bikeTest","pages/manage/incomeDetail","pages/manage/orderDetail","pages/manage/bikeDetail","pages/manage/userDetail","pages/manage/historyOrder","pages/manage/workDetail","pages/manage/scanRecord","pages/manage/recentOrder","pages/manage/lineRecord","pages/manage/lockRecord","pages/mine/mine","pages/workOrder/workOrder","pages/mine/password","pages/mine/personnel","pages/mine/control","pages/mine/lineChart","pages/mine/chart","pages/mine/park","pages/mine/feedback","pages/mine/repairs","pages/index/bike_detail","pages/index/reqair","pages/index/amendCar","pages/index/car_position","pages/mine/add_park"],"window":{"navigationBarTextStyle":"white","navigationBarBackgroundColor":"#007AFF","backgroundColor":"#FFFFFF","navigationBarTitleText":"登录","navigationStyle":"custom"},"tabBar":{"fontSize":"16px","borderStyle":"white","backgroundColor":"#f9f9f9","selectedColor":"#FF5F5D","list":[{"pagePath":"pages/index/index","text":"地图"},{"pagePath":"pages/manage/manage","text":"管理"},{"pagePath":"pages/workOrder/workOrder","text":"工单"},{"pagePath":"pages/mine/mine","text":"我的"}]},"networkTimeout":{"request":10000,"connectSocket":60000,"uploadFile":60000,"downloadFile":60000},"nvueCompiler":"uni-app","renderer":"auto","splashscreen":{"alwaysShowBeforeRender":true,"autoclose":false},"appname":"闪现车维","compilerVersion":"2.9.7","entryPagePath":"pages/login/login"};
  4. var __uniRoutes = [{"path":"/pages/login/login","meta":{"isQuit":true},"window":{}},{"path":"/pages/mine/charts123","meta":{},"window":{}},{"path":"/pages/mine/control1","meta":{},"window":{}},{"path":"/pages/mine/test","meta":{},"window":{}},{"path":"/pages/index/index","meta":{"isQuit":true,"isTabBar":true},"window":{"bounce":"none"}},{"path":"/pages/manage/manage","meta":{"isQuit":true,"isTabBar":true},"window":{}},{"path":"/pages/index/bikeTest","meta":{},"window":{"navigationBarTitleText":"车辆检测","navigationStyle":"default","navigationBarBackgroundColor":"#FFFFFF","navigationBarTextStyle":"black","bounce":"none"}},{"path":"/pages/manage/incomeDetail","meta":{},"window":{"navigationBarTitleText":"收益详情","navigationStyle":"default","navigationBarBackgroundColor":"#FFFFFF","navigationBarTextStyle":"black","bounce":"none"}},{"path":"/pages/manage/orderDetail","meta":{},"window":{"navigationBarTitleText":"订单详情","navigationStyle":"default","navigationBarBackgroundColor":"#FFFFFF","navigationBarTextStyle":"black"}},{"path":"/pages/manage/bikeDetail","meta":{},"window":{"navigationBarTitleText":"车辆详情","navigationStyle":"default","navigationBarBackgroundColor":"#FFFFFF","navigationBarTextStyle":"black"}},{"path":"/pages/manage/userDetail","meta":{},"window":{"navigationBarTitleText":"用户详情","navigationStyle":"default","navigationBarBackgroundColor":"#FFFFFF","navigationBarTextStyle":"black"}},{"path":"/pages/manage/historyOrder","meta":{},"window":{"navigationBarTitleText":"订单历史","navigationStyle":"default","navigationBarBackgroundColor":"#FFFFFF","navigationBarTextStyle":"black"}},{"path":"/pages/manage/workDetail","meta":{},"window":{"navigationBarTitleText":"工单详情","navigationStyle":"default","navigationBarBackgroundColor":"#FFFFFF","navigationBarTextStyle":"black"}},{"path":"/pages/manage/scanRecord","meta":{},"window":{"navigationBarTitleText":"扫码位置","navigationStyle":"default","navigationBarBackgroundColor":"#FFFFFF","navigationBarTextStyle":"black"}},{"path":"/pages/manage/recentOrder","meta":{},"window":{"navigationBarTitleText":"最近订单","navigationStyle":"default","navigationBarBackgroundColor":"#FFFFFF","navigationBarTextStyle":"black"}},{"path":"/pages/manage/lineRecord","meta":{},"window":{"navigationBarTitleText":"上下线记录","navigationStyle":"default","navigationBarBackgroundColor":"#FFFFFF","navigationBarTextStyle":"black"}},{"path":"/pages/manage/lockRecord","meta":{},"window":{"navigationBarTitleText":"开关锁记录","navigationStyle":"default","navigationBarBackgroundColor":"#FFFFFF","navigationBarTextStyle":"black"}},{"path":"/pages/mine/mine","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationBarTitleText":"我的","navigationStyle":"default","navigationBarBackgroundColor":"#FFFFFF","navigationBarTextStyle":"black"}},{"path":"/pages/workOrder/workOrder","meta":{"isQuit":true,"isTabBar":true},"window":{}},{"path":"/pages/mine/password","meta":{},"window":{"navigationBarTitleText":"修改密码","navigationStyle":"default","navigationBarBackgroundColor":"#FFFFFF","navigationBarTextStyle":"black"}},{"path":"/pages/mine/personnel","meta":{},"window":{"navigationBarTitleText":"地勤人员","navigationStyle":"default","navigationBarBackgroundColor":"#FFFFFF","navigationBarTextStyle":"black"}},{"path":"/pages/mine/control","meta":{},"window":{"navigationBarTitleText":"中控管理","navigationStyle":"default","navigationBarBackgroundColor":"#FFFFFF","navigationBarTextStyle":"black"}},{"path":"/pages/mine/lineChart","meta":{},"window":{}},{"path":"/pages/mine/chart","meta":{},"window":{}},{"path":"/pages/mine/park","meta":{},"window":{"navigationBarTitleText":"停车区管理","navigationStyle":"default","navigationBarBackgroundColor":"#FFFFFF","navigationBarTextStyle":"black"}},{"path":"/pages/mine/feedback","meta":{},"window":{}},{"path":"/pages/mine/repairs","meta":{},"window":{}},{"path":"/pages/index/bike_detail","meta":{},"window":{"navigationBarTitleText":"车辆详情","navigationStyle":"default","navigationBarBackgroundColor":"#FFFFFF","navigationBarTextStyle":"black"}},{"path":"/pages/index/reqair","meta":{},"window":{"navigationBarTitleText":"车辆报修","navigationStyle":"default","navigationBarBackgroundColor":"#FFFFFF","navigationBarTextStyle":"black"}},{"path":"/pages/index/amendCar","meta":{},"window":{"navigationBarTitleText":"修改信息","navigationStyle":"default","navigationBarBackgroundColor":"#FFFFFF","navigationBarTextStyle":"black"}},{"path":"/pages/index/car_position","meta":{},"window":{"navigationBarTitleText":"车辆位置","navigationStyle":"default","navigationBarBackgroundColor":"#FFFFFF","navigationBarTextStyle":"black"}},{"path":"/pages/mine/add_park","meta":{},"window":{}}];
  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}}}});