webpackJsonp([62],{"3uTW":function(t,e){},S0Yp:function(t,e,s){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a={data:function(){return{au_nums:"",noneDone:!1,hasAuno:!1,stime:"",etime:"",infoList:[],loading:!1,sort_type:1,page:1,page_size:0,total:0,timeList:[{id:1,name:"昨日",time:[this.getDay(-1,!1),this.getDay(-1,!1)]},{id:2,name:"近7天",time:[this.getDay(-7,!1),this.getDay(0,!1)]},{id:3,name:"近30天",time:[this.getDay(-30,!1),this.getDay(0,!1)]}],day:1}},created:function(){this.init(1)},methods:{toDetail:function(t){var e=this.$router.resolve({path:"/userDetail/"+t.uid});window.open(e.href,"_blank")},toUrl:function(t){window.open(t,"_blank")},sortEvent:function(t){if(this.hasAuno||this.noneDone)return this.$message.closeAll(),this.$cookie.getCookie("isLogin")?(this.$message.closeAll(),void this.$message({message:"当前等级暂不支持使用该功能,请升级会员后操作",type:"warning"})):void this.$Login({visible:!0});this.sort_type==t||(this.sort_type=t,this.init(1))},handleCurrentChange:function(t){this.init(t)},init:function(t){var e=this;if(this.$message.closeAll(),this.noneDone||this.hasAuno)return this.$cookie.getCookie("isLogin")?(this.$message.closeAll(),void this.$message({message:"当前等级暂不支持使用该功能,请升级会员后操作",type:"warning"})):void this.$Login({visible:!0});this.infoList=[],this.loading=!0,this.page=t,this.$axios.get(this.URL.BASEURL+this.URL.kuai_valueList,{params:{page:t,pageSize:20,time_sort:this.day,sort_type:this.sort_type}}).then(function(t){if(e.loading=!1,4403==(t=t.data).auno?(e.au_nums=t.au_nums,e.hasAuno=!0):e.hasAuno=!1,e.noneDone=4003==t.errno,t&&0==t.errno){var s=t.rst;e.infoList=s.data,e.page_size=t.rst.pageInfo.size,e.total=t.rst.pageInfo.total}else 4003!=t.errno&&e.$message({message:t.err,type:"warning"})}).catch(function(t){e.loading=!1})},followWhEvent:function(t,e,s){var a=this;this.$exportNumber({type_id:5,cb:function(){a.$axios({url:a.URL.BASEURL+a.URL[t],method:"post",data:{user_id:e.uid.toFixed()}}).then(function(e){(e=e.data)&&0==e.errno?a.infoList[s].is_follow="kuai_follow_delete"!=t:a.$message({message:e.err,type:"warning"})}).catch(function(t){})}})}}},i={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loading,expression:"loading"}],staticClass:"DirectSeeding",attrs:{"element-loading-text":"拼命加载中","element-loading-spinner":"el-icon-loading"}},[a("div",{staticClass:"search_condition"},[a("div",{staticClass:"common_screen clear"},[a("div",{staticClass:"common_screen_title"},[t._v("时间")]),t._v(" "),a("ul",{staticClass:"common_select_time clear"},t._l(t.timeList,function(e,s){return a("li",{key:"time"+s,class:["common_select_time_item",t.day==e.id?"common_select_time_item_active":""],on:{click:function(s){t.day=e.id,t.init(1)}}},[t._v(t._s(e.name))])}),0)]),t._v(" "),a("el-popover",{staticStyle:{float:"right","margin-top":"-7px"},attrs:{placement:"bottom",width:"400",trigger:"hover"}},[a("div",{staticClass:"common_notice"},[a("p",[t._v("数据说明")]),t._v(" "),a("div",[a("span",{staticClass:"before"},[t._v("挂榜次数:")]),t._v("达人直播期间,挂榜第一名在进行带货直播。")]),t._v(" "),a("div",[a("span",{staticClass:"before"},[t._v("榜1礼物收入:")]),t._v("榜1用户整场直播收到的礼物金额。")]),t._v(" "),a("div",[a("span",{staticClass:"before"},[t._v("榜1成交额:")]),t._v("榜1用户整场直播带货的成交额。")]),t._v(" "),a("div",[a("span",{staticClass:"before"},[t._v("榜1ROI:")]),t._v("榜1成交额/成为榜1的支出。")]),t._v(" "),a("div",[a("span",{staticClass:"before"},[t._v("综合挂榜ROI:")]),t._v("由榜1,榜2,榜3的ROI加权计算得到。")])]),t._v(" "),a("el-button",{staticClass:"common_tooltip",attrs:{slot:"reference"},slot:"reference"},[t._v("数据说明"),a("img",{staticClass:"common_tooltip_question",attrs:{src:s("amoS"),alt:""}}),a("img",{staticClass:"common_tooltip_question1",attrs:{src:s("M1pF"),alt:""}})])],1)],1),t._v(" "),t.noneDone?t._e():a("div",[a("div",{staticClass:"table_div"},[a("table",[a("tr",[a("td",[t._v("排名")]),t._v(" "),a("td",{staticStyle:{"text-align":"left","padding-left":"80px"}},[t._v("达人")]),t._v(" "),a("td",[a("div",{staticClass:"th_title",class:["common_select_td",7==t.sort_type?"common_selected_down":""],on:{click:function(e){return t.sortEvent(7)}}},[t._v("\n 挂榜场次\n "),t._m(0)])]),t._v(" "),a("td",[a("div",{staticClass:"th_title",class:["common_select_td",5==t.sort_type?"common_selected_down":""],on:{click:function(e){return t.sortEvent(5)}}},[t._v("\n 榜1礼物收入\n "),t._m(1)])]),t._v(" "),a("td",[a("div",{staticClass:"th_title",class:["common_select_td",2==t.sort_type?"common_selected_down":""],on:{click:function(e){return t.sortEvent(2)}}},[t._v("\n 榜1成交额\n "),t._m(2)])]),t._v(" "),a("td",[a("div",{staticClass:"th_title",class:["common_select_td",1==t.sort_type?"common_selected_down":""],on:{click:function(e){return t.sortEvent(1)}}},[t._v("\n 榜1ROI\n "),t._m(3)])]),t._v(" "),a("td",[a("div",{staticClass:"th_title",class:["common_select_td",4==t.sort_type?"common_selected_down":""],on:{click:function(e){return t.sortEvent(4)}}},[t._v("\n 综合挂榜ROI\n "),t._m(4)])]),t._v(" "),a("td",[a("div",{staticClass:"th_title",class:["common_select_td",3==t.sort_type?"common_selected_down":""],on:{click:function(e){return t.sortEvent(3)}}},[t._v("\n 在线峰值\n "),t._m(5)])]),t._v(" "),a("td",[t._v("操作")])]),t._v(" "),t._l(t.infoList,function(e,i){return a("tr",{key:i,staticStyle:{cursor:"pointer"},on:{click:function(s){return t.toDetail(e)}}},[a("td",[(t.page-1)*t.page_size+i+1==1?a("img",{staticClass:"rank_count_icon",attrs:{src:s("uIsc"),alt:""}}):(t.page-1)*t.page_size+i+1==2?a("img",{staticClass:"rank_count_icon",attrs:{src:s("37vy"),alt:""}}):(t.page-1)*t.page_size+i+1==3?a("img",{staticClass:"rank_count_icon",attrs:{src:s("u/A1"),alt:""}}):a("div",{staticClass:"rank_count"},[a("div",[t._v(t._s((t.page-1)*t.page_size+i+1))])])]),t._v(" "),a("td",{staticStyle:{width:"200px"}},[a("div",{staticClass:"drBox"},[a("div",{staticClass:"drInfoBox"},[a("div",{staticClass:"drImg"},[a("img",{staticClass:"userImg",attrs:{src:e.avatar_url,alt:""}})]),t._v(" "),a("div",{staticClass:"drInfo"},[a("div",{staticClass:"drName"},[a("el-tooltip",{attrs:{effect:"dark",content:e.nickname,placement:"top"}},[a("p",[t._v(t._s(e.nickname))])])],1),t._v(" "),a("div",{staticClass:"drId"},[t._v("粉丝数 "+t._s(e.follower_count||0==e.follower_count?t.$NumberHandle(e.follower_count):"-"))])])])])]),t._v(" "),a("td",{class:7==t.sort_type?"common_selected":""},[t._v(t._s(e.live_count||0==e.live_count?t.$NumberHandle(e.live_count):"-"))]),t._v(" "),a("td",{class:5==t.sort_type?"common_selected":""},[t._v(t._s(e.top1_avg_money||0==e.top1_avg_money?t.$NumberHandle(e.top1_avg_money):"-"))]),t._v(" "),a("td",{class:2==t.sort_type?"common_selected":""},[t._v(t._s(e.top1_sell_money||0==e.top1_sell_money?t.$NumberHandle(e.top1_sell_money):"-"))]),t._v(" "),a("td",{class:1==t.sort_type?"common_selected":""},[t._v(t._s(e.top1_avg_value||0==e.top1_avg_value?t.$NumberHandle(e.top1_avg_value):"-"))]),t._v(" "),a("td",{class:4==t.sort_type?"common_selected":""},[t._v(t._s(e.list_value||0==e.list_value?t.$NumberHandle(e.list_value):"-"))]),t._v(" "),a("td",{class:3==t.sort_type?"common_selected":""},[t._v(t._s(e.max_user_count||0==e.max_user_count?t.$NumberHandle(e.max_user_count):"-"))]),t._v(" "),a("td",[a("el-tooltip",{staticClass:"operation",attrs:{effect:"dark",content:1==e.is_follow?"取消关注":"关注达人",placement:"top-start"}},[a("div",{on:{click:function(s){return s.stopPropagation(),t.followWhEvent(e.is_follow?"kuai_follow_delete":"kuai_follow_create",e,i)}}},[1==e.is_follow?a("img",{staticClass:"followIcon",attrs:{src:s("fXRA"),alt:""}}):a("img",{staticClass:"followIcon",attrs:{src:s("OSUF"),alt:""}})])])],1)])})],2)]),t._v(" "),t.loading||0!=t.infoList.length?t._e():a("div",{staticClass:"noHaveDate"},[t._v("暂无数据")]),t._v(" "),!t.hasAuno&&0!=t.total||t.hasAuno&&t.au_nums<=t.total&&t.page>1?a("div",{staticClass:"bottom"},[a("span",{staticClass:"total"},[t._v("共"+t._s(t.total)+"条结果")]),t._v(" "),a("el-pagination",{attrs:{background:"","current-page":t.page,"page-size":t.page_size,layout:"prev, pager, next",total:t.total},on:{"current-change":t.handleCurrentChange}})],1):t._e()]),t._v(" "),t.infoList.length>0&&!t.noneDone&&t.hasAuno&&!t.loading?a("list-permission",{attrs:{au_nums:t.au_nums}}):t._e(),t._v(" "),!t.hasAuno&&t.noneDone?a("nopermission"):t._e()],1)},staticRenderFns:[function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"table_sortable table_sortable_single"},[e("i",{staticClass:"el-icon-caret-bottom"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"table_sortable table_sortable_single"},[e("i",{staticClass:"el-icon-caret-bottom"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"table_sortable table_sortable_single"},[e("i",{staticClass:"el-icon-caret-bottom"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"table_sortable table_sortable_single"},[e("i",{staticClass:"el-icon-caret-bottom"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"table_sortable table_sortable_single"},[e("i",{staticClass:"el-icon-caret-bottom"})])},function(){var t=this.$createElement,e=this._self._c||t;return e("div",{staticClass:"table_sortable table_sortable_single"},[e("i",{staticClass:"el-icon-caret-bottom"})])}]};var o=s("C7Lr")(a,i,!1,function(t){s("3uTW")},"data-v-451da176",null);e.default=o.exports}});