app-config-service.js 7.3 KB

12345678
  1. var isReady=false;var onReadyCallbacks=[];
  2. var isServiceReady=false;var onServiceReadyCallbacks=[];
  3. var __uniConfig = {"pages":["pages/login/login","pages/index/index","pages/staging/staging","pages/email/email","pages/me/me","pages/emailInfo/emailInfo","pages/newsContent/newsContent","pages/kaoqin/kaoqin","pages/shouwen/shouwen","pages/kqdetail/kqdetail","pages/inbox/inbox","pages/swMessage/swMessage","pages/fwMessage/fwMessage","pages/peoChoose/peoChoose","pages/zerenchushi/zerenchushi","pages/tihuanren/tihuanren","pages/tiaobanPeople/tiaobanPeople","pages/zhibananpai/zhibananpai","pages/weekly/weekly","pages/file/file","pages/dbChuli/dbChuli","pages/inforeview/inforeview","pages/dailyWork/dailyWork","pages/webView/webView","pages/workInfo/workInfo","pages/shenqing/shenqing","pages/office/office","pages/weeklySubmit/weeklySubmit","pages/dbDetail/dbDetail","pages/dbZaici/dbZaiCi"],"window":{"navigationBarTextStyle":"white","navigationBarTitleText":"uni-app","navigationBarBackgroundColor":"#409EFF","backgroundColor":"#409EFF"},"tabBar":{"color":"#B0B2B8","selectedColor":"#409EFF","borderStyle":"black","backgroundColor":"#fff","position":"bottom","spacing":"3px","list":[{"pagePath":"pages/index/index","iconPath":"./static/news.png","selectedIconPath":"./static/news1.png","text":"新闻"},{"pagePath":"pages/staging/staging","iconPath":"./static/app.png","selectedIconPath":"./static/app1.png","text":"工作"},{"pagePath":"pages/email/email","iconPath":"./static/email.png","selectedIconPath":"./static/email1.png","text":"邮箱"},{"pagePath":"pages/me/me","iconPath":"./static/me.png","selectedIconPath":"./static/me1.png","text":"我的"}]},"darkmode":false,"nvueCompiler":"uni-app","nvueStyleCompiler":"uni-app","renderer":"auto","splashscreen":{"alwaysShowBeforeRender":true,"autoclose":false},"appname":"协同办公","compilerVersion":"4.15","entryPagePath":"pages/login/login","networkTimeout":{"request":60000,"connectSocket":60000,"uploadFile":60000,"downloadFile":60000}};
  4. var __uniRoutes = [{"path":"/pages/login/login","meta":{"isQuit":true},"window":{"navigationBarTitleText":"","enablePullDownRefresh":false,"navigationStyle":"custom"}},{"path":"/pages/index/index","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationBarTitleText":"新闻"}},{"path":"/pages/staging/staging","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationBarTitleText":"工作台","enablePullDownRefresh":false}},{"path":"/pages/email/email","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationBarTitleText":"收件箱","enablePullDownRefresh":true,"onReachBottomDistance":0,"bounce":"none","titleNView":{"buttons":[{"fontSize":"16px","text":"更多"}]}}},{"path":"/pages/me/me","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationBarTitleText":"个人中心","enablePullDownRefresh":false}},{"path":"/pages/emailInfo/emailInfo","meta":{},"window":{"navigationBarTitleText":"邮件详情","enablePullDownRefresh":false}},{"path":"/pages/newsContent/newsContent","meta":{},"window":{"navigationBarTitleText":"新闻详情","enablePullDownRefresh":false}},{"path":"/pages/kaoqin/kaoqin","meta":{},"window":{"navigationBarTitleText":"考勤人员","enablePullDownRefresh":true}},{"path":"/pages/shouwen/shouwen","meta":{},"window":{"navigationBarTitleText":"","enablePullDownRefresh":false}},{"path":"/pages/kqdetail/kqdetail","meta":{},"window":{"navigationBarTitleText":"","enablePullDownRefresh":false}},{"path":"/pages/inbox/inbox","meta":{},"window":{"navigationBarTitleText":"发件箱","enablePullDownRefresh":false}},{"path":"/pages/swMessage/swMessage","meta":{},"window":{"navigationBarTitleText":"","enablePullDownRefresh":false}},{"path":"/pages/fwMessage/fwMessage","meta":{},"window":{"navigationBarTitleText":"","enablePullDownRefresh":false}},{"path":"/pages/peoChoose/peoChoose","meta":{},"window":{"navigationBarTitleText":"人员选择","enablePullDownRefresh":false}},{"path":"/pages/zerenchushi/zerenchushi","meta":{},"window":{"navigationBarTitleText":"责任处室","enablePullDownRefresh":false}},{"path":"/pages/tihuanren/tihuanren","meta":{},"window":{"navigationBarTitleText":"替换人","enablePullDownRefresh":false}},{"path":"/pages/tiaobanPeople/tiaobanPeople","meta":{},"window":{"navigationBarTitleText":"调班人员","enablePullDownRefresh":false}},{"path":"/pages/zhibananpai/zhibananpai","meta":{},"window":{"navigationBarTitleText":"值班安排","enablePullDownRefresh":false}},{"path":"/pages/weekly/weekly","meta":{},"window":{"navigationBarTitleText":"周报","enablePullDownRefresh":true,"bounce":"none","titleNView":{"buttons":[{"fontSize":"16px","text":"新增"}]}}},{"path":"/pages/file/file","meta":{},"window":{"navigationBarTitleText":"归档部门","enablePullDownRefresh":false}},{"path":"/pages/dbChuli/dbChuli","meta":{},"window":{"navigationBarTitleText":"督办事项处理","enablePullDownRefresh":false}},{"path":"/pages/inforeview/inforeview","meta":{},"window":{"navigationBarTitleText":"","enablePullDownRefresh":false}},{"path":"/pages/dailyWork/dailyWork","meta":{},"window":{"navigationBarTitleText":"","enablePullDownRefresh":false,"bounce":"none","titleNView":{"buttons":[{"fontSize":"16px","text":"发起"}]}}},{"path":"/pages/webView/webView","meta":{},"window":{"navigationBarTitleText":"","enablePullDownRefresh":false}},{"path":"/pages/workInfo/workInfo","meta":{},"window":{"navigationBarTitleText":"","enablePullDownRefresh":false}},{"path":"/pages/shenqing/shenqing","meta":{},"window":{"navigationBarTitleText":"","enablePullDownRefresh":false}},{"path":"/pages/office/office","meta":{},"window":{"navigationBarTitleText":"文件预览","enablePullDownRefresh":false,"bounce":"none","titleNView":{"buttons":[{"fontSize":"16px","text":"下载"}]}}},{"path":"/pages/weeklySubmit/weeklySubmit","meta":{},"window":{"navigationBarTitleText":"","enablePullDownRefresh":false}},{"path":"/pages/dbDetail/dbDetail","meta":{},"window":{"navigationBarTitleText":""}},{"path":"/pages/dbZaici/dbZaiCi","meta":{},"window":{"navigationBarTitleText":"再次发起"}}];
  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}}}});