(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-680a1efe"],{"9e46":function(t,e,a){},c8c6:function(t,e,a){"use strict";a.r(e);var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"app-container"},[a("div",{staticClass:"filter-container"},[a("el-button",{staticClass:"filter-item",attrs:{type:"success",icon:"el-icon-refresh"},on:{click:t.refresh}},[t._v("刷新")])],1),a("div",{staticClass:"back-white padding-lg margin-top"},[a("el-table",{directives:[{name:"loading",rawName:"v-loading",value:t.listLoading,expression:"listLoading"}],staticStyle:{width:"100%"},attrs:{"header-cell-style":{background:"#eef1f6",color:"#606266"},data:t.list,border:"",fit:"","highlight-current-row":""}},[a("el-table-column",{attrs:{label:"排名",align:"center",width:"80"},scopedSlots:t._u([{key:"default",fn:function(e){e.row;var i=e.$index;return[a("div",{staticClass:"rank-container"},[a("div",{staticClass:"rank-number",class:t.getRankClass(i+1)},[t._v(" "+t._s(i+1)+" ")])])]}}])}),a("el-table-column",{attrs:{label:"用户信息",align:"center",width:"200px"},scopedSlots:t._u([{key:"default",fn:function(e){var i=e.row;return[a("div",{staticClass:"user-info-container"},[a("div",{staticClass:"user-avatar-wrapper"},[a("img",{staticClass:"user-avatar",attrs:{src:i.avatar,alt:"用户头像"}})]),a("div",{staticClass:"user-details"},[a("div",{staticClass:"user-name"},[a("span",{staticClass:"name-text"},[t._v(t._s(i.nickname))])]),i.mobile?a("div",{staticClass:"user-phone"},[a("i",{staticClass:"el-icon-phone"}),a("span",[t._v(t._s(t.formatPhone(i.mobile)))])]):t._e()])])]}}])}),a("el-table-column",{attrs:{label:"分红用户",align:"center"},scopedSlots:t._u([{key:"default",fn:function(e){var i=e.row;return[i.is_abonus_user?a("el-tag",{attrs:{type:"warning",size:"mini"}},[t._v("分红用户")]):a("span",[t._v("-")])]}}])}),a("el-table-column",{attrs:{label:"贡献值",align:"center"},scopedSlots:t._u([{key:"default",fn:function(e){var i=e.row;return[i.contribution_value?a("el-tag",{attrs:{type:"success",size:"medium"}},[t._v(" "+t._s(i.contribution_value)+" ")]):a("span",[t._v("-")])]}}])}),a("el-table-column",{attrs:{label:"参与时间",property:"otime",align:"center"}}),a("el-table-column",{attrs:{label:"用户ID",property:"id",align:"center"}})],1),a("pagination",{directives:[{name:"show",rawName:"v-show",value:t.total>0,expression:"total > 0"}],attrs:{total:t.total,page:t.listQuery.page,limit:t.listQuery.limit},on:{"update:page":function(e){return t.$set(t.listQuery,"page",e)},"update:limit":function(e){return t.$set(t.listQuery,"limit",e)},pagination:t.getList}})],1),a("div",{staticClass:"padding-lg flex justify-center"},[a("el-button",{on:{click:t.onBack}},[t._v("返回")])],1),a("copyright")],1)},s=[],n=(a("027f"),a("ec26"),a("333d")),r={name:"SuperMaihuoDetail",components:{Pagination:n["a"]},data:function(){return{list:[],total:0,listLoading:!1,listQuery:{id:""}}},created:function(){this.listQuery.id=this.$route.query.id,this.getList()},methods:{getRankClass:function(t){return 1===t?"rank-first":2===t?"rank-second":3===t?"rank-third":"rank-normal"},formatPhone:function(t){return t?t.replace(/(\d{3})\d{4}(\d{4})/,"$1****$2"):""},search:function(){this.listQuery.page=1,this.getList()},refresh:function(){this.getList()},onBack:function(){this.$router.go(-1)},getList:function(){var t=this;this.listLoading=!0,this.api.get("super_maihuo/group/detail",this.listQuery).then((function(e){t.listLoading=!1,1==e.code?(t.total=parseInt(e.data.total),t.list=e.data.user_list):t.$util.error(e.message||e.msg||"数据异常")})).catch((function(){t.listLoading=!1,t.$util.error("网络异常")}))}}},l=r,o=(a("d277"),a("3d7a")),c=Object(o["a"])(l,i,s,!1,null,"6e8d5498",null);e["default"]=c.exports},d277:function(t,e,a){"use strict";a("9e46")}}]);