HHSLinkSLink/HSLink-app/unpackage/dist/build/app-plus/app-config-service.js

9 lines
8.9 KiB
JavaScript
Raw Normal View History

2020-09-21 18:06:14 +08:00
var isReady=false;var onReadyCallbacks=[];
var isServiceReady=false;var onServiceReadyCallbacks=[];
2020-09-27 15:39:35 +08:00
var __uniConfig = {"pages":["pages/login/login","pages/tabbar/homepage/homepage","pages/tabbar/homepage/data-details","pages/tabbar/follow/follow","pages/tabbar/release/release","pages/tabbar/message/message","pages/tabbar/my/my","pages/tabbar/my/my-article/my-article","pages/notice-edit/notice-edit","pages/tabbar/message/chat-page","pages/person-info-page/person-info-page","pages/tabbar/follow/follow-list","pages/tabbar/follow/fans-list","pages/tabbar/my/settings/settings","pages/tabbar/my/settings/account-security/account-security","pages/tabbar/my/settings/agreement/agreement","pages/tabbar/my/settings/system-information/system-information","pages/tabbar/my/help/help","pages/tabbar/my/edit-info/edit-info","pages/components/avatar/avatar","pages/tabbar/my/collection/collection","pages/tabbar/my/article-management/article-management","pages/tabbar/my/people-management/people-management","pages/tabbar/my/help-answer/help-answer"],"window":{"navigationBarTextStyle":"black","navigationBarTitleText":"uni-app","navigationBarBackgroundColor":"#F8F8F8","backgroundColor":"#F8F8F8"},"tabBar":{"borderStyle":"black","backgroundColor":"#333","color":"#FFFFFF","selectedColor":"#f33e54","list":[{"pagePath":"pages/tabbar/homepage/homepage","iconPath":"static/img/tabbar/home.png","selectedIconPath":"static/img/tabbar/homeactive.png","text":"首页"},{"pagePath":"pages/tabbar/follow/follow","iconPath":"static/img/tabbar/guanzhu.png","selectedIconPath":"static/img/tabbar/guanzhuactive.png","text":"关注"},{"pagePath":"pages/tabbar/release/release","iconPath":"static/img/tabbar/add.png","selectedIconPath":"static/img/tabbar/addactive.png"},{"pagePath":"pages/tabbar/message/message","iconPath":"static/img/tabbar/news.png","selectedIconPath":"static/img/tabbar/newsactive.png","text":"消息"},{"pagePath":"pages/tabbar/my/my","iconPath":"static/img/tabbar/me.png","selectedIconPath":"static/img/tabbar/meactive.png","text":"我"}]},"nvueCompiler":"uni-app","renderer":"auto","splashscreen":{"alwaysShowBeforeRender":true,"autoclose":false},"appname":"HSLink","compilerVersion":"2.8.11","entryPagePath":"pages/login/login","networkTimeout":{"request":60000,"connectSocket":60000,"uploadFile":60000,"downloadFile":60000}};
var __uniRoutes = [{"path":"/pages/login/login","meta":{"isQuit":true},"window":{"enablePullDownRefresh":true,"navigationBarTitleText":"登录","navigationBarBackgroundColor":"#333","navigationBarTextStyle":"white"}},{"path":"/pages/tabbar/homepage/homepage","meta":{"isQuit":true,"isTabBar":true},"window":{"enablePullDownRefresh":true,"navigationBarTitleText":"首页","navigationBarBackgroundColor":"#333","navigationBarTextStyle":"white"}},{"path":"/pages/tabbar/homepage/data-details","meta":{},"window":{"enablePullDownRefresh":true,"navigationBarTitleText":"文章内容","navigationBarBackgroundColor":"#333","navigationBarTextStyle":"white"}},{"path":"/pages/tabbar/follow/follow","meta":{"isQuit":true,"isTabBar":true},"window":{"enablePullDownRefresh":true,"navigationBarTitleText":"关注","navigationBarBackgroundColor":"#333","navigationBarTextStyle":"white"}},{"path":"/pages/tabbar/release/release","meta":{"isQuit":true,"isTabBar":true},"window":{"enablePullDownRefresh":true,"navigationBarTitleText":"发布","navigationBarBackgroundColor":"#333","navigationBarTextStyle":"white","bounce":"none","titleNView":{"buttons":[{"type":"none","text":"发表 ","fontSize":"16px","float":"right"}]}}},{"path":"/pages/tabbar/message/message","meta":{"isQuit":true,"isTabBar":true},"window":{"enablePullDownRefresh":true,"navigationBarTitleText":"消息","navigationBarBackgroundColor":"#333","navigationBarTextStyle":"white"}},{"path":"/pages/tabbar/my/my","meta":{"isQuit":true,"isTabBar":true},"window":{"enablePullDownRefresh":true,"navigationBarTitleText":"我","navigationBarBackgroundColor":"#333","navigationBarTextStyle":"white"}},{"path":"/pages/tabbar/my/my-article/my-article","meta":{},"window":{"enablePullDownRefresh":true,"navigationBarTitleText":"我的文章","navigationBarBackgroundColor":"#333","navigationBarTextStyle":"white"}},{"path":"/pages/notice-edit/notice-edit","meta":{},"window":{"enablePullDownRefresh":true,"navigationBarTitleText":"编辑文章","navigationBarBackgroundColor":"#333","navigationBarTextStyle":"white","bounce":"none","titleNView":{"buttons":[{"type":"none","text":"删除 ","fontSize":"16px","float":"right"}]}}},{"path":"/pages/tabbar/message/chat-page","meta":{},"window":{"enablePullDownRefresh":true,"navigationBarTitleText":"","navigationBarBackgroundColor":"#333","navigationBarTextStyle":"white"}},{"path":"/pages/person-info-page/person-info-page","meta":{},"window":{"enablePullDownRefresh":true,"navigationBarTitleText":"个人主页","navigationBarBackgroundColor":"#333","navigationBarTextStyle":"white","bounce":"none","titleNView":{"buttons":[{"type":"none","text":"私信 ","float":"right","fontSize":"16px"}]}}},{"path":"/pages/tabbar/follow/follow-list","meta":{},"window":{"enablePullDownRefresh":true,"navigationBarTitleText":"关注列表","navigationBarBackgroundColor":"#333","navigationBarTextStyle":"white"}},{"path":"/pages/tabbar/follow/fans-list","meta":{},"window":{"enablePullDownRefresh":true,"navigationBarTitleText":"粉丝列表","navigationBarBackgroundColor":"#333","navigationBarTextStyle":"white"}},{"path":"/pages/tabbar/my/settings/settings","meta":{},"window":{"enablePullDownRefresh":true,"navigationBarTitleText":"设置","navigationBarBackgroundColor":"#333","navigationBarTextStyle":"white"}},{"path":"/pages/tabbar/my/settings/account-security/account-security","meta":{},"window":{"enablePullDownRefresh":true,"navigationBarTitleText":"账号与安全","navigationBarBackgroundColor":"#333","navigationBarTextStyle":"white"}},{"path":"/pages/tabbar/my/settings/agreement/agreement","meta":{},"window":{"enablePullDownRefresh":true,"navigationBarTitleText":"","navigationBarBackgroundColor":"#333","navigationBarTextStyle":"white"}},{"path":"/pages/tabbar/my/settings/system-information/system-information","meta":{},"window":{"enablePullDownRefresh":true,"navigationBarTitleText":"系统信息","navigationBarBackgroundColor":"#333","navigationBarTextStyle":"white"}},{"path":"/pages/tabbar/my/help/help","meta":{},"window":{"enablePullDownRefresh":true,"navigationBarTitleText":"帮助","na
2020-09-21 18:06:14 +08:00
__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: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}}}});