上传代码
This commit is contained in:
11
distribution/unpackage/dist/dev/app-plus/app-config-service.js
vendored
Normal file
11
distribution/unpackage/dist/dev/app-plus/app-config-service.js
vendored
Normal file
@ -0,0 +1,11 @@
|
||||
|
||||
;(function(){
|
||||
let u=void 0,isReady=false,onReadyCallbacks=[],isServiceReady=false,onServiceReadyCallbacks=[];
|
||||
const __uniConfig = {"pages":[],"globalStyle":{"backgroundColor":"#F8F8F8","navigationBar":{"backgroundColor":"#F8F8F8","titleText":"uni-app","type":"default","titleColor":"#000000"},"isNVue":false},"nvue":{"compiler":"uni-app","styleCompiler":"uni-app","flex-direction":"column"},"renderer":"auto","appname":"distribution","splashscreen":{"alwaysShowBeforeRender":true,"autoclose":true},"compilerVersion":"4.36","entryPagePath":"pages/index/index","entryPageQuery":"","realEntryPagePath":"","networkTimeout":{"request":60000,"connectSocket":60000,"uploadFile":60000,"downloadFile":60000},"tabBar":{"position":"bottom","color":"#B4BCC6","selectedColor":"#2588FF","borderStyle":"black","blurEffect":"none","fontSize":"10px","iconWidth":"24px","spacing":"3px","height":"50px","list":[{"pagePath":"pages/index/index","iconPath":"/static/tabbar/index.png","selectedIconPath":"/static/tabbar/index1.png","text":"首页"},{"pagePath":"pages/orderList/orderList","iconPath":"/static/tabbar/order.png","selectedIconPath":"/static/tabbar/order1.png","text":"订单"},{"pagePath":"pages/my/my","iconPath":"/static/tabbar/my.png","selectedIconPath":"/static/tabbar/my1.png","text":"我的"}],"selectedIndex":0,"shown":true},"locales":{},"darkmode":false,"themeConfig":{}};
|
||||
const __uniRoutes = [{"path":"pages/index/index","meta":{"isQuit":true,"isEntry":true,"isTabBar":true,"tabBarIndex":0,"navigationBar":{"backgroundColor":"#5e7dec","titleText":"首页","type":"default"},"isNVue":false}},{"path":"pages/my/my","meta":{"isQuit":true,"isTabBar":true,"tabBarIndex":2,"navigationBar":{"backgroundColor":"#5e7dec","titleText":"我的","type":"default"},"isNVue":false}},{"path":"pages/orderList/orderList","meta":{"isQuit":true,"isTabBar":true,"tabBarIndex":1,"navigationBar":{"backgroundColor":"#5e7dec","titleText":"历史订单查询","type":"default"},"isNVue":false}},{"path":"pages/test/test","meta":{"navigationBar":{"backgroundColor":"#5e7dec","titleText":"测试","type":"default"},"isNVue":false}},{"path":"pages/map/map","meta":{"navigationBar":{"backgroundColor":"#5e7dec","titleText":"配送范围","type":"default"},"isNVue":false}},{"path":"pages/takePhoto/takePhoto","meta":{"navigationBar":{"backgroundColor":"#5e7dec","titleText":"拍照","type":"default"},"isNVue":false}},{"path":"pages/purse/purse","meta":{"navigationBar":{"backgroundColor":"#5e7dec","titleText":"我的钱包","type":"default"},"isNVue":false}},{"path":"pages/login/login","meta":{"navigationBar":{"backgroundColor":"#5e7dec","titleText":"登录","type":"default"},"isNVue":false}},{"path":"pages/register/register","meta":{"navigationBar":{"backgroundColor":"#5e7dec","titleText":"注册","type":"default"},"isNVue":false}},{"path":"pages/authentication/authentication","meta":{"navigationBar":{"backgroundColor":"#5e7dec","titleText":"身份认证","type":"default"},"isNVue":false}},{"path":"pages/changeUserMessage/changeUserMessage","meta":{"navigationBar":{"backgroundColor":"#5e7dec","titleText":"修改用户信息","type":"default"},"isNVue":false}},{"path":"pages/orderDetail/orderDetail","meta":{"navigationBar":{"backgroundColor":"#5e7dec","titleText":"订单详情","type":"default"},"isNVue":false}},{"path":"pages/deliveryDetail/deliveryDetail","meta":{"navigationBar":{"backgroundColor":"#5e7dec","titleText":"订单详情","type":"default"},"isNVue":false}}].map(uniRoute=>(uniRoute.meta.route=uniRoute.path,__uniConfig.pages.push(uniRoute.path),uniRoute.path='/'+uniRoute.path,uniRoute));
|
||||
__uniConfig.styles=[];//styles
|
||||
__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:16})}return{instance:{__uniConfig:__uniConfig,__uniRoutes:__uniRoutes,global:u,window:u,document:u,frames:u,self:u,location:u,navigator:u,localStorage:u,history:u,Caches:u,screen:u,alert:u,confirm:u,prompt:u,fetch:u,XMLHttpRequest:u,WebSocket:u,webkit:u,print:u}}}});
|
||||
})();
|
||||
|
Reference in New Issue
Block a user