12 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-5983ef5d"],{"16b9":function(t,e,n){"use strict";n("6d11")},1743:function(t,e,n){"use strict";n.r(e);n("d25f");var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"wrap"},[e("div",{staticClass:"wrap-title"},[e("TitleControl",{attrs:{title:"我的回复"},on:{handleChange:t.handleSearch}},[e("div",{staticClass:"control-btn",attrs:{slot:"control"},slot:"control"},[t.manageType?e("div",{staticClass:"manage cancel",on:{click:function(e){t.manageType=!1}}},[t._v("\n 取消\n ")]):e("div",{staticClass:"manage",on:{click:function(e){t.manageType=!0}}},[t._v("\n 管理\n ")])])])],1),e("div",{staticClass:"wrap-content"},[t.manageType?e("div",{staticClass:"del-box"},[e("div",{staticClass:"radio"},[e("el-checkbox",{on:{change:t.changeAllChecked},model:{value:t.allChecked,callback:function(e){t.allChecked=e},expression:"allChecked"}})],1),e("div",{staticClass:"btn",on:{click:function(e){t.handleDelete(t.list.filter((function(t){return t.checked})))}}},[t._v("\n 删除\n ")])]):t._e(),e("div",{staticClass:"list"},[t._l(t.list,(function(n){return e("div",{key:n.id,staticClass:"list-item"},[t.manageType?e("div",{staticClass:"radio"},[e("el-checkbox",{model:{value:n.checked,callback:function(e){t.$set(n,"checked",e)},expression:"item.checked"}})],1):t._e(),e("div",{staticClass:"card",style:t.manageType?{width:"calc(100% - 60px)"}:""},[e("MyReplyCard",{attrs:{info:n,manageType:t.manageType},on:{reply:function(e){return t.handleReply(n)},handleDelete:function(e){return t.handleDelete([n])},handleToDetail:function(e){return t.handleToDetail(n,{id:"video_id",videoArrId:"url_id"})}}})],1)])})),t.finished?e("el-empty",{attrs:{description:"没有更多数据"}}):t._e()],2)])])},a=[],r=(n("1c01"),n("58b2"),n("8e6e"),n("456d"),n("28a5"),n("6762"),n("2fdb"),n("2909")),s=n("ade3");n("6d67"),n("ac6a"),n("f3e2"),n("7f7f");function o(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function c(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?o(Object(n),!0).forEach((function(e){Object(s["a"])(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var l=function(){var t=this,e=t._self._c;return e("div",{staticClass:"card"},[e("CardBox",t._g({staticStyle:{padding:"15px 20px"},attrs:{btnList:t.btnList}},t.$listeners),[e("div",{staticClass:"header"},[e("CardHeader",{attrs:{avatar:t.userInfo.headimg,name:t.userInfo.name,time:t.info.create_at,btnList:[]}})],1),e("div",{staticClass:"content"},[e("CardContent",{attrs:{content:"@".concat(t.info.user_name,":").concat(t.info.content)}})],1),e("div",{staticClass:"target",on:{click:function(e){return t.$emit("handleToDetail")}}},[e("CardContent",{staticStyle:{"margin-bottom":"10px"},attrs:{content:"@".concat(t.info.parent_comment.name,":").concat(t.info.parent_comment.content)}}),e("CardCoverDetail",{attrs:{info:c({app_logo:t.info.parent_comment.app_logo,app_name:t.info.parent_comment.app_name,cover:t.info.parent_comment.cover,title:t.info.parent_comment.title,series_title:t.info.parent_comment.series_title},t.info)}})],1)])],1)},d=[],u=n("c191"),f=n("a7e8"),p=n("3d06"),m=n("dcfd"),h={name:"MyReplyCard",components:{CardBox:u["a"],CardHeader:f["a"],CardContent:p["a"],CardCoverDetail:m["a"]},props:{info:{type:Object},manageType:{type:Boolean,default:!1}},data:function(){return{}},computed:{btnList:function(){var t=["del"];return this.manageType?[]:t},userInfo:function(){return this.$store.state.userInfo}}},g=h,v=(n("16b9"),n("2877")),A=Object(v["a"])(g,l,d,!1,null,"15d39ed8",null),b=A.exports,C=n("7e74"),y=n("f523");function O(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(t);e&&(i=i.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,i)}return n}function j(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?O(Object(n),!0).forEach((function(e){Object(s["a"])(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):O(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}var D={components:{MyReplyCard:b,TitleControl:C["a"]},data:function(){return{list:[],params:{page:1,page_num:20,sort_type:1},finished:!1,manageType:!1,allChecked:!1,list_copy:""}},watch:{manageType:function(t){!t&&(this.allChecked=!1),this.list.forEach((function(t){return t.checked=!1}))}},mounted:function(){this.getList()},methods:{TouchBottom:function(){this.finished||this.getList()},changeAllChecked:function(t){this.list.map((function(e){return e.checked=t}))},getList:function(){var t=this;y["m"].getReplyVideo(this.params).then((function(e){var n=e.data,i=n.list.map((function(t){return j({checked:!1},t)}));t.list=1===t.params.page?i:[].concat(Object(r["a"])(t.list),Object(r["a"])(i)),i.length<t.params.page_num?t.finished=!0:t.params.page++}))},handleDelete:function(t){var e=this;this.showConfirmPopup("确定要删除该信息?").then((function(){var n={id:"",type:3};n.id=t.map((function(t){return t.id})).join(","),n.id&&y["m"].batchesDel(n).then((function(t){t.data;var i=e.list.map((function(t){return n.id.split(",").includes(t.id+"")?"":t})).filter((function(t){return t}));e.list=i,e.$message.success("删除成功!"),e.manageType=!1}))})).catch((function(t){}))},handleToDetail:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{id:"id",videoArrId:"videoArrId"};if(Object.keys(t).includes("is_normal")&&!t.is_normal)return this.$message.error("该视频已下线");this.$router.push({path:"/video-details",query:{id:t[e.id],videoArrId:t[e.videoArrId]}})},handleSearch:function(t){this.list_copy||(this.list_copy=this.list),t?this.list=this.list_copy.filter((function(e){return e.content.includes(t)})):(this.list=this.list_copy,this.list_copy="")}}},_=D,w=(n("a3fe"),Object(v["a"])(_,i,a,!1,null,"4f779d41",null));e["default"]=w.exports},"1f2d":function(t,e,n){},2079:function(t,e,n){"use strict";n("1f2d")},"2e08":function(t,e,n){var i=n("9def"),a=n("9744"),r=n("be13");t.exports=function(t,e,n,s){var o=String(r(t)),c=o.length,l=void 0===n?" ":String(n),d=i(e);if(d<=c||""==l)return o;var u=d-c,f=a.call(l,Math.ceil(u/l.length));return f.length>u&&(f=f.slice(0,u)),s?f+o:o+f}},"565b":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAAXNSR0IArs4c6QAAAPxJREFUSEvNlTFuwkAQRf+4iZALLhCJg4RDhJYWyWPRBokqIVDR4DZe25wBR6EMh8oB1j8ykotESNjYa7H1zH/7Z79mBY6PONZHf4AkSXYkZwCGLV39iMg+CIKXUufswBjzDODQUvh/+0RV8zMgjuM3EVl3CSC5CsNwUzlYAXjvElDqqer6bgBfJD89z3slOarptJGDuap+RFE08H1/AWAJwL8Cag6oBNM0fSS5JTmtkngBdjugEjPGjAF8A3hwAsiy7Mlae+ocUI7IWrsVkW5H5OyRReRYFEXuMqY1o/+nrFGK2gH6WHZu13Xp3+mHc8uA6/b09yfXvVHTul9MCqIZAaJnUgAAAABJRU5ErkJggg=="},"6d11":function(t,e,n){},"780b":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACwAAAAsCAYAAAAehFoBAAAAAXNSR0IArs4c6QAABi9JREFUWEfNmV1sVEUUx/9nt7ZWW00RjLyIX6gPJKCSKAYVFcqHgIBJJYjRSndmJYYQkQcFP4H6gARDTLozLZaIEmyi8qViFUUlIgmoJCSigIovGsCQWgRLe+8xZ3PvZnrdbXfbbnXe9u6Zmd+cOXPOmTOEfrTVq1dfXFFRMT4Wi90JYBSA6wEMA1ARDNsO4BQR/UBEhzzP+3zIkCF7ampqzvV1WupLx1Qq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CJqDT8SUa+huZDF9MflRUOz7/tTqKWlpfz06dPiiy8KQI4rpa4u9Pre0yL6Ah0kPxI0rpWxmflce3v7sDC9fAuAFDjSzc3wC9HmQEJba6dKgcYZ822t9dw0sLV2IjN/7Py5T2t920DBhuMUomljzFcAxoV9mXlqMpncmbkipVIpKczd4gg8nEwm3/wvoK21UhltduY+qLUek9798GOWDP8EgDFa698GEzoej//ued5B99JLRHOUUhLxupdbrbXbmXm6o+XdRFSttZbK5IC2XOZBREeZObPTAFq11pMz58ulaGpqGuF53rcAqpwDuFEp9Ygc1AElzn1HdKdp8zzv5oULF/6UFVg+NjU1zfI8T+oTGXMhoo3MvGAQNS2eShQ0VynV4q4gVzFQ7nSrXEFmFvOYN9A2Lbvq+/47ETOQqZ/TWq+I7mrO+rAx5hUASyIdTjDzkoHyHoE3eDVayyOitUqpJ7OZYG8FbdH0yujhBLCPiFYmEon3C42IQUF7CjNLSTfjZ9MegIjlDSWbZnPacHRVgU1LKTRzEB2Z40S0yfO81s7Ozr25srwg6xpLRNOYWcq56XAbaVIsV1Gbzdskot7D9/3XXJeXZcIueZQhovSjjKhKHmUAhI8yYYqYbadbS0pKHl+wYEHGG+TySL0+yrgdJbj4vv+CGxH76eoOBs9e6aCQTysIOBwwyD1qg7tWmOXlM1866yKibcy8QXKDvDo5Qn0CDvtLatrW1iZJ9l3MPIqZbwjuh2IK0qQIIndGueYc8n3/izNnzuxZunTpX4WChvL/AMzbHPzNssRpAAAAAElFTkSuQmCC"},9744:function(t,e,n){"use strict";var i=n("4588"),a=n("be13");t.exports=function(t){var e=String(a(this)),n="",r=i(t);if(r<0||r==1/0)throw RangeError("Count can't be negative");for(;r>0;(r>>>=1)&&(e+=e))1&r&&(n+=e);return n}},"9eb6":function(t,e,n){},a3fe:function(t,e,n){"use strict";n("9eb6")},dcfd:function(t,e,n){"use strict";var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"card-cover-detail"},[e("div",{staticClass:"cover-box"},[t.is_normal?e("img",{staticClass:"cover",attrs:{src:t.info.cover,alt:""}}):e("div",{staticClass:"is_normal"},[e("img",{attrs:{src:n("780b"),alt:""}})]),e("div",{staticClass:"type"},[t._v(t._s(t.is_normal?t.type:"已失效"))])]),t.is_normal?e("div",{staticClass:"info-box"},[e("div",{staticClass:"title-box"},[e("div",{staticClass:"series-title"},[t._v(t._s(t.info.series_title))]),e("div",{staticClass:"title"},[t._v(t._s(t.info.title))])]),e("div",{staticClass:"footer"},[e("img",{staticClass:"app-logo",attrs:{src:t.info.app_logo,alt:""}}),e("div",{staticClass:"app-name"},[t._v(t._s(t.info.app_name))]),e("img",{staticClass:"icon",attrs:{src:n("565b")}}),e("div",{staticClass:"read-num"},[t._v(t._s(t.info.read_num||0))])])]):e("div",{staticClass:"info-box"},[e("div",{staticClass:"is_normal"},[t._v("已失效")])])])},a=[],r=(n("6b54"),n("87b3"),n("f576"),n("f6b3"),{name:"CardCoverDetail",props:{info:{type:Object}},data:function(){return{show:!1,typeDict:{article_id:"图文",video_id:"视频"}}},computed:{type:function(){var t="";for(var e in this.typeDict)Reflect.has(this.info,e)&&(t=e);if("video_id"==t){var n=this.info.duration,i=Math.floor(n/60),a=Math.floor(n-60*i);return 0==a&&(a=1),i.toString().padStart(2,"0")+":"+a.toString().padStart(2,"0")}return this.typeDict[t]},is_normal:function(){return!Reflect.has(this.info,"is_normal")||!!this.info.is_normal}}}),s=r,o=(n("2079"),n("2877")),c=Object(o["a"])(s,i,a,!1,null,"785f94f6",null);e["a"]=c.exports},f576:function(t,e,n){"use strict";var i=n("5ca1"),a=n("2e08"),r=n("a25f"),s=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(r);i(i.P+i.F*s,"String",{padStart:function(t){return a(this,t,arguments.length>1?arguments[1]:void 0,!0)}})},f6b3:function(t,e,n){var i=n("5ca1");i(i.S,"Reflect",{has:function(t,e){return e in t}})}}]);
- //# sourceMappingURL=chunk-5983ef5d.00dde473.js.map
|