app-config-service.js 8.4 KB

12345678
  1. var isReady=false;var onReadyCallbacks=[];
  2. var isServiceReady=false;var onServiceReadyCallbacks=[];
  3. var __uniConfig = {"pages":["pages/Index/Home","pages/Index/IntServ","pages/Index/Mine","pages/BaseTabBar/Home","pages/BaseTabBar/IntServ","pages/BaseTabBar/Mine","pages/CareTabBar/Home","pages/CareTabBar/IntServ","pages/CareTabBar/Mine","pages/ExternalLinks/Index","pagesBase/Write/Write","pagesBase/Write/ReportHiddenDanger","pagesBase/Write/LivelihoodFacts","pagesBase/Write/WeldingOperations","pagesBase/Home/OperatingInstructions","pagesBase/SafeVolunteer/Index","pagesBase/Employ/Index","pagesBase/Employ/View","pagesBase/Notice/Index","pagesBase/Notice/View","pagesBase/Notice/HazardPublicity","pagesBase/Order/List","pagesBase/Order/View","pagesBase/Order/EvaluateView","pagesBase/MyReward/Index","pagesBase/MyReward/Index_Temp","pagesBase/GridmanReward/Index","pagesCare/Write/ReportHiddenDanger","pagesCare/Write/LivelihoodFacts","pagesCare/Write/WeldingOperations","pagesCare/Home/OperatingInstructions","pagesCare/SafeVolunteer/Index","pagesCare/Employ/Index","pagesCare/Employ/View","pagesCare/Notice/Index","pagesCare/Notice/View","pagesCare/Notice/HazardPublicity","pagesCare/Order/List","pagesCare/Order/View","pagesCare/Order/EvaluateView","pagesCare/MyReward/Index","pagesCare/MyReward/Index_Temp","pagesCare/GridmanReward/Index"],"window":{"navigationBarTextStyle":"white","navigationBarTitleText":"随手拍","navigationBarBackgroundColor":"#3e6ffd","backgroundColor":"#F8F8F8"},"tabBar":{"color":"#999999","selectedColor":"#3e6ffd","backgroundColor":"#FFFFFF","list":[{"pagePath":"pages/Index/Home","iconPath":"/static/img/common/ssp.png","selectedIconPath":"/static/img/common/sspSel.png","text":"随手拍"},{"pagePath":"pages/Index/IntServ","iconPath":"/static/img/common/Notice.png","selectedIconPath":"/static/img/common/NoticeSel.png","text":"综合服务"},{"pagePath":"pages/Index/Mine","iconPath":"/static/img/common/user.png","selectedIconPath":"/static/img/common/userSel.png","text":"个人中心"}]},"darkmode":false,"nvueCompiler":"uni-app","nvueStyleCompiler":"weex","renderer":"auto","splashscreen":{"alwaysShowBeforeRender":true,"autoclose":false},"appname":"自贡随手拍","compilerVersion":"4.36","entryPagePath":"pages/Index/Home","networkTimeout":{"request":60000,"connectSocket":60000,"uploadFile":60000,"downloadFile":60000}};
  4. var __uniRoutes = [{"path":"/pages/Index/Home","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationBarTitleText":"自贡随手拍","navigationBarTextStyle":"black","navigationBarBackgroundColor":"#ffffff"}},{"path":"/pages/Index/IntServ","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationBarTitleText":"综合服务"}},{"path":"/pages/Index/Mine","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationBarTitleText":"个人中心"}},{"path":"/pages/BaseTabBar/Home","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/BaseTabBar/IntServ","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/BaseTabBar/Mine","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/CareTabBar/Home","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/CareTabBar/IntServ","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/CareTabBar/Mine","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pages/ExternalLinks/Index","meta":{},"window":{}},{"path":"/pagesBase/Write/Write","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pagesBase/Write/ReportHiddenDanger","meta":{},"window":{"navigationBarTitleText":"线索上报","navigationBarTextStyle":"black","navigationBarBackgroundColor":"#ffffff"}},{"path":"/pagesBase/Write/LivelihoodFacts","meta":{},"window":{"navigationBarTitleText":"线索上报","navigationBarTextStyle":"black","navigationBarBackgroundColor":"#ffffff"}},{"path":"/pagesBase/Write/WeldingOperations","meta":{},"window":{"navigationBarTitleText":"作业申报","navigationBarTextStyle":"black","navigationBarBackgroundColor":"#ffffff"}},{"path":"/pagesBase/Home/OperatingInstructions","meta":{},"window":{"navigationBarTitleText":"操作指引"}},{"path":"/pagesBase/SafeVolunteer/Index","meta":{},"window":{"navigationBarTitleText":"安全志愿服务","navigationBarTextStyle":"black","navigationBarBackgroundColor":"#ffffff"}},{"path":"/pagesBase/Employ/Index","meta":{},"window":{"navigationBarTitleText":"用工服务人员信息"}},{"path":"/pagesBase/Employ/View","meta":{},"window":{"navigationBarTitleText":"详细信息"}},{"path":"/pagesBase/Notice/Index","meta":{},"window":{"navigationBarTitleText":"宣传学习"}},{"path":"/pagesBase/Notice/View","meta":{},"window":{"navigationBarTitleText":"详情"}},{"path":"/pagesBase/Notice/HazardPublicity","meta":{},"window":{"navigationBarTitleText":"线索公示"}},{"path":"/pagesBase/Order/List","meta":{},"window":{"navigationBarTitleText":"我提交的线索"}},{"path":"/pagesBase/Order/View","meta":{},"window":{"navigationBarTitleText":"线索详情"}},{"path":"/pagesBase/Order/EvaluateView","meta":{},"window":{"navigationBarTitleText":"满意度评价"}},{"path":"/pagesBase/MyReward/Index","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pagesBase/MyReward/Index_Temp","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pagesBase/GridmanReward/Index","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pagesCare/Write/ReportHiddenDanger","meta":{},"window":{"navigationBarTitleText":"线索上报","navigationBarTextStyle":"black","navigationBarBackgroundColor":"#ffffff"}},{"path":"/pagesCare/Write/LivelihoodFacts","meta":{},"window":{"navigationBarTitleText":"线索上报","navigationBarTextStyle":"black","navigationBarBackgroundColor":"#ffffff"}},{"path":"/pagesCare/Write/WeldingOperations","meta":{},"window":{"navigationBarTitleText":"作业申报","navigationBarTextStyle":"black","navigationBarBackgroundColor":"#ffffff"}},{"path":"/pagesCare/Home/OperatingInstructions","meta":{},"window":{"navigationBarTitleText":"操作指引"}},{"path":"/pagesCare/SafeVolunteer/Index","meta":{},"window":{"navigationBarTitleText":"安全志愿服务","navigationBarTextStyle":"black","navigationBarBackgroundColor":"#ffffff"}},{"path":"/pagesCare/Employ/Index","meta":{},"window":{"navigationBarTitleText":"用工服务人员信息"}},{"path":"/pagesCare/Employ/View","meta":{},"window":{"navigationBarTitleText":"详细信息"}},{"path":"/pagesCare/Notice/Index","meta":{},"window":{"navigationBarTitleText":"宣传学习"}},{"path":"/pagesCare/Notice/View","meta":{},"window":{"navigationBarTitleText":"详情"}},{"path":"/pagesCare/Notice/HazardPublicity","meta":{},"window":{"navigationBarTitleText":"线索公示"}},{"path":"/pagesCare/Order/List","meta":{},"window":{"navigationBarTitleText":"我提交的线索"}},{"path":"/pagesCare/Order/View","meta":{},"window":{"navigationBarTitleText":"线索详情"}},{"path":"/pagesCare/Order/EvaluateView","meta":{},"window":{"navigationBarTitleText":"满意度评价"}},{"path":"/pagesCare/MyReward/Index","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pagesCare/MyReward/Index_Temp","meta":{},"window":{"navigationStyle":"custom"}},{"path":"/pagesCare/GridmanReward/Index","meta":{},"window":{"navigationStyle":"custom"}}];
  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}}}});