9 lines
8.5 KiB
JavaScript
9 lines
8.5 KiB
JavaScript
|
|
var isReady=false;var onReadyCallbacks=[];
|
|
var isServiceReady=false;var onServiceReadyCallbacks=[];
|
|
var __uniConfig = {"pages":["pages/index/index","pages/my/me","pages/target/target","body/login/forgetPassword","body/login/login","body/home/body","body/my/userInfo","body/my/manage","body/my/about","body/setting/setting","body/setting/phone","body/setting/email","body/setting/password","body/history/history","body/history/historyDetail","body/webview/webview","body/report/report","body/curve/curve","Food/count/setting","Food/count/everyMeal","Food/count/everyDay","Food/count/search","Food/search/search","Food/search/list","Food/me/menudetail","Food/me/mymenu","Food/me/record","Food/me/recordetail","pageTwo/cardList/card","pageTwo/bmi/bmi","pageTwo/compk/contrast","pageTwo/compk/pkdetail","pageTwo/score/score","pageTwo/lunging/vitalcapacity","pageTwo/skiping/skip","pageTwo/inheritHeighet/inheritHeighet","pageTwo/charts/charts","pageTwo/history/history","pageTwo/history/historyDetail","pageTwo/devices/search","pageTwo/devices/G02","pageTwo/devices/PCL","pageTwo/devices/PCV02","pageTwo/devices/PCT01","pageTwo/devices/B20","pageTwo/devices/PCL22","pageTwo/devices/PCL22S","pageTwo/devices/pcL06"],"window":{"navigationBarTextStyle":"white","navigationBarTitleText":"","navigationBarBackgroundColor":"#54d87c","backgroundColor":"#fff"},"tabBar":{"color":"#333","fontSize":"14px","selectedColor":"#54d87c","backgroundColor":"#fff","list":[{"pagePath":"pages/index/index","iconPath":"static/shou.png","selectedIconPath":"static/shou2.png","text":"首页"},{"pagePath":"pages/target/target","iconPath":"static/ping.png","selectedIconPath":"static/ping2.png","text":"优选"},{"pagePath":"pages/my/me","iconPath":"static/wo.png","selectedIconPath":"static/wo2.png","text":"我的"}]},"darkmode":false,"nvueCompiler":"uni-app","nvueStyleCompiler":"uni-app","renderer":"auto","splashscreen":{"alwaysShowBeforeRender":true,"autoclose":false},"appname":"Reedaw","compilerVersion":"4.76","entryPagePath":"pages/index/index","networkTimeout":{"request":60000,"connectSocket":60000,"uploadFile":60000,"downloadFile":60000}};
|
|
var __uniRoutes = [{"path":"/pages/index/index","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationBarTitleText":"","enablePullDownRefresh":true,"onReachBottomDistance":50}},{"path":"/pages/my/me","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationBarTitleText":"我的","enablePullDownRefresh":true,"onReachBottomDistance":50}},{"path":"/pages/target/target","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationBarTitleText":""}},{"path":"/body/login/forgetPassword","meta":{},"window":{"navigationBarTitleText":"密码","enablePullDownRefresh":false}},{"path":"/body/login/login","meta":{},"window":{"navigationBarTitleText":"登录","enablePullDownRefresh":false}},{"path":"/body/home/body","meta":{},"window":{"navigationBarTitleText":"身体数据","enablePullDownRefresh":false}},{"path":"/body/my/userInfo","meta":{},"window":{"navigationBarTitleText":"个人资料","enablePullDownRefresh":false}},{"path":"/body/my/manage","meta":{},"window":{"navigationBarTitleText":"成员管理","enablePullDownRefresh":false}},{"path":"/body/my/about","meta":{},"window":{"navigationBarTitleText":"关于我们","enablePullDownRefresh":false}},{"path":"/body/setting/setting","meta":{},"window":{"navigationBarTitleText":"设置","enablePullDownRefresh":false}},{"path":"/body/setting/phone","meta":{},"window":{"navigationBarTitleText":"手机号绑定","enablePullDownRefresh":false}},{"path":"/body/setting/email","meta":{},"window":{"navigationBarTitleText":"邮箱绑定","enablePullDownRefresh":false}},{"path":"/body/setting/password","meta":{},"window":{"navigationBarTitleText":"密码管理","enablePullDownRefresh":false}},{"path":"/body/history/history","meta":{},"window":{"navigationBarTitleText":"测量记录","enablePullDownRefresh":false}},{"path":"/body/history/historyDetail","meta":{},"window":{"navigationBarTitleText":"记录详情","enablePullDownRefresh":false}},{"path":"/body/webview/webview","meta":{},"window":{"navigationBarTitleText":"","enablePullDownRefresh":false}},{"path":"/body/report/report","meta":{},"window":{"navigationBarTitleText":"深度分析"}},{"path":"/body/curve/curve","meta":{},"window":{"navigationBarTitleText":""}},{"path":"/Food/count/setting","meta":{},"window":{"navigationBarTitleText":"设置","enablePullDownRefresh":false}},{"path":"/Food/count/everyMeal","meta":{},"window":{"navigationBarTitleText":"餐食详情","enablePullDownRefresh":false}},{"path":"/Food/count/everyDay","meta":{},"window":{"navigationBarTitleText":"营养分析","enablePullDownRefresh":false}},{"path":"/Food/count/search","meta":{},"window":{"navigationBarTitleText":"食材搜索","enablePullDownRefresh":false}},{"path":"/Food/search/search","meta":{},"window":{"navigationBarTitleText":"搜索"}},{"path":"/Food/search/list","meta":{},"window":{"navigationBarTitleText":""}},{"path":"/Food/me/menudetail","meta":{},"window":{"navigationBarTitleText":"详情"}},{"path":"/Food/me/mymenu","meta":{},"window":{"navigationBarTitleText":""}},{"path":"/Food/me/record","meta":{},"window":{"navigationBarTitleText":"饮食记录"}},{"path":"/Food/me/recordetail","meta":{},"window":{"navigationBarTitleText":"饮食详情"}},{"path":"/pageTwo/cardList/card","meta":{},"window":{"navigationBarTitleText":"健康工具","enablePullDownRefresh":false}},{"path":"/pageTwo/bmi/bmi","meta":{},"window":{"navigationBarTitleText":"bmi测评"}},{"path":"/pageTwo/compk/contrast","meta":{},"window":{"navigationBarTitleText":"数据对比"}},{"path":"/pageTwo/compk/pkdetail","meta":{},"window":{"navigationBarTitleText":"对比详情"}},{"path":"/pageTwo/score/score","meta":{},"window":{"navigationBarTitleText":"中招估分"}},{"path":"/pageTwo/lunging/vitalcapacity","meta":{},"window":{"navigationBarTitleText":"肺活训练"}},{"path":"/pageTwo/skiping/skip","meta":{},"window":{"navigationBarTitleText":"智能跳绳"}},{"path":"/pageTwo/inheritHeighet/inheritHeighet","meta":{},"window":{"navigationBarTitleText":"遗传身高"}},{"path":"/pageTwo/charts/charts","meta":{},"window":{"navigationBarTitleText":"曲线"}},{"path":"/pageTwo/history/history","meta":{},"window":{"navigationBarTitleText":"历史记录"}},{"path":"/pageTwo/history/historyDetail","meta":{},"window":{"navigationBarTitleText":"记录详情"}},{"path":"/pageTwo/devices/search","meta":{},"window":{"navigationBarTitleText":"","enablePullDownRefresh":false}},{"path":"/pageTwo/devices/G02","meta":{},"window":{"navigationBarTitleText":"","enablePullDownRefresh":false}},{"path":"/pageTwo/devices/PCL","meta":{},"window":{"navigationBarTitleText":"","enablePullDownRefresh":false}},{"path":"/pageTwo/devices/PCV02","meta":{},"window":{"navigationBarTitleText":"","enablePullDownRefresh":false}},{"path":"/pageTwo/devices/PCT01","meta":{},"window":{"navigationBarTitleText":"","enablePullDownRefresh":false}},{"path":"/pageTwo/devices/B20","meta":{},"window":{"navigationBarTitleText":"","enablePullDownRefresh":false}},{"path":"/pageTwo/devices/PCL22","meta":{},"window":{"navigationBarTitleText":"","enablePullDownRefresh":false}},{"path":"/pageTwo/devices/PCL22S","meta":{},"window":{"navigationBarTitleText":"","enablePullDownRefresh":false}},{"path":"/pageTwo/devices/pcL06","meta":{},"window":{"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}}}});
|