SmartParks_visitore/unpackage/resources/__UNI__B35533A/www/app-config-service.js
2025-08-21 11:23:54 +08:00

9 lines
3.6 KiB
JavaScript

var isReady=false;var onReadyCallbacks=[];
var isServiceReady=false;var onServiceReadyCallbacks=[];
var __uniConfig = {"pages":["pages/sys/login/index","pages/sys/msg/index","pages/sys/qrpage/qrpage","pages/sys/camera/camera","pages/sys/work/work","pages/sys/camera/camera","pages/sys/detail/detail"],"window":{"navigationBarTextStyle":"black","navigationBarTitleText":"Aidex","navigationBarBackgroundColor":"#ffffff"},"tabBar":{"color":"#333333","selectedColor":"#4094ff","backgroundColor":"#ffffff","borderStyle":"white","list":[{"pagePath":"pages/sys/msg/index","iconPath":"static/aidex/tabbar/msg_1.png","selectedIconPath":"static/aidex/tabbar/msg_2.png","text":"访客等级"},{"pagePath":"pages/sys/work/work","iconPath":"static/aidex/tabbar/apply_1.png","selectedIconPath":"static/aidex/tabbar/apply_2.png","text":"到访确认"},{"pagePath":"pages/sys/qrpage/qrpage","iconPath":"static/aidex/tabbar/book_1.png","selectedIconPath":"static/aidex/tabbar/book_2.png","text":"扫码登记"},{"pagePath":"pages/sys/user/index","iconPath":"static/aidex/tabbar/my_1.png","selectedIconPath":"static/aidex/tabbar/my_2.png","text":"我的"}]},"preloadRule":{},"darkmode":false,"nvueCompiler":"uni-app","nvueStyleCompiler":"uni-app","renderer":"auto","splashscreen":{"alwaysShowBeforeRender":true,"autoclose":false},"appname":"访客机app","compilerVersion":"4.75","entryPagePath":"pages/sys/login/index","networkTimeout":{"request":60000,"connectSocket":60000,"uploadFile":60000,"downloadFile":60000}};
var __uniRoutes = [{"path":"/pages/sys/login/index","meta":{"isQuit":true},"window":{"navigationBarTitleText":"登录"}},{"path":"/pages/sys/msg/index","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationBarTitleText":"消息","navigationStyle":"custom"}},{"path":"/pages/sys/qrpage/qrpage","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationBarTitleText":"扫码登记","navigationStyle":"custom"}},{"path":"/pages/sys/camera/camera","meta":{},"window":{"navigationBarTitleText":"我的","navigationBarBackgroundColor":"#5b95ff","navigationBarTextStyle":"white","navigationStyle":"custom"}},{"path":"/pages/sys/work/work","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationBarTitleText":"到访确认"}},{"path":"/pages/sys/detail/detail","meta":{},"window":{"navigationBarTitleText":"详情","navigationStyle":"custom"}}];
__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}}}});