require('../common/vendor.js');(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/users/promoter_rank/index"],{2262:function(t,n,e){"use strict";e.r(n);var i=e("ffea"),a=e("b2da");for(var o in a)["default"].indexOf(o)<0&&function(t){e.d(n,t,(function(){return a[t]}))}(o);e("ec75");var s=e("f0c5"),r=Object(s["a"])(a["default"],i["b"],i["c"],!1,null,"18190072",null,!1,i["a"],void 0);n["default"]=r.exports},"47a6":function(t,n,e){"use strict";(function(t,n){var i=e("4ea4");e("4789");i(e("66fd"));var a=i(e("2262"));t.__webpack_require_UNI_MP_PLUGIN__=e,n(a.default)}).call(this,e("bc2e")["default"],e("543d")["createPage"])},"9e06":function(t,n,e){},ae9e:function(t,n,e){"use strict";var i=e("4ea4");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var a=e("d1ea"),o=e("86eb"),s=e("26cb"),r=i(e("19b6")),u={components:{authorize:function(){e.e("components/Authorize").then(function(){return resolve(e("ad23"))}.bind(null,e)).catch(e.oe)},home:function(){Promise.all([e.e("common/vendor"),e.e("components/home/index")]).then(function(){return resolve(e("3b71"))}.bind(null,e)).catch(e.oe)}},mixins:[r.default],data:function(){return{navList:[this.$t("周榜"),this.$t("月榜")],active:0,page:1,limit:10,type:"week",loading:!1,loadend:!1,rankList:[],Two:{},One:{},Three:{},isAuto:!1,isShowAuth:!1}},computed:(0,s.mapGetters)(["isLogin"]),watch:{isLogin:{handler:function(t,n){t&&this.getRanklist()},deep:!0}},onLoad:function(){this.isLogin?this.getRanklist():(0,o.toLogin)()},methods:{onLoadFun:function(){this.getRanklist()},authColse:function(t){this.isShowAuth=t},getRanklist:function(){var t=this;t.loadend||t.loading||(t.loading=!0,(0,a.getRankList)({page:t.page,limit:t.limit,type:t.type}).then((function(n){var e=n.data;t.rankList.push.apply(t.rankList,e),1==t.page&&(t.One=t.rankList.shift()||{},t.Two=t.rankList.shift()||{},t.Three=t.rankList.shift()||{}),t.loadend=e.length