app-config-service.js 5.8 KB

12345678
  1. var isReady=false;var onReadyCallbacks=[];
  2. var isServiceReady=false;var onServiceReadyCallbacks=[];
  3. var __uniConfig = {"pages":["pages/index/startup","pages/index/index","pages/works/index","pages/application/index","pages/profile/profile","pages/user/userinfo/userinfo","pages/gongwen/dblist","pages/gongwen/yblist","pages/gongwen/mysend","pages/gongwen/content","pages/gongwen/meetingNotice","pages/notify/recive","pages/notify/send","pages/notify/content","pages/message/recive","pages/message/send","pages/message/shenhe","pages/message/content","pages/set/set","pages/public/login","pages/public/password"],"window":{"navigationBarTextStyle":"black","navigationBarTitleText":"通用办公","navigationBarBackgroundColor":"#fff","backgroundColor":"#f8f8f8"},"tabBar":{"color":"#C0C4CC","selectedColor":"#0081ff","borderStyle":"black","backgroundColor":"#ffffff","list":[{"pagePath":"pages/index/index","iconPath":"static/tab-home.png","selectedIconPath":"static/tab-home-blue.png","text":"信息"},{"pagePath":"pages/works/index","iconPath":"static/tab-notify.png","selectedIconPath":"static/tab-notify-blue.png","text":"待办"},{"pagePath":"pages/application/index","iconPath":"static/tab-cate.png","selectedIconPath":"static/tab-cate-blue.png","text":"工作"},{"pagePath":"pages/profile/profile","iconPath":"static/tab-my.png","selectedIconPath":"static/tab-my-blue.png","text":"我的"}]},"darkmode":false,"nvueCompiler":"uni-app","nvueStyleCompiler":"weex","renderer":"auto","splashscreen":{"alwaysShowBeforeRender":true,"autoclose":false},"appname":"教育局督导评估系统","compilerVersion":"3.99","entryPagePath":"pages/index/startup","networkTimeout":{"request":60000,"connectSocket":60000,"uploadFile":60000,"downloadFile":60000}};
  4. var __uniRoutes = [{"path":"/pages/index/startup","meta":{"isQuit":true},"window":{"navigationBarTitleText":"","enablePullDownRefresh":false,"titleNView":false}},{"path":"/pages/index/index","meta":{"isQuit":true,"isTabBar":true},"window":{"enablePullDownRefresh":false,"navigationBarTitleText":"信息展示","bounce":"none","pullToRefresh":{"support":false,"style":"default"}}},{"path":"/pages/works/index","meta":{"isQuit":true,"isTabBar":true},"window":{"enablePullDownRefresh":true,"navigationBarTitleText":"待办工作","pullToRefresh":{"support":true,"style":"default"}}},{"path":"/pages/application/index","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationBarTitleText":"工作管理"}},{"path":"/pages/profile/profile","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationBarTitleText":"","titleNView":false}},{"path":"/pages/user/userinfo/userinfo","meta":{},"window":{"navigationBarTitleText":"个人资料"}},{"path":"/pages/gongwen/dblist","meta":{},"window":{"navigationBarTitleText":"待办公文","enablePullDownRefresh":true}},{"path":"/pages/gongwen/yblist","meta":{},"window":{"navigationBarTitleText":"已办工作","enablePullDownRefresh":true}},{"path":"/pages/gongwen/mysend","meta":{},"window":{"navigationBarTitleText":"已发公文","enablePullDownRefresh":true}},{"path":"/pages/gongwen/content","meta":{},"window":{"navigationBarTitleText":"","enablePullDownRefresh":false}},{"path":"/pages/gongwen/meetingNotice","meta":{},"window":{"navigationBarTitleText":"","enablePullDownRefresh":false}},{"path":"/pages/notify/recive","meta":{},"window":{"navigationBarTitleText":"已收通知","enablePullDownRefresh":false}},{"path":"/pages/notify/send","meta":{},"window":{"navigationBarTitleText":"已发通知","enablePullDownRefresh":false}},{"path":"/pages/notify/content","meta":{},"window":{"navigationBarTitleText":"","enablePullDownRefresh":false}},{"path":"/pages/message/recive","meta":{},"window":{"navigationBarTitleText":"已收信息","enablePullDownRefresh":false}},{"path":"/pages/message/send","meta":{},"window":{"navigationBarTitleText":"已发信息","enablePullDownRefresh":false}},{"path":"/pages/message/shenhe","meta":{},"window":{"navigationBarTitleText":"信息审核","enablePullDownRefresh":false}},{"path":"/pages/message/content","meta":{},"window":{"navigationBarTitleText":"","enablePullDownRefresh":false}},{"path":"/pages/set/set","meta":{},"window":{"navigationBarTitleText":"设置"}},{"path":"/pages/public/login","meta":{},"window":{"navigationBarTitleText":"登录","navigationStyle":"custom","titleNView":false,"animationType":"slide-in-bottom"}},{"path":"/pages/public/password","meta":{},"window":{"navigationBarTitleText":"忘记密码","navigationStyle":"custom","titleNView":false,"animationType":"slide-in-bottom"}}];
  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}}}});