You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
8 lines
3.5 KiB
8 lines
3.5 KiB
|
|
var isReady=false;var onReadyCallbacks=[];
|
|
var isServiceReady=false;var onServiceReadyCallbacks=[];
|
|
var __uniConfig = {"pages":["pages/client/index","pages/trade/index","pages/mall/index","pages/mine/index","pages/login/index","pages/agreement/index"],"window":{"navigationBarTextStyle":"black","navigationBarTitleText":"uni-app","navigationBarBackgroundColor":"#F8F8F8","backgroundColor":"#F8F8F8"},"tabBar":{"color":"#888","selectedColor":"#007AFF","borderStyle":"white","backgroundColor":"#f9f9f9","list":[{"pagePath":"pages/client/index","iconPath":"static/imgs/tabbar/client-gray.png","selectedIconPath":"static/imgs/tabbar/client-blue.png","text":"客户"},{"pagePath":"pages/trade/index","iconPath":"static/imgs/tabbar/trade-gray.png","selectedIconPath":"static/imgs/tabbar/trade-blue.png","text":"交易"},{"pagePath":"pages/mall/index","iconPath":"static/imgs/tabbar/mall-gray.png","selectedIconPath":"static/imgs/tabbar/mall-blue.png","text":"纸商城"},{"pagePath":"pages/mine/index","iconPath":"static/imgs/tabbar/mine-gray.png","selectedIconPath":"static/imgs/tabbar/mine-blue.png","text":"我的"}]},"networkTimeout":{"request":6000,"connectSocket":60000,"uploadFile":60000,"downloadFile":60000},"nvueCompiler":"uni-app","nvueStyleCompiler":"uni-app","renderer":"auto","splashscreen":{"alwaysShowBeforeRender":true,"autoclose":false},"appname":"uniapp-demo","compilerVersion":"3.3.3","entryPagePath":"pages/client/index"};
|
|
var __uniRoutes = [{"path":"/pages/client/index","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationBarTitleText":"客户","navigationStyle":"custom"}},{"path":"/pages/trade/index","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationBarTitleText":"交易"}},{"path":"/pages/mall/index","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationBarTitleText":"商城"}},{"path":"/pages/mine/index","meta":{"isQuit":true,"isTabBar":true},"window":{"navigationBarTitleText":"我的"}},{"path":"/pages/login/index","meta":{},"window":{"navigationBarTitleText":"登录","enablePullDownRefresh":false,"navigationStyle":"custom"}},{"path":"/pages/agreement/index","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}}}});
|