(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-users-promoter_rank-index"],{"104c":function(t,i,e){"use strict";e.r(i);var n=e("64fb"),a=e("5bfe");for(var r in a)["default"].indexOf(r)<0&&function(t){e.d(i,t,(function(){return a[t]}))}(r);e("495d");var o=e("f0c5"),c=Object(o["a"])(a["default"],n["b"],n["c"],!1,null,"2e785e93",null,!1,n["a"],void 0);i["default"]=c.exports},"136f":function(t,i,e){var n=e("24fb");i=n(!1),i.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.Popup[data-v-2e785e93]{flex:1;align-items:center;justify-content:center;width:%?500?%;background-color:#fff;position:fixed;top:%?500?%;left:%?125?%;z-index:1000;border-radius:8px;overflow:hidden}.Popup .logo-auth[data-v-2e785e93]{z-index:-1;position:absolute;left:50%;top:0;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);width:%?150?%;height:%?150?%;display:flex;align-items:center;justify-content:center;border:%?8?% solid #fff;border-radius:50%;background:#fff}.Popup .image[data-v-2e785e93]{height:%?42?%;margin-top:%?-54?%}.Popup .title[data-v-2e785e93]{font-size:%?28?%;color:#000;text-align:center;margin-top:%?30?%;align-items:center;justify-content:center;width:%?500?%;display:flex}.Popup .tip[data-v-2e785e93]{font-size:%?22?%;color:#555;padding:0 %?24?%;margin-top:%?25?%;display:flex;align-items:center;justify-content:center}.Popup .bottom .item[data-v-2e785e93]{width:%?250?%;height:%?80?%;background-color:#eee;text-align:center;line-height:%?80?%;margin-top:%?54?%;font-size:%?24?%;color:#666}.Popup .bottom .item .text[data-v-2e785e93]{font-size:%?24?%;color:#666}.Popup .bottom .item.on[data-v-2e785e93]{width:%?500?%}.flex[data-v-2e785e93]{display:flex;flex-direction:row}.Popup .bottom .item.grant[data-v-2e785e93]{font-weight:700;background-color:#e93323;\r\n /* background-color: var(--view-theme); */border-radius:0;padding:0}.Popup .bottom .item.grant .text[data-v-2e785e93]{font-size:%?28?%;color:#fff}.mask[data-v-2e785e93]{position:fixed;top:0;right:0;left:0;bottom:0;background-color:rgba(0,0,0,.65);z-index:99}',""]),t.exports=i},"1d1cb":function(t,i,e){"use strict";var n=e("7a1c"),a=e.n(n);a.a},"21a2":function(t,i,e){"use strict";e("7a82");var n=e("4ea4").default;Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0,e("14d9");var a=e("33b4"),r=e("26cb"),o=n(e("104c")),c={components:{authorize:o.default},data:function(){return{navList:["周榜","月榜"],active:0,page:1,limit:10,type:"week",loading:!1,loadend:!1,rankList:[],Two:{},One:{},Three:{},isAuto:!1,isShowAuth:!1}},computed:(0,r.mapGetters)(["isLogin","viewColor"]),onLoad:function(){this.isLogin?this.getRanklist():(this.isAuto=!0,this.isShowAuth=!0)},methods:{onLoadFun:function(){this.getRanklist(),this.isShowAuth=!1},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.active}).then((function(i){var e=i.data.list;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