app-config-service.js 7.6 KB

1234567891011
  1. ;(function(){
  2. let u=void 0,isReady=false,onReadyCallbacks=[],isServiceReady=false,onServiceReadyCallbacks=[];
  3. const __uniConfig = {"pages":[],"globalStyle":{"backgroundColor":"#F8F8F8","navigationBar":{"backgroundColor":"#F8F8F8","titleText":"","type":"default","titleColor":"#000000"},"isNVue":false},"nvue":{"compiler":"uni-app","styleCompiler":"uni-app","flex-direction":"column"},"renderer":"auto","appname":"英途仓库","splashscreen":{"alwaysShowBeforeRender":true,"autoclose":true},"compilerVersion":"4.24","entryPagePath":"pages/index/index","entryPageQuery":"","realEntryPagePath":"","networkTimeout":{"request":60000,"connectSocket":60000,"uploadFile":60000,"downloadFile":60000},"tabBar":{"position":"bottom","color":"#333","selectedColor":"#27ba9b","borderStyle":"white","blurEffect":"none","fontSize":"10px","iconWidth":"24px","spacing":"3px","height":"50px","backgroundColor":"#fff","list":[{"text":"首页","pagePath":"pages/index/index","iconPath":"/static/tabs/home_default.png","selectedIconPath":"/static/tabs/home_selected.png"},{"text":"我的","pagePath":"pages/my/my","iconPath":"/static/tabs/user_default.png","selectedIconPath":"/static/tabs/user_selected.png"}],"selectedIndex":0,"shown":true},"locales":{},"darkmode":false,"themeConfig":{}};
  4. const __uniRoutes = [{"path":"pages/index/index","meta":{"isQuit":true,"isEntry":true,"isTabBar":true,"tabBarIndex":0,"navigationBar":{"titleText":"首页","style":"custom","type":"default","titleColor":"#ffffff"},"isNVue":false}},{"path":"pages/category/category","meta":{"navigationBar":{"titleText":"商品分类","type":"default"},"isNVue":false}},{"path":"pages/cart/cart","meta":{"navigationBar":{"titleText":"购物车","type":"default"},"isNVue":false}},{"path":"pages/cart/cart2","meta":{"navigationBar":{"titleText":"购物车","type":"default"},"isNVue":false}},{"path":"pages/my/my","meta":{"isQuit":true,"isTabBar":true,"tabBarIndex":1,"navigationBar":{"titleText":"我的","style":"custom","type":"default","titleColor":"#ffffff"},"isNVue":false}},{"path":"pages/login/login","meta":{"navigationBar":{"titleText":"登录","type":"default"},"isNVue":false}},{"path":"pages/hot/hot","meta":{"navigationBar":{"titleText":"热门推荐","type":"default"},"isNVue":false}},{"path":"pages/goods/goods","meta":{"navigationBar":{"titleText":"商品详情","type":"default"},"isNVue":false}},{"path":"pages/inbound/inbound","meta":{"bounce":"none","navigationBar":{"titleText":"入库","type":"default","buttons":[{"fontSize":"16px","text":"历史"}]},"isNVue":false}},{"path":"pages/inbound/logList","meta":{"navigationBar":{"titleText":"录入历史","type":"default"},"isNVue":false}},{"path":"pages/weigh/weigh","meta":{"bounce":"none","navigationBar":{"titleText":"称重","type":"default","buttons":[{"fontSize":"16px","text":"历史"}]},"isNVue":false}},{"path":"pages/weigh/logList","meta":{"navigationBar":{"titleText":"录入历史","type":"default"},"isNVue":false}},{"path":"pages/outbound/outbound","meta":{"bounce":"none","navigationBar":{"titleText":"出库","type":"default","buttons":[{"fontSize":"16px","text":"历史"}]},"isNVue":false}},{"path":"pages/outbound/logList","meta":{"navigationBar":{"titleText":"录入历史","type":"default"},"isNVue":false}},{"path":"pages/warehouseScan/warehouseScan","meta":{"bounce":"none","navigationBar":{"titleText":"仓库扫描","type":"default","buttons":[{"fontSize":"16px","text":"历史"}]},"isNVue":false}},{"path":"pages/warehouseScan/logList","meta":{"navigationBar":{"titleText":"录入历史","type":"default"},"isNVue":false}},{"path":"pages/printer/printer","meta":{"bounce":"none","navigationBar":{"titleText":"打印","type":"default","buttons":[{"fontSize":"16px","text":"历史"}]},"isNVue":false}},{"path":"pages/printer/logList","meta":{"navigationBar":{"titleText":"录入历史","type":"default"},"isNVue":false}},{"path":"pages/scanLotno/scanLotno","meta":{"bounce":"none","navigationBar":{"titleText":"托盘/批次","type":"default","buttons":[{"fontSize":"16px","text":"历史"}]},"isNVue":false}},{"path":"pages/scanLotno/logList","meta":{"navigationBar":{"titleText":"录入历史","type":"default"},"isNVue":false}},{"path":"pages/scanLotno/waybillsList","meta":{"navigationBar":{"titleText":"运单列表","type":"default"},"isNVue":false}},{"path":"pages/waybillNo/waybillNo","meta":{"bounce":"none","navigationBar":{"titleText":"库位绑定","type":"default","buttons":[{"fontSize":"16px","text":"历史"}]},"isNVue":false}},{"path":"pages/waybillNo/logList","meta":{"navigationBar":{"titleText":"库位历史","type":"default"},"isNVue":false}},{"path":"pages/pickup/waybillPickUpOrder","meta":{"bounce":"none","navigationBar":{"titleText":"取件单","type":"default","buttons":[{"color":"#007AFF","fontSize":"22px","text":"","fontSrc":"/static/iconfont/iconfont.ttf","float":"right"}]},"isNVue":false}},{"path":"pages/pickup/waybillPickUpDetails","meta":{"navigationBar":{"titleText":"取件详情","type":"default"},"isNVue":false}},{"path":"pages/pickup/waybillPickUpDetail","meta":{"navigationBar":{"titleText":"运单信息","type":"default"},"isNVue":false}},{"path":"pages/waybillDeliveryOrder/waybillDeliveryOrder","meta":{"navigationBar":{"titleText":"派送单","type":"default"},"isNVue":false}},{"path":"pagesMember/settings/settings","meta":{"navigationBar":{"titleText":"设置","type":"default"},"isNVue":false}},{"path":"pagesMember/profile/profile","meta":{"navigationBar":{"titleText":"个人信息","style":"custom","type":"default","titleColor":"#ffffff"},"isNVue":false}},{"path":"pagesMember/address/address","meta":{"navigationBar":{"titleText":"地址管理","type":"default"},"isNVue":false}},{"path":"pagesMember/address-form/address-form","meta":{"navigationBar":{"titleText":"","type":"default"},"isNVue":false}},{"path":"pagesOrder/create/create","meta":{"navigationBar":{"titleText":"填写订单","type":"default"},"isNVue":false}},{"path":"pagesOrder/detail/detail","meta":{"navigationBar":{"titleText":"订单详情","style":"custom","type":"default"},"isNVue":false}},{"path":"pagesOrder/payment/payment","meta":{"navigationBar":{"titleText":"支付结果","type":"default"},"isNVue":false}},{"path":"pagesOrder/list/list","meta":{"navigationBar":{"titleText":"订单列表","type":"default"},"isNVue":false}}].map(uniRoute=>(uniRoute.meta.route=uniRoute.path,__uniConfig.pages.push(uniRoute.path),uniRoute.path='/'+uniRoute.path,uniRoute));
  5. __uniConfig.styles=[];//styles
  6. __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()})}});
  7. __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()})}});
  8. 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}}}});
  9. })();