9 lines
5.1 KiB
JavaScript
9 lines
5.1 KiB
JavaScript
|
|
var isReady=false;var onReadyCallbacks=[];
|
|
var isServiceReady=false;var onServiceReadyCallbacks=[];
|
|
var __uniConfig = {"pages":["pages/login/loginSms","pages/teacher/index","pages/teacher/ActiveList","pages/teacher/setUp","pages/teacher/ManageList","pages/teacher/orderManage","pages/teacher/StudentManagement","pages/index/index","pages/index/ManageList","pages/index/Details","pages/index/orderManage","pages/index/orderDetails","pages/index/cadetManage","pages/index/cadetDetails","pages/index/CoachManage","pages/index/CoachDetails","pages/index/addCoach","pages/index/courseManage","pages/index/coachSelect","pages/index/CourseEditing","pages/index/SchoolEditor"],"window":{"navigationBarTextStyle":"black","navigationBarTitleText":"管理端","navigationBarBackgroundColor":"#fff","backgroundColor":"#F8F8F8"},"darkmode":false,"nvueCompiler":"uni-app","nvueStyleCompiler":"uni-app","renderer":"auto","splashscreen":{"alwaysShowBeforeRender":true,"autoclose":false},"appname":"驾校管理","compilerVersion":"4.08","entryPagePath":"pages/login/loginSms","networkTimeout":{"request":60000,"connectSocket":60000,"uploadFile":60000,"downloadFile":60000}};
|
|
var __uniRoutes = [{"path":"/pages/login/loginSms","meta":{"isQuit":true},"window":{"enablePullDownRefresh":true,"navigationBarTitleText":""}},{"path":"/pages/teacher/index","meta":{},"window":{"enablePullDownRefresh":true,"navigationBarTitleText":"教练端"}},{"path":"/pages/teacher/ActiveList","meta":{},"window":{"enablePullDownRefresh":true,"navigationBarTitleText":"最近活跃"}},{"path":"/pages/teacher/setUp","meta":{},"window":{"enablePullDownRefresh":true,"navigationBarTitleText":"个人信息"}},{"path":"/pages/teacher/ManageList","meta":{},"window":{"enablePullDownRefresh":true,"navigationBarTitleText":"预约记录"}},{"path":"/pages/teacher/orderManage","meta":{},"window":{"enablePullDownRefresh":true,"navigationBarTitleText":"账单管理"}},{"path":"/pages/teacher/StudentManagement","meta":{},"window":{"enablePullDownRefresh":true,"navigationBarTitleText":"学生管理"}},{"path":"/pages/index/index","meta":{},"window":{"enablePullDownRefresh":true,"navigationBarTitleText":"管理端"}},{"path":"/pages/index/ManageList","meta":{},"window":{"enablePullDownRefresh":true,"navigationBarTitleText":"预约管理"}},{"path":"/pages/index/Details","meta":{},"window":{"enablePullDownRefresh":true,"navigationBarTitleText":"预约详情"}},{"path":"/pages/index/orderManage","meta":{},"window":{"enablePullDownRefresh":true,"navigationBarTitleText":"订单管理"}},{"path":"/pages/index/orderDetails","meta":{},"window":{"enablePullDownRefresh":true,"navigationBarTitleText":"订单详情"}},{"path":"/pages/index/cadetManage","meta":{},"window":{"enablePullDownRefresh":true,"navigationBarTitleText":"学员管理"}},{"path":"/pages/index/cadetDetails","meta":{},"window":{"enablePullDownRefresh":true,"navigationBarTitleText":"学员详情"}},{"path":"/pages/index/CoachManage","meta":{},"window":{"enablePullDownRefresh":true,"navigationBarTitleText":"教练管理"}},{"path":"/pages/index/CoachDetails","meta":{},"window":{"enablePullDownRefresh":true,"navigationBarTitleText":"教练详情"}},{"path":"/pages/index/addCoach","meta":{},"window":{"enablePullDownRefresh":true,"navigationBarTitleText":"添加课程"}},{"path":"/pages/index/courseManage","meta":{},"window":{"enablePullDownRefresh":true,"navigationBarTitleText":"课程管理"}},{"path":"/pages/index/coachSelect","meta":{},"window":{"enablePullDownRefresh":true,"navigationBarTitleText":"选择教练"}},{"path":"/pages/index/CourseEditing","meta":{},"window":{"enablePullDownRefresh":true,"navigationBarTitleText":"课程编辑"}},{"path":"/pages/index/SchoolEditor","meta":{},"window":{"enablePullDownRefresh":true,"navigationBarTitleText":"驾校编辑"}}];
|
|
__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}}}});
|