123456 |
- var isReady=false;var onReadyCallbacks=[];
- var __uniConfig = {"pages":["components/login/Login","pages/index/Index","pages/weatherProphet7/WeatherProphet7","pages/weatherProphet8_15/WeatherProphet8_15","pages/weatherProphet40/WeatherProphet40","components/addressSelect/AddressSelect","components/detail/Detail"],"window":{"navigationBarTextStyle":"black","navigationBarTitleText":"气象预测项目手机版","navigationBarBackgroundColor":"#F8F8F8","backgroundColor":"#F8F8F8","navigationStyle":"custom"},"tabBar":{"color":"#DEDFE3","selectedColor":"white","borderStyle":"black","backgroundColor":"#20587D","list":[{"pagePath":"pages/index/Index","text":"现在"},{"pagePath":"pages/weatherProphet7/WeatherProphet7","text":"7天"},{"pagePath":"pages/weatherProphet8_15/WeatherProphet8_15","text":"8-15天"},{"pagePath":"pages/weatherProphet40/WeatherProphet40","text":"40天"}]},"splashscreen":{"alwaysShowBeforeRender":true,"autoclose":false},"appname":"云端气象采集预测","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":"登录"}},{"path":"/pages/index/Index","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationBarTitleText":"按小时气象预测"}},{"path":"/pages/weatherProphet7/WeatherProphet7","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationBarTitleText":"7天气象预测"}},{"path":"/pages/weatherProphet8_15/WeatherProphet8_15","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationBarTitleText":"8-15天气象预测"}},{"path":"/pages/weatherProphet40/WeatherProphet40","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationBarTitleText":"40天气象预测"}},{"path":"/components/addressSelect/AddressSelect","meta":{},"window":{"navigationBarTitleText":"地址选择"}},{"path":"/components/detail/Detail","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}}}});
|