app-config-service.js 9.7 KB

12345678
  1. var isReady=false;var onReadyCallbacks=[];
  2. var isServiceReady=false;var onServiceReadyCallbacks=[];
  3. var __uniConfig = {"pages":["pages/tabbar/index/index","pages/tabbar/mine/mine","pages/login/login/login","pages/login/xieyi","pages/login/codeLogin/codeLogin","pages/login/forgot/forgot","pages/release/production/production","pages/release/purchase/purchase","pages/release/waixie/waixie","pages/release/ocean/ocean","pages/good/add","pages/good/manager","pages/good/spec","pages/good/options","pages/good/setting","pages/order/list","pages/order/orderDetail","pages/order/send","pages/order/refund","pages/order/refundDetail","pages/mine/service/purOrder/list","pages/mine/service/purOrder/detail","pages/mine/service/purOrder/msg","pages/mine/service/feed/feed","pages/mine/service/feed/history","pages/mine/service/feed/detail","pages/mine/service/setting/setting","pages/mine/service/setting/log_off","pages/mine/service/setting/about","pages/mine/service/setting/account_info","pages/mine/service/setting/bind_eMail","pages/mine/service/setting/edit_pwd","pages/mine/service/setting/personal","pages/mine/service/address/address","pages/mine/service/address/add","pages/mine/service/detail","pages/mine/service/rule","pages/mine/wallet/add","pages/mine/wallet/wallet","pages/mine/wallet/withdraw","pages/mine/wallet/bankList","pages/mine/message/index","pages/mine/message/list","pages/mine/message/detail","pages/chatroom/chatroom"],"window":{"navigationBarTextStyle":"black","navigationBarTitleText":"uni-app","navigationBarBackgroundColor":"#F8F8F8","backgroundColor":"#F8F8F8"},"darkmode":false,"nvueCompiler":"uni-app","nvueStyleCompiler":"uni-app","renderer":"auto","splashscreen":{"alwaysShowBeforeRender":true,"autoclose":false},"appname":"船百知商家端","compilerVersion":"3.99","entryPagePath":"pages/tabbar/index/index","networkTimeout":{"request":60000,"connectSocket":60000,"uploadFile":60000,"downloadFile":60000}};
  4. var __uniRoutes = [{"path":"/pages/tabbar/index/index","meta":{"isQuit":true},"window":{"navigationBarTitleText":"商城","navigationStyle":"custom"}},{"path":"/pages/tabbar/mine/mine","meta":{},"window":{"navigationBarTitleText":"我的","navigationStyle":"custom","enablePullDownRefresh":true}},{"path":"/pages/login/login/login","meta":{},"window":{"navigationBarTitleText":"","navigationBarBackgroundColor":"#fff"}},{"path":"/pages/login/xieyi","meta":{},"window":{"navigationBarTitleText":"","navigationBarBackgroundColor":"#fff"}},{"path":"/pages/login/codeLogin/codeLogin","meta":{},"window":{"navigationBarTitleText":"","navigationBarBackgroundColor":"#fff"}},{"path":"/pages/login/forgot/forgot","meta":{},"window":{"navigationBarTitleText":"忘记密码"}},{"path":"/pages/release/production/production","meta":{},"window":{"navigationBarTitleText":"生产订单","enablePullDownRefresh":false,"navigationBarBackgroundColor":"#fff"}},{"path":"/pages/release/purchase/purchase","meta":{},"window":{"navigationBarTitleText":"采购订单","enablePullDownRefresh":false,"navigationBarBackgroundColor":"#fff"}},{"path":"/pages/release/waixie/waixie","meta":{},"window":{"navigationBarTitleText":"外协订单","enablePullDownRefresh":false,"navigationBarBackgroundColor":"#fff"}},{"path":"/pages/release/ocean/ocean","meta":{},"window":{"navigationBarTitleText":"海运订单","enablePullDownRefresh":false,"navigationBarBackgroundColor":"#fff"}},{"path":"/pages/good/add","meta":{},"window":{"navigationBarTitleText":"添加商品","enablePullDownRefresh":false,"navigationBarBackgroundColor":"#fff"}},{"path":"/pages/good/manager","meta":{},"window":{"navigationBarTitleText":"管理商品","enablePullDownRefresh":false,"navigationBarBackgroundColor":"#fff"}},{"path":"/pages/good/spec","meta":{},"window":{"navigationBarTitleText":"设置规格","enablePullDownRefresh":false,"navigationBarBackgroundColor":"#fff"}},{"path":"/pages/good/options","meta":{},"window":{"navigationBarTitleText":"添加型号","enablePullDownRefresh":false,"navigationBarBackgroundColor":"#fff"}},{"path":"/pages/good/setting","meta":{},"window":{"navigationBarTitleText":"设置价格和库存","enablePullDownRefresh":false,"navigationBarBackgroundColor":"#fff"}},{"path":"/pages/order/list","meta":{},"window":{"navigationBarTitleText":"","navigationBarBackgroundColor":"#fff","navigationStyle":"custom","enablePullDownRefresh":true}},{"path":"/pages/order/orderDetail","meta":{},"window":{"navigationBarTitleText":"订单详情","enablePullDownRefresh":false,"navigationBarBackgroundColor":"#fff"}},{"path":"/pages/order/send","meta":{},"window":{"navigationBarTitleText":"立即发货","enablePullDownRefresh":false,"navigationBarBackgroundColor":"#fff"}},{"path":"/pages/order/refund","meta":{},"window":{"navigationBarTitleText":"退款/售后","enablePullDownRefresh":true,"navigationBarBackgroundColor":"#fff"}},{"path":"/pages/order/refundDetail","meta":{},"window":{"navigationBarTitleText":"订单详情","enablePullDownRefresh":false,"navigationBarBackgroundColor":"#fff"}},{"path":"/pages/mine/service/purOrder/list","meta":{},"window":{"navigationBarTitleText":"采购订单","navigationBarBackgroundColor":"#fff","enablePullDownRefresh":true}},{"path":"/pages/mine/service/purOrder/detail","meta":{},"window":{"navigationBarTitleText":"订单详情","navigationBarBackgroundColor":"#fff","navigationBarTextStyle":"white","navigationStyle":"custom"}},{"path":"/pages/mine/service/purOrder/msg","meta":{},"window":{"navigationBarTitleText":"报价详情","navigationBarBackgroundColor":"#fff"}},{"path":"/pages/mine/service/feed/feed","meta":{},"window":{"navigationBarTitleText":"意见反馈","navigationStyle":"custom"}},{"path":"/pages/mine/service/feed/history","meta":{},"window":{"navigationBarTitleText":"反馈记录","navigationBarBackgroundColor":"#fff"}},{"path":"/pages/mine/service/feed/detail","meta":{},"window":{"navigationBarTitleText":"反馈详情","navigationBarBackgroundColor":"#fff"}},{"path":"/pages/mine/service/setting/setting","meta":{},"window":{"navigationBarTitleText":"设置","navigationBarBackgroundColor":"#fff"}},{"path":"/pages/mine/service/setting/log_off","meta":{},"window":{"navigationBarTitleText":"账号注销","navigationBarBackgroundColor":"#fff"}},{"path":"/pages/mine/service/setting/about","meta":{},"window":{"navigationBarTitleText":"关于我们","navigationBarBackgroundColor":"#fff"}},{"path":"/pages/mine/service/setting/account_info","meta":{},"window":{"navigationBarTitleText":"账号信息","navigationBarBackgroundColor":"#fff"}},{"path":"/pages/mine/service/setting/bind_eMail","meta":{},"window":{"navigationBarTitleText":"绑定邮箱","navigationBarBackgroundColor":"#fff"}},{"path":"/pages/mine/service/setting/edit_pwd","meta":{},"window":{"navigationBarTitleText":"修改密码","navigationBarBackgroundColor":"#fff"}},{"path":"/pages/mine/service/setting/personal","meta":{},"window":{"navigationBarTitleText":"个人信息","navigationBarBackgroundColor":"#fff"}},{"path":"/pages/mine/service/address/address","meta":{},"window":{"navigationBarTitleText":"地址管理","navigationBarBackgroundColor":"#fff"}},{"path":"/pages/mine/service/address/add","meta":{},"window":{"navigationBarTitleText":"发货地址","navigationBarBackgroundColor":"#fff"}},{"path":"/pages/mine/service/detail","meta":{},"window":{"navigationBarTitleText":"商家详情","navigationBarBackgroundColor":"#fff"}},{"path":"/pages/mine/service/rule","meta":{},"window":{"navigationBarTitleText":"平台规则","navigationBarBackgroundColor":"#fff"}},{"path":"/pages/mine/wallet/add","meta":{},"window":{"navigationBarTitleText":"绑定银行卡","navigationBarBackgroundColor":"#fff"}},{"path":"/pages/mine/wallet/wallet","meta":{},"window":{"navigationBarTitleText":"我的余额","navigationBarBackgroundColor":"#fff"}},{"path":"/pages/mine/wallet/withdraw","meta":{},"window":{"navigationBarTitleText":"提现","navigationBarBackgroundColor":"#fff"}},{"path":"/pages/mine/wallet/bankList","meta":{},"window":{"navigationBarTitleText":"提现账号管理","navigationBarBackgroundColor":"#fff"}},{"path":"/pages/mine/message/index","meta":{},"window":{"navigationBarTitleText":"消息","navigationBarBackgroundColor":"#fff"}},{"path":"/pages/mine/message/list","meta":{},"window":{"navigationBarTitleText":"","navigationBarBackgroundColor":"#fff"}},{"path":"/pages/mine/message/detail","meta":{},"window":{"navigationBarTitleText":"消息详情","navigationBarBackgroundColor":"#fff"}},{"path":"/pages/chatroom/chatroom","meta":{},"window":{"navigationBarTitleText":"","navigationBarBackgroundColor":"#fff"}}];
  5. __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()})}});
  6. __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()})}});
  7. 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}}}});