require('../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/users/promoter_rank/index"],{"05ad":function(t,n,e){"use strict";e.d(n,"b",(function(){return o})),e.d(n,"c",(function(){return i})),e.d(n,"a",(function(){}));var o=function(){var t=this.$createElement;this._self._c},i=[]},"0a92":function(t,n,e){"use strict";e.r(n);var o=e("26b2"),i=e.n(o);for(var a in o)["default"].indexOf(a)<0&&function(t){e.d(n,t,(function(){return o[t]}))}(a);n["default"]=i.a},"23a1":function(t,n,e){},"26b2":function(t,n,e){"use strict";(function(t){Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=e("51a2"),i=e("cef1"),a=e("8f59"),r=e("d5b1"),s=getApp(),c={components:{navBar:function(){e.e("components/navBar").then(function(){return resolve(e("820c"))}.bind(null,e)).catch(e.oe)},rankingList:function(){Promise.all([e.e("pages/users/common/vendor"),e.e("pages/users/components/rankingList/index")]).then(function(){return resolve(e("0686"))}.bind(null,e)).catch(e.oe)}},data:function(){return{urlDomain:this.$Cache.get("imgHost"),type:"week",loading:!1,loadend:!1,rankList:[],Two:{},One:{},Three:{},theme:s.globalData.theme,bgColor:"#e93323",isShow:!1,list:[],ranking:0}},computed:(0,a.mapGetters)(["isLogin"]),watch:{isLogin:{handler:function(t,n){t&&this.getRanklist()},deep:!0}},onLoad:function(){this.isLogin?this.getRanklist():(0,i.toLogin)();this.bgColor=(0,r.setThemeColor)(),t.setNavigationBarColor({frontColor:"#ffffff",backgroundColor:this.bgColor})},methods:{getRanklist:function(){var t=this;this.loadend||this.loading||(this.loading=!0,(0,o.getRankList)({type:this.type}).then((function(n){var e=n.data;t.$set(t,"rankList",e),t.loading=!1,t.isShow=!0})).catch((function(n){t.loading=!1})))},getChangeTab:function(t){this.type=t?"month":"week",this.$set(this,"rankList",[]),this.getRanklist()}},onReachBottom:function(){this.getRanklist()}};n.default=c}).call(this,e("df3c")["default"])},"2b95":function(t,n,e){"use strict";(function(t,n){var o=e("47a9");e("1d3c");o(e("3240"));var i=o(e("b39e"));t.__webpack_require_UNI_MP_PLUGIN__=e,n(i.default)}).call(this,e("3223")["default"],e("df3c")["createPage"])},a5e5:function(t,n,e){"use strict";var o=e("23a1"),i=e.n(o);i.a},b39e:function(t,n,e){"use strict";e.r(n);var o=e("05ad"),i=e("0a92");for(var a in i)["default"].indexOf(a)<0&&function(t){e.d(n,t,(function(){return i[t]}))}(a);e("a5e5");var r=e("828b"),s=Object(r["a"])(i["default"],o["b"],o["c"],!1,null,"264c41cc",null,!1,o["a"],void 0);n["default"]=s.exports}},[["2b95","common/runtime","common/vendor"]]]);