问星数据dist打包,线上使用; 源码在bigData仓库

20.70fb33faff5723a4646c.js 17KB

1
  1. webpackJsonp([20],{"+1O4":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=i("aA9S"),n=i.n(a),s={components:{reply:i("hrvl").a},data:function(){return{au_nums:"",noneDone:!1,hasAuno:!1,search_key_word:"",day:30,page_size:36,pager_count:5,total:200,page:1,infoList:[],loading:!1,detailFlag:!1,sort_type:"digg_count",detail_id:"",hrOneLevelTag:[],hrOneLevelTagList:[],fanModel:0,fan:{label:0,value:"粉丝量",min:"",max:""},fanRange:[{label:0,value:"不限",min:"",max:""},{label:1,min:10,max:50,value:"10-50万"},{label:2,min:50,max:100,value:"50-100万"},{label:3,min:100,max:500,value:"100-500万"},{label:4,min:500,max:1e3,value:"500-1000万"},{label:5,min:1e3,max:"",value:"1000万以上"}]}},created:function(){this.search_key_word=this.$store.state.keyword.data,this.getOneLevelTag(),this.init(1)},methods:{changeSelect:function(t){var e=t.val,i=t.title,a=t.model,s=t.list,o=n()({},this[s].filter(function(t){return t.label==e})[0]);"不限"==o.value?this[a]=n()(o,{value:i}):this[a]=n()(o,{value:i+": "+o.value}),this.init(1)},getOneLevelTag:function(){var t=this;this.$axios.get(this.URL.BASEURL+this.URL.tag_signList,{params:{id:0}}).then(function(e){(e=e.data)&&0==e.errno?t.hrOneLevelTagList=e.rst:t.$message({message:e.err,type:"warning"})}).catch(function(t){})},init:function(t){var e=this;if(this.$message.closeAll(),this.hasAuno||this.noneDone)return this.$cookie.getCookie("isLogin")?(this.$message.closeAll(),void this.$message({message:"当前等级暂不支持使用该功能,请升级会员后操作",type:"warning"})):void this.$Login({visible:!0});this.infoList=[],this.total=0,this.loading=!0,this.page=t,this.$axios.get(this.URL.BASEURL+this.URL.videoCommentGodReply,{params:{page:this.page,pagesize:this.page_size,keyword:this.search_key_word,day:this.day,sort:this.sort_type,sign_ids:this.hrOneLevelTag,fan_max:1e4*this.fan.max,fan_min:1e4*this.fan.min}}).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 i=t.rst.data;e.total=t.rst.pageInfo.total,e.infoList=i,e.pager_count=t.rst.pageInfo.pages}else 4003!=t.errno&&e.$message({message:t.err,type:"warning"})}).catch(function(t){e.loading=!1})},handleCurrentChange:function(t){this.init(t)}},computed:{search_flag:function(){return this.$store.state.keyword.flag}},watch:{search_flag:function(){"/materiaReply"==this.$route.path&&(this.search_key_word=this.$store.state.keyword.data,this.init(1))}}},o={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"}],attrs:{"element-loading-text":"拼命加载中","element-loading-spinner":"el-icon-loading"}},[a("div",{staticClass:"search_condition"},[a("div",{staticClass:"clear"},[a("div",{staticClass:"common_search_box clear",staticStyle:{float:"left"}},[a("img",{staticClass:"icon",attrs:{src:i("AJUD"),alt:""}}),t._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:t.search_key_word,expression:"search_key_word"}],staticClass:"search_input",attrs:{placeholder:"请输入神回复"},domProps:{value:t.search_key_word},on:{keydown:function(e){return!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter")?null:t.init(1)},input:function(e){e.target.composing||(t.search_key_word=e.target.value)}}}),t._v(" "),t.search_key_word?a("i",{staticClass:"clearText el-icon-circle-close",on:{click:function(e){t.search_key_word="",t.init(1)}}}):t._e(),t._v(" "),a("img",{staticClass:"search_icon",attrs:{src:i("JWdz"),alt:""},on:{click:function(e){return t.init(1)}}})]),t._v(" "),a("el-popover",{staticStyle:{float:"right","margin-top":"20px"},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("发布时间:")]),t._v("代表最新一条神回复的时间,而不是视频发布时间。")]),t._v(" "),a("div",[a("span",{staticClass:"before"},[t._v("点赞:")]),t._v("代表同样的神回复在不同视频点赞量的和。")])]),t._v(" "),a("el-button",{staticClass:"common_tooltip",attrs:{slot:"reference"},slot:"reference"},[t._v("数据说明"),a("img",{staticClass:"common_tooltip_question",attrs:{src:i("amoS"),alt:""}}),a("img",{staticClass:"common_tooltip_question1",attrs:{src:i("M1pF"),alt:""}})])],1)],1),t._v(" "),a("div",{staticClass:"common_screen clear"},[a("div",{staticClass:"common_screen_title"},[t._v("达人标签")]),t._v(" "),a("ul",{staticClass:"common_screen_info"},[a("li",{class:0==t.hrOneLevelTag.length?"common_screen_active":"",on:{click:function(e){t.hrOneLevelTag=[],t.init(1)}}},[t._v("不限")]),t._v(" "),t._l(t.hrOneLevelTagList,function(e,i){return a("li",{key:"hrOneLevelTagList"+i,class:t.hrOneLevelTag[0]==e.id?"common_screen_active":"",on:{click:function(i){t.hrOneLevelTag[0]=e.id,t.init(1)}}},[t._v(t._s(e.name))])})],2)]),t._v(" "),a("div",{staticClass:"common_screen clear"},[a("div",{staticClass:"common_screen_title"},[t._v("粉丝筛选")]),t._v(" "),a("ul",{staticClass:"common_screen_info common_select",staticStyle:{"margin-top":"6px","margin-left":"7px"}},[a("el-select",{staticClass:"common_select_li",attrs:{size:"mini"},on:{change:function(e){t.changeSelect({val:e,title:"粉丝量",model:"fan",list:"fanRange"})}},model:{value:t.fanModel,callback:function(e){t.fanModel=e},expression:"fanModel"}},t._l(t.fanRange,function(t,e){return a("el-option",{key:e,attrs:{label:t.value,value:t.label}})}),1)],1),t._v(" "),a("ul",{staticClass:"common_screen_info common_select"},[a("li",{staticClass:"common_select_li_title",staticStyle:{"margin-right":"0"}},[a("el-input",{staticClass:"common_select_li_input",attrs:{placeholder:"最小值",type:"text",size:"mini"},on:{input:function(e){t.fan.min=t.fan.min.replace(/[^\d]/g,""),""==t.fan.min&&""==t.fan.max&&t.init(1),""==t.fan.min&&""==t.fan.max&&(t.fanModel="")}},nativeOn:{keydown:function(e){if(!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter"))return null;t.fanModel="",t.init(1)}},model:{value:t.fan.min,callback:function(e){t.$set(t.fan,"min",e)},expression:"fan.min"}}),t._v(" 万 - \n ")],1),t._v(" "),a("li",{staticClass:"common_select_li_title",staticStyle:{"margin-left":"0"}},[a("el-input",{staticClass:"common_select_li_input",attrs:{placeholder:"最大值",type:"text",size:"mini"},on:{input:function(e){t.fan.max=t.fan.max.replace(/[^\d]/g,""),""==t.fan.min&&""==t.fan.max&&t.init(1),""==t.fan.min&&""==t.fan.max&&(t.fanModel="")}},nativeOn:{keydown:function(e){if(!e.type.indexOf("key")&&t._k(e.keyCode,"enter",13,e.key,"Enter"))return null;t.fanModel="",t.init(1)}},model:{value:t.fan.max,callback:function(e){t.$set(t.fan,"max",e)},expression:"fan.max"}}),t._v(" 万\n ")],1),t._v(" "),""!=t.fan.min||""!=t.fan.max?a("button",{staticClass:"common_input_small_button",on:{click:function(e){t.fanModel="",t.init(1)}}},[t._v("确定")]):t._e()])]),t._v(" "),a("div",{staticClass:"common_screen clear"},[a("div",{staticClass:"common_screen_title"},[t._v("发布时间")]),t._v(" "),a("ul",{staticClass:"common_select_time clear"},[a("li",{class:["common_select_time_item",1==t.day?"common_select_time_item_active":""],on:{click:function(e){t.day=1,t.init(1)}}},[t._v("昨日")]),t._v(" "),a("li",{class:["common_select_time_item",7==t.day?"common_select_time_item_active":""],on:{click:function(e){t.day=7,t.init(1)}}},[t._v("近7天")]),t._v(" "),a("li",{class:["common_select_time_item",15==t.day?"common_select_time_item_active":""],on:{click:function(e){t.day=15,t.init(1)}}},[t._v("近15天")]),t._v(" "),a("li",{class:["common_select_time_item",30==t.day?"common_select_time_item_active":""],on:{click:function(e){t.day=30,t.init(1)}}},[t._v("近30天")])]),t._v(" "),a("ul",{staticClass:"common_screen_sort clear"},[a("li",{class:["common_screen_sort_item","video_count"==t.sort_type?"common_screen_sort_active":""],on:{click:function(e){t.sort_type="video_count",t.init(1)}}},[t._v("关联作品数")]),t._v(" "),a("li",{class:["common_screen_sort_item","digg_count"==t.sort_type?"common_screen_sort_active":""],on:{click:function(e){t.sort_type="digg_count",t.init(1)}}},[t._v("总获赞数")])])])]),t._v(" "),a("div",{staticClass:"musicList"},[a("div",{staticClass:"clear"},[t._l(t.infoList,function(e,n){return a("div",{key:n,staticClass:"musicBox",on:{click:function(i){t.detail_id=e.id,t.detailFlag=!0}}},[a("div",{staticClass:"musicImg"},[a("img",{attrs:{src:e.img,alt:""}})]),t._v(" "),a("div",{staticClass:"musicInfoBox"},[a("div",{staticClass:"title clear"},[a("img",{attrs:{src:i("MgBU"),alt:""}}),t._v(" "),a("el-tooltip",{attrs:{effect:"dark",disabled:!(e.text&&e.text.length>20),content:e.text,placement:"top"}},[a("div",[t._v(t._s(e.text?e.text:"-"))])])],1),t._v(" "),a("div",{staticClass:"dataInfo clear"},[a("div",[a("img",{attrs:{src:i("B2Zl"),alt:""}}),t._v(" "),a("span",[t._v("关联视频:"+t._s(e.video_count||0==e.video_count?t.$NumberHandle(e.video_count):"-"))])]),t._v(" "),a("div",[a("img",{attrs:{src:i("bTw4"),alt:""}}),t._v(" "),a("span",[t._v("点赞:"+t._s(e.digg_count||0==e.digg_count?t.$NumberHandle(e.digg_count):"-"))])])])])])}),t._v(" "),t.noneDone||t.loading||0!=t.infoList.length?t._e():a("div",{staticClass:"noHaveDate"},[t._v("暂无数据")])],2),t._v(" "),a("div",{directives:[{name:"show",rawName:"v-show",value:!t.hasAuno&&0!=t.total||t.hasAuno&&t.au_nums<=t.total&&t.page>1,expression:"(!hasAuno&&total!=0)||(hasAuno&&au_nums<=total&&page>1)"}],staticClass:"bottom"},[a("span",{staticClass:"total"},[t._v("共"+t._s(t.total)+"条结果")]),t._v(" "),a("el-pagination",{attrs:{background:"","current-page":t.page,layout:"prev, pager, next","page-count":t.pager_count},on:{"current-change":t.handleCurrentChange}})],1)]),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(),t._v(" "),a("my-dialog",{attrs:{visible:t.detailFlag,width:"76%",minWidth:"930px"},on:{"update:visible":function(e){t.detailFlag=e}}},[a("reply",{attrs:{id:t.detail_id}})],1)],1)},staticRenderFns:[]};var l=i("C7Lr")(s,o,!1,function(t){i("gV1o")},"data-v-f7179a50",null);e.default=l.exports},B2Zl:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAiCAYAAAA+stv/AAAAAXNSR0IArs4c6QAABT1JREFUWAnVV1tMnEUUPuffCyyBEBC81NiktdUUYtT0oqY25dYatQiagArCUq9JjQ81JsYHTR9MjNH45r2Vm21S2mhaBCJStsVqvUVfpFVaSaBpEaGYCGWRhT1+M/Av/78/u+xiffB/2Jk5t+/MmTNzzjIl8UnT9qtJQjtIOI9YVpDIdVqdeQi0i6CdJvZ8xrWdfyRqlpcSlJYKF02N1FGYd0L2LiIx4utwGPxTZEg9peY2cOWh2XjycR2QxsIyAL5GQuviGYnJYzpDxC+xP3AklsyiDmDXXpocfQfgT8RSTI7O+ygtZxeiMR2t53BADpTm0PT4JxDcEi38L9dfkjfjIa5qHbXasZ2nBOpSKTTR9h+AK8wtyrbGsHhgc4AGBvYiszdZ+Fd2qmwrDMsXOQJpLHqSJPyhhZfclGmCmN8gNk7RrDAxFWEzzyGP0hyG2HiK/d3aEe2AtJam0dj4OWT73L12aCxBYPqZ3MYOru4esErK/m1raWamFY7cbKXDuSHKzljDpa2Tbs24dPl5jMsE50HypBeq5JL2e1NoJFiHqxei/LXNvOGDs9JcVIWIfAP7Ho2lftRG5zBfNURUuMK7IsxkJyJfa/CWinQameqE8few433U26fvPtd0/wiHehxmgamwWZoK76Cw9tAhkyAhhLM/DN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vsAAAAABJRU5ErkJggg=="},aahN:function(t,e){},gV1o:function(t,e){},hrvl:function(t,e,i){"use strict";var a={components:{videoDetail:i("GSAr").a},props:["id"],data:function(){return{hasAuno:!1,noneDone:!1,videoData:{photo_list:[]},loading:!1,videoDetailFlag:!1,videoDetailData:{}}},created:function(){this.init()},methods:{checkLogin:function(){var t=this;this.$cookie.getCookie("isLogin")||this.$confirm("当前是游客状态,请登录查看更多","提示",{confirmButtonText:"登录",cancelButtonText:"取消",type:"warning"}).then(function(){t.$Login({visible:!0})}).catch(function(){t.$message({type:"info",message:"已取消登录"})})},checkTab:function(t){this.$cookie.getCookie("isLogin")&&(this.tab=t)},toUrl:function(t){this.$cookie.getCookie("isLogin")&&(this.videoDetailData={author_id:t.author_id,aweme_id:t.aweme_id,main_mv_url:t.share_url},this.videoDetailFlag=!0)},init:function(){var t=this;if(this.$message.closeAll(),this.hasAuno||this.noneDone)return this.$cookie.getCookie("isLogin")?(this.$message.closeAll(),void this.$message({message:"当前等级暂不支持使用该功能,请升级会员后操作",type:"warning"})):void this.$Login({visible:!0});this.loading=!0,this.$axios.get(this.URL.BASEURL+this.URL.videoCommentGodReplyDetail,{params:{id:this.id}}).then(function(e){t.loading=!1,4403==(e=e.data).auno?t.hasAuno=!0:t.hasAuno=!1,t.noneDone=4003==e.errno,e&&0==e.errno?t.videoData=e.rst:4003!=e.errno&&4001!=e.errno&&t.$message({message:e.err,type:"warning"})}).catch(function(e){console.log(e),t.loading=!1})}}},n={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"}],attrs:{"element-loading-text":"拼命加载中","element-loading-spinner":"el-icon-loading"},on:{click:function(e){return e.stopPropagation(),t.checkLogin()}}},[a("div",{staticClass:"topInfo clear"},[a("div",{staticClass:"title"},[a("img",{attrs:{src:i("MgBU"),alt:""}}),t._v(" "),a("span",[t._v(t._s(t.videoData.text?t.videoData.text:"-"))])]),t._v(" "),a("div",{staticClass:"info"},[a("div",[a("img",{attrs:{src:i("bTw4"),alt:""}}),t._v(" "),a("span",[t._v("获赞 "+t._s(t.videoData.digg_count||0==t.videoData.digg_count?t.$NumberHandle(t.videoData.digg_count):"-"))])]),t._v(" "),a("div",[a("img",{attrs:{src:i("B2Zl"),alt:""}}),t._v(" "),a("span",[t._v("关联视频 "+t._s(t.videoData.video_count||0==t.videoData.video_count?t.$NumberHandle(t.videoData.video_count):"-"))])])])]),t._v(" "),a("div",{staticClass:"videoListBox"},[t.loading||0==t.videoData.photo_list.length?t._e():a("ul",{staticClass:"videoListUl clear"},t._l(t.videoData.photo_list,function(e,n){return a("li",{key:n,staticClass:"videoList",on:{click:function(i){return t.toUrl(e)}}},[a("img",{staticClass:"videoCover",attrs:{src:e.cover_url,alt:""}}),t._v(" "),e.time?a("div",{staticClass:"time"},[t._v(t._s(e.time.split(" ")[0]))]):t._e(),t._v(" "),a("div",{staticClass:"like clear"},[a("div",{staticClass:"left"},[a("img",{staticClass:"userImg",attrs:{src:e.avatar_url,alt:""}}),t._v(" "),a("p",{staticClass:"userName"},[t._v(t._s(e.nickname?e.nickname:"-"))])]),t._v(" "),a("div",{staticClass:"right"},[a("img",{attrs:{src:i("KmN9"),alt:""}}),t._v(" "),a("span",[t._v(t._s(e.digg_count||0==e.digg_count?t.$NumberHandle(e.digg_count):"-"))])])])])}),0),t._v(" "),t.loading||0!=t.videoData.photo_list.length?t._e():a("div",{staticClass:"noHaveDate"},[t._v("暂无数据")])]),t._v(" "),a("my-dialog",{attrs:{visible:t.videoDetailFlag,width:"76%",minWidth:"930px"},on:{"update:visible":function(e){t.videoDetailFlag=e}}},[a("video-detail",{attrs:{videoDetailData:t.videoDetailData}})],1)],1)},staticRenderFns:[]};var s=i("C7Lr")(a,n,!1,function(t){i("aahN")},"data-v-3e520457",null);e.a=s.exports}});