app-config-service.js 11 KB

1234567891011
  1. ;(function(){
  2. let u=void 0,isReady=false,onReadyCallbacks=[],isServiceReady=false,onServiceReadyCallbacks=[];
  3. const __uniConfig = {"pages":[],"globalStyle":{"navigationBar":{"backgroundColor":"#22ac38","titleText":"","type":"default","titleColor":"#ffffff"},"isNVue":false},"nvue":{"compiler":"uni-app","styleCompiler":"uni-app","flex-direction":"column"},"renderer":"auto","appname":"书嗨","splashscreen":{"alwaysShowBeforeRender":true,"autoclose":true},"compilerVersion":"4.29","entryPagePath":"pages/login/login","entryPageQuery":"","realEntryPagePath":"","networkTimeout":{"request":60000,"connectSocket":60000,"uploadFile":60000,"downloadFile":60000},"tabBar":{"position":"bottom","color":"#767676","selectedColor":"#1b77f0","borderStyle":"black","blurEffect":"none","fontSize":"10px","iconWidth":"24px","spacing":"3px","height":"50px","list":[{"pagePath":"pages/index/index","iconPath":"/static/tabbar/home.png","selectedIconPath":"/static/tabbar/homeHl.png","text":"首页"},{"pagePath":"pages/order/index","iconPath":"/static/tabbar/order.png","selectedIconPath":"/static/tabbar/orderHl.png","text":"订单"},{"pagePath":"pages/book/index","iconPath":"/static/tabbar/book.png","selectedIconPath":"/static/tabbar/bookHl.png","text":"图书"},{"pagePath":"pages/my/my","iconPath":"/static/tabbar/mine.png","selectedIconPath":"/static/tabbar/mineHl.png","text":"我的"}],"backgroundColor":"#ffffff","selectedIndex":0,"shown":true},"locales":{},"darkmode":false,"themeConfig":{}};
  4. const __uniRoutes = [{"path":"pages/login/login","meta":{"isQuit":true,"isEntry":true,"navigationBar":{"titleText":"登录","type":"default"},"isNVue":false}},{"path":"pages/index/index","meta":{"isQuit":true,"isTabBar":true,"tabBarIndex":0,"navigationBar":{"titleText":"首页","type":"default"},"isNVue":false}},{"path":"pages/my/my","meta":{"isQuit":true,"isTabBar":true,"tabBarIndex":3,"navigationBar":{"titleText":"个人中心","type":"default"},"isNVue":false}},{"path":"pages/order/index","meta":{"isQuit":true,"isTabBar":true,"tabBarIndex":1,"navigationBar":{"titleText":"订单统计","type":"default"},"isNVue":false}},{"path":"pages/book/index","meta":{"isQuit":true,"isTabBar":true,"tabBarIndex":2,"navigationBar":{"titleText":"图书管理","type":"default"},"isNVue":false}},{"path":"pages/index/express/transfer-sign","meta":{"navigationBar":{"titleText":"中转签收","type":"default"},"isNVue":false}},{"path":"pages/index/express/scan","meta":{"navigationBar":{"titleText":"扫码","type":"default"},"isNVue":false}},{"path":"pages/index/express/quick-check","meta":{"navigationBar":{"titleText":"快递验收","type":"default"},"isNVue":false}},{"path":"pages/index/express/quick-unpack","meta":{"navigationBar":{"titleText":"快递拆包","type":"default"},"isNVue":false}},{"path":"pages/index/express/route-exception","meta":{"navigationBar":{"titleText":"路由签收异常","type":"default"},"isNVue":false}},{"path":"pages/index/express/warehouse-sign","meta":{"navigationBar":{"titleText":"到仓签收","type":"default"},"isNVue":false}},{"path":"pages/index/express/weight-modify","meta":{"navigationBar":{"titleText":"重量修改","type":"default"},"isNVue":false}},{"path":"pages/index/audit/confirm-receipt","meta":{"navigationBar":{"titleText":"确认收货","type":"default"},"isNVue":false}},{"path":"pages/index/audit/scan-order","meta":{"navigationBar":{"titleText":"扫书查单","style":"custom","type":"default"},"isNVue":false}},{"path":"pages/index/audit/isbn-order","meta":{"navigationBar":{"titleText":"根据ISBN查询订单","type":"default"},"isNVue":false}},{"path":"pages/index/audit/express-order","meta":{"navigationBar":{"titleText":"根据快递单号或订单号查询","type":"default"},"isNVue":false}},{"path":"pages/index/detail/user-orders","meta":{"navigationBar":{"titleText":"用户所有订单","type":"default"},"isNVue":false}},{"path":"pages/index/detail/index","meta":{"navigationBar":{"titleText":"订单审核","type":"default"},"isNVue":false}},{"path":"pages/index/detail/book-audit","meta":{"navigationBar":{"titleText":"订单图书审核","type":"default"},"isNVue":false}},{"path":"pages/index/detail/batch-audit","meta":{"navigationBar":{"titleText":"批量审核","type":"default"},"isNVue":false}},{"path":"pages/index/audit/sender","meta":{"navigationBar":{"titleText":"根据发件人信息查询订单","type":"default"},"isNVue":false}},{"path":"pages/index/statistic/audit","meta":{"navigationBar":{"titleText":"审核统计","type":"default"},"isNVue":false}},{"path":"pages/index/statistic/after-sale","meta":{"navigationBar":{"titleText":"售后统计","type":"default"},"isNVue":false}},{"path":"pages/index/statistic/package","meta":{"navigationBar":{"titleText":"打包统计","type":"default"},"isNVue":false}},{"path":"pages/index/wms/medium-in","meta":{"navigationBar":{"titleText":"中等入库","type":"default"},"isNVue":false}},{"path":"pages/index/wms/good-in","meta":{"navigationBar":{"titleText":"良品入库","type":"default"},"isNVue":false}},{"path":"pages/index/wms/secondary-in","meta":{"navigationBar":{"titleText":"次品入库","type":"default"},"isNVue":false}},{"path":"pages/index/wms/bad-in","meta":{"navigationBar":{"titleText":"不良入库","style":"custom","type":"default"},"isNVue":false}},{"path":"pages/index/wms/bad-out","meta":{"navigationBar":{"titleText":"不良出库","type":"default"},"isNVue":false}},{"path":"pages/index/wms/bad-out-order","meta":{"navigationBar":{"titleText":"不良出库","type":"default"},"isNVue":false}},{"path":"pages/index/wms/bad-off","meta":{"navigationBar":{"titleText":"不良下架","type":"default"},"isNVue":false}},{"path":"pages/index/wms/order-query","meta":{"navigationBar":{"titleText":"订单查询","type":"default"},"isNVue":false}},{"path":"pages/index/wms/order-query-list","meta":{"navigationBar":{"titleText":"订单查询结果","type":"default"},"isNVue":false}},{"path":"pages/index/wms/location-order","meta":{"navigationBar":{"titleText":"库位订单","type":"default"},"isNVue":false}},{"path":"pages/index/wms/location-order-list","meta":{"navigationBar":{"titleText":"库位订单查询结果","type":"default"},"isNVue":false}},{"path":"pages/index/wms/location-select","meta":{"navigationBar":{"titleText":"库位选择","type":"default"},"isNVue":false}},{"path":"pages/index/wms/warehouse-select","meta":{"navigationBar":{"titleText":"仓库选择","type":"default"},"isNVue":false}},{"path":"pages/index/wms/speedy-check","meta":{"navigationBar":{"titleText":"快速盘点","style":"custom","type":"default"},"isNVue":false}},{"path":"pages/index/offline/check-order","meta":{"navigationBar":{"titleText":"线下核单","type":"default"},"isNVue":false}},{"path":"pages/index/offline/check-record","meta":{"navigationBar":{"titleText":"核单记录","type":"default"},"isNVue":false}},{"path":"pages/index/entry/scan-book","meta":{"navigationBar":{"titleText":"扫码查书","type":"default"},"isNVue":false}},{"path":"pages/index/entry/book-weight","meta":{"navigationBar":{"titleText":"录入书籍重量","type":"default"},"isNVue":false}},{"path":"pages/index/entry/commodity-scan","meta":{"navigationBar":{"titleText":"商品档案扫码","type":"default"},"isNVue":false}},{"path":"pages/index/express/logistics-detail","meta":{"navigationBar":{"titleText":"物流详情","type":"default"},"isNVue":false}},{"path":"pages/index/wms/task-detail","meta":{"navigationBar":{"titleText":"下架任务","style":"custom","type":"default"},"isNVue":false}},{"path":"pages/index/wms/speedy-check-add","meta":{"navigationBar":{"titleText":"选择商品","style":"custom","type":"default"},"isNVue":false}},{"path":"pages/my/page/user-info","meta":{"navigationBar":{"titleText":"用户信息","type":"default"},"isNVue":false}},{"path":"pages/my/page/warehouse","meta":{"navigationBar":{"titleText":"默认仓库","type":"default"},"isNVue":false}},{"path":"pages/my/page/school","meta":{"navigationBar":{"titleText":"学校设置","type":"default"},"isNVue":false}},{"path":"pages/my/page/audit-unfinished","meta":{"navigationBar":{"titleText":"审核未完成","type":"default"},"isNVue":false}},{"path":"pages/my/page/version","meta":{"navigationBar":{"titleText":"版本设置","type":"default"},"isNVue":false}},{"path":"pages/my/page/volume","meta":{"navigationBar":{"titleText":"音频设置","type":"default"},"isNVue":false}},{"path":"pages/my/page/book-display","meta":{"navigationBar":{"titleText":"图书显示设置","type":"default"},"isNVue":false}},{"path":"pages/my/page/password","meta":{"navigationBar":{"titleText":"修改密码","type":"default"},"isNVue":false}},{"path":"pages/order/stat/pending-review","meta":{"navigationBar":{"titleText":"待初审统计","type":"default"},"isNVue":false}},{"path":"pages/order/stat/pending-pick","meta":{"navigationBar":{"titleText":"待拣件统计","type":"default"},"isNVue":false}},{"path":"pages/order/stat/pending-sign","meta":{"navigationBar":{"titleText":"已拣件待签收","type":"default"},"isNVue":false}},{"path":"pages/order/stat/pending-confirm","meta":{"navigationBar":{"titleText":"待确认收货","type":"default"},"isNVue":false}},{"path":"pages/order/stat/pending-audit","meta":{"navigationBar":{"titleText":"已到货待审核","type":"default"},"isNVue":false}},{"path":"pages/order/stat/pending-payment","meta":{"navigationBar":{"titleText":"待付款","type":"default"},"isNVue":false}},{"path":"pages/order/stat/receive-stat","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. })();