123456 |
- var isReady=false;var onReadyCallbacks=[];
- var __uniConfig = {"pages":["components/login/Login","pages/index/Index","pages/analysis/Analysis","pages/forecast/Forecast","pages/task/Task","pages/mine/Mine","components/detail/Detail","components/windStationCardDetail/WindStationCardDetail","components/monitor/MatrixMonitor","components/monitor/PersonalMonitor","components/monitor/StatusMonitor","components/monitor/WindMonitor"],"window":{"navigationBarTextStyle":"black","navigationBarTitleText":"sis手机端","navigationBarBackgroundColor":"#F8F8F8","backgroundColor":"#F8F8F8","navigationStyle":"custom"},"tabBar":{"color":"#DEDFE3","selectedColor":"white","borderStyle":"black","backgroundColor":"#1F1F1F","list":[{"pagePath":"pages/index/Index","iconPath":"static/picture/index.png","selectedIconPath":"static/picture/indexRed.png","text":"监视"},{"pagePath":"pages/analysis/Analysis","iconPath":"static/picture/analysis.png","selectedIconPath":"static/picture/analysisRed.png","text":"分析"},{"pagePath":"pages/forecast/Forecast","iconPath":"static/picture/forecast.png","selectedIconPath":"static/picture/forecastRed.png","text":"预测"},{"pagePath":"pages/task/Task","iconPath":"static/picture/task.png","selectedIconPath":"static/picture/taskRed.png","text":"任务"},{"pagePath":"pages/mine/Mine","iconPath":"static/picture/mine.png","selectedIconPath":"static/picture/mineRed.png","text":"我"}]},"splashscreen":{"alwaysShowBeforeRender":true,"autoclose":false},"appname":"sis_phone","compilerVersion":"2.6.5","entryPagePath":"components/login/Login","networkTimeout":{"request":60000,"connectSocket":60000,"uploadFile":60000,"downloadFile":60000}};
- var __uniRoutes = [{"path":"/components/login/Login","meta":{"isQuit":true},"window":{"navigationBarTitleText":"sis登录页面"}},{"path":"/pages/index/Index","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationBarTitleText":"监视"}},{"path":"/pages/analysis/Analysis","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationBarTitleText":"分析"}},{"path":"/pages/forecast/Forecast","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationBarTitleText":"预测"}},{"path":"/pages/task/Task","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationBarTitleText":"任务"}},{"path":"/pages/mine/Mine","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationBarTitleText":"我的"}},{"path":"/components/detail/Detail","meta":{},"window":{}},{"path":"/components/windStationCardDetail/WindStationCardDetail","meta":{},"window":{}},{"path":"/components/monitor/MatrixMonitor","meta":{},"window":{}},{"path":"/components/monitor/PersonalMonitor","meta":{},"window":{}},{"path":"/components/monitor/StatusMonitor","meta":{},"window":{}},{"path":"/components/monitor/WindMonitor","meta":{},"window":{}}];
- __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()})}});
- 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,window:void 0}}}});
|