app-config-service.js 6.1 KB

1234567891011
  1. ;(function(){
  2. let u=void 0,isReady=false,onReadyCallbacks=[],isServiceReady=false,onServiceReadyCallbacks=[];
  3. const __uniConfig = {"pages":[],"globalStyle":{"backgroundColor":"#f2f2f2","background":"#f2f2f2","navigationBar":{"backgroundColor":"#ffffff","titleText":"宠物服务商家端","style":"custom","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":"5.07","entryPagePath":"pages/index/index","entryPageQuery":"","realEntryPagePath":"","networkTimeout":{"request":60000,"connectSocket":60000,"uploadFile":60000,"downloadFile":60000},"locales":{},"darkmode":false,"themeConfig":{}};
  4. const __uniRoutes = [{"path":"pages/index/index","meta":{"isQuit":true,"isEntry":true,"navigationBar":{"titleText":"首页","style":"custom","type":"default"},"isNVue":false}},{"path":"pages/service/all/index","meta":{"navigationBar":{"titleText":"全部服务","style":"custom","type":"default"},"isNVue":false}},{"path":"pages/order/list/index","meta":{"navigationBar":{"titleText":"订单列表","style":"custom","type":"default"},"isNVue":false}},{"path":"pages/my/index","meta":{"navigationBar":{"titleText":"我的","style":"custom","type":"default"},"isNVue":false}},{"path":"pages/login/index","meta":{"navigationBar":{"titleText":"登录","style":"custom","type":"default"},"isNVue":false}},{"path":"pages/service/detail/index","meta":{"navigationBar":{"titleText":"服务详情","style":"custom","type":"default"},"isNVue":false}},{"path":"pages/service/review/index","meta":{"navigationBar":{"titleText":"全部评价","style":"custom","type":"default"},"isNVue":false}},{"path":"pages/order/apply/index","meta":{"navigationBar":{"titleText":"订单申请","style":"custom","type":"default"},"isNVue":false}},{"path":"pages/order/detail/index","meta":{"navigationBar":{"titleText":"订单详情","style":"custom","type":"default"},"isNVue":false}},{"path":"pages/store/apply/index","meta":{"navigationBar":{"titleText":"商家入驻","style":"custom","type":"default"},"isNVue":false}},{"path":"pages/my/pet/list/index","meta":{"navigationBar":{"titleText":"宠物档案","style":"custom","type":"default"},"isNVue":false}},{"path":"pages/my/pet/edit/index","meta":{"navigationBar":{"titleText":"编辑宠物","style":"custom","type":"default"},"isNVue":false}},{"path":"pages/my/pet/add/index","meta":{"navigationBar":{"titleText":"新增宠物","style":"custom","type":"default"},"isNVue":false}},{"path":"pages/my/pet/detail/index","meta":{"navigationBar":{"titleText":"宠物详情","style":"custom","type":"default"},"isNVue":false}},{"path":"pages/my/user/list/index","meta":{"navigationBar":{"titleText":"用户管理","style":"custom","type":"default"},"isNVue":false}},{"path":"pages/my/user/edit/index","meta":{"navigationBar":{"titleText":"编辑用户","style":"custom","type":"default"},"isNVue":false}},{"path":"pages/my/user/add/index","meta":{"navigationBar":{"titleText":"新增用户","style":"custom","type":"default"},"isNVue":false}},{"path":"pages/my/user/detail/index","meta":{"navigationBar":{"titleText":"用户详情","style":"custom","type":"default"},"isNVue":false}},{"path":"pages/my/review/list/index","meta":{"navigationBar":{"titleText":"我的评价","style":"custom","type":"default"},"isNVue":false}},{"path":"pages/my/agreement/list/index","meta":{"navigationBar":{"titleText":"协议中心","style":"custom","type":"default"},"isNVue":false}},{"path":"pages/my/agreement/detail/index","meta":{"navigationBar":{"titleText":"协议详情","style":"custom","type":"default"},"isNVue":false}},{"path":"pages/my/settings/index","meta":{"navigationBar":{"titleText":"设置","style":"custom","type":"default"},"isNVue":false}},{"path":"pages/my/settings/profile/index","meta":{"navigationBar":{"titleText":"个人信息","style":"custom","type":"default"},"isNVue":false}},{"path":"pages/my/settings/account-delete/index","meta":{"navigationBar":{"titleText":"账号注销","style":"custom","type":"default"},"isNVue":false}},{"path":"pages/my/settings/change-password/index","meta":{"navigationBar":{"titleText":"修改密码","style":"custom","type":"default"},"isNVue":false}},{"path":"pages/my/complaint/list/index","meta":{"navigationBar":{"titleText":"投诉管理","style":"custom","type":"default"},"isNVue":false}},{"path":"pages/my/complaint/submit/index","meta":{"navigationBar":{"titleText":"提交投诉","style":"custom","type":"default"},"isNVue":false}},{"path":"pages/my/fee/statistics/index","meta":{"navigationBar":{"titleText":"服务费统计","style":"custom","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. })();