chunk-48c4185c.64fd74a6.js 13 KB

12
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-48c4185c"],{"0bfe":function(t,e,i){},"383e":function(t,e,i){"use strict";i("796e")},"4c64":function(t,e,i){"use strict";i("532a")},"532a":function(t,e,i){},"780b":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACwAAAAsCAYAAAAehFoBAAAAAXNSR0IArs4c6QAABi9JREFUWEfNmV1sVEUUx/9nt7ZWW00RjLyIX6gPJKCSKAYVFcqHgIBJJYjRSndmJYYQkQcFP4H6gARDTLozLZaIEmyi8qViFUUlIgmoJCSigIovGsCQWgRLe+8xZ3PvZnrdbXfbbnXe9u6Zmd+cOXPOmTOEfrTVq1dfXFFRMT4Wi90JYBSA6wEMA1ARDNsO4BQR/UBEhzzP+3zIkCF7ampqzvV1WupLx1QqNYWIHmXmmURUXuAYZwFsIaJmpdQnBfZFQcDW2tnM/DyA0YVOlEN+PxG9qJTake94eQGvX7/+mq6urgYA1T0M3AngFwC/AmgnIhm7kpmvBHAVgJJcfYloRywWe6Kuru54b+C9Altra5jZArg0y2DHiKiFmT8oLS3dX1tb+3e2CdetW1dWXl4+jpmrmXkegBFZ5E7H4/HH6urqtvQE3SOwMeZZ2TJmjsrtJaIViURiJxFxb1px/5exGhsb72Pm5QBujfSVsZZrretz7kauP4wxawEsjvzfRkSLlVIbCoHMJZtKpeYT0RoAl0dk1mitn8rWL6uGRbMAXnI7ENGBWCz2QD52VshijDHDmXkTEU2I9FuWTdP/AhabBbA5ixm0AZistd5XCFA+ssaYCwC8DmC+I8/xeHxO1Ka7AQfe4JscB0zGKho0ADLGvBGBloN4k7ur3YCNMR+5rkvMgJmviyygaNCiaWZudc1DXJ5Sakao+QxwEBTedbakLR6Pj/Y87woAshDXrRUTejiA79yDSEQzwuCSATbGiFAmghFRbegNjDHifgYNOvAeG0PlMfOBZDI5Vn6ngYPc4ENHu3u11re7B2awoY0xX7t+mogmSe6RBjbG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jjKhKHmUAhI8yYYqYbadbS0pKHl+wYEHGG+TySL0+yrgdJbj4vv+CGxH76eoOBs9e6aCQTysIOBwwyD1qg7tWmOXlM1866yKibcy8QXKDvDo5Qn0CDvtLatrW1iZJ9l3MPIqZbwjuh2IK0qQIIndGueYc8n3/izNnzuxZunTpX4WChvL/AMzbHPzNssRpAAAAAElFTkSuQmCC"},"796e":function(t,e,i){},"7e74":function(t,e,i){"use strict";var n=function(){var t=this,e=t._self._c;return e("div",{staticClass:"title"},[e("div",{staticClass:"top"},[e("div",{staticClass:"left"},[t._v(t._s(t.title))]),e("div",{staticClass:"center"},[t.showSearch?e("el-input",{attrs:{clearable:"",placeholder:"搜索"},on:{change:function(e){return t.$emit("handleChange",e)}},model:{value:t.content,callback:function(e){t.content=e},expression:"content"}},[e("i",{staticClass:"el-icon-search el-input__icon",attrs:{slot:"suffix"},slot:"suffix"})]):t._e()],1),e("div",{staticClass:"right"},[t._t("control")],2)]),e("div",{staticClass:"bottom"},[t._t("bottom")],2)])},s=[],a={name:"TitleControl",props:{title:{type:String,required:!0},showSearch:{type:Boolean,default:!0}},data:function(){return{content:""}}},c=a,o=(i("e6d2"),i("2877")),r=Object(o["a"])(c,n,s,!1,null,"52e2b05d",null);e["a"]=r.exports},9852:function(t,e,i){},"9ea2":function(t,e,i){"use strict";i("bf4e")},bf4e:function(t,e,i){},c191:function(t,e,i){"use strict";i("6762"),i("2fdb");var n=function(){var t=this,e=t._self._c;return e("div",{staticClass:"card-box"},[t._t("default"),e("div",{staticClass:"btn-box"},[t.del_Btn.show?e("div",{staticClass:"del-btn",on:{click:function(e){return e.stopPropagation(),t.$emit("handleDelete")}}},[e("span",[t._v(t._s(t.del_Btn.value||"删除"))])]):t._e(),t.btnList.includes("edit")?e("div",{staticClass:"edit-btn",on:{click:function(e){return e.stopPropagation(),t.$emit("handleEdit")}}},[e("span",[t._v("编辑")])]):t._e(),t.btnList.includes("isRead")?e("div",{staticClass:"mark-read-btn",on:{click:function(e){return e.stopPropagation(),t.$emit("handleRead")}}},[e("span",[t._v("标记已读")])]):t._e(),t.btnList.includes("unRead")?e("div",{staticClass:"mark-unread-btn",on:{click:function(e){return e.stopPropagation(),t.$emit("handleRead")}}},[e("span",[t._v("标记未读")])]):t._e()])],2)},s=[],a=(i("1c01"),i("58b2"),i("8e6e"),i("d25f"),i("456d"),i("ade3")),c=i("53ca");i("ac6a"),i("f3e2");function o(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}function r(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?o(Object(i),!0).forEach((function(e){Object(a["a"])(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):o(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}var l={name:"CardBox",props:{btnList:{type:Array,default:function(t){return[]}}},data:function(){return{}},computed:{del_Btn:function(){var t={show:!1};return this.btnList.forEach((function(e){"string"==typeof e&&"del"==e?t.show=!0:"object"==Object(c["a"])(e)&&"del"==e.type&&(t=r(r({},e),{},{show:!0}))})),t}}},u=l,d=(i("9ea2"),i("2877")),f=Object(d["a"])(u,n,s,!1,null,"42f5fe43",null);e["a"]=f.exports},cb08:function(t,e,i){"use strict";i.r(e);var n=function(){var t=this,e=t._self._c;return e("div",{staticClass:"wrap"},[e("div",{staticClass:"wrap-title"},[e("TitleControl",{attrs:{title:"我的发布",showSearch:!1}},[e("div",{staticClass:"switch-box",attrs:{slot:"bottom"},slot:"bottom"},[e("div",{staticClass:"btn",class:{select:!t.type},on:{click:function(e){return t.changeType(0)}}},[t._v("\n 审核成功\n ")]),e("div",{staticClass:"btn",class:{select:!!t.type},on:{click:function(e){return t.changeType(1)}}},[t._v("\n 其他\n ")])])])],1),e("div",{staticClass:"wrap-content"},[e("div",{staticClass:"list"},[t._l(t.list,(function(i){return e("div",{key:i.id,staticClass:"list-item"},[e("div",{staticClass:"card",on:{click:function(e){return t.handleToDetail(i,t.type?{id:"first_classify",videoArrId:"second_classify"}:{id:"video_id",videoArrId:"id"})}}},[e("MyReleaseFunCard",{attrs:{info:i},on:{handleDelete:function(e){return t.handleDelete(i)}}})],1)])})),t.finished?e("el-empty",{attrs:{description:"没有更多数据"}}):t._e()],2)]),e("ContactService",{attrs:{content:"下架视频需要联系客服!"},model:{value:t.contactVisible,callback:function(e){t.contactVisible=e},expression:"contactVisible"}})],1)},s=[],a=(i("1c01"),i("58b2"),i("8e6e"),i("f3e2"),i("d25f"),i("ac6a"),i("456d"),i("6762"),i("2fdb"),i("20d6"),i("2909")),c=(i("6d67"),i("ade3")),o=(i("28a5"),function(){var t=this,e=t._self._c;return e("div",{staticClass:"card",on:{click:function(e){1==t.info.status&&t.$emit("handleToDetail")}}},[e("CardBox",t._g({staticClass:"card-box",attrs:{btnList:t.btnList}},t.$listeners),[e("div",{staticClass:"left"},[t.is_normal?e("img",{attrs:{src:t.info.cover,alt:""}}):e("div",{staticClass:"is_normal"},[e("img",{attrs:{src:i("780b"),alt:""}}),e("div",{staticClass:"mark"},[t._v("已失效")])]),t.is_normal?e("div",{staticClass:"type",style:{background:void 0!==t.info.status?t.status[t.info.status].color:t.status[1].color}},[t._v("\n "+t._s(void 0!==t.info.status?t.status[t.info.status].label:t.status[1].label)+"\n ")]):t._e()]),e("div",{staticClass:"right"},[e("div",{staticClass:"title"},[t._v(t._s(t.info.title))]),t.info.label?e("div",{staticClass:"label"},t._l(t.info.label.split(","),(function(i){return e("div",{staticClass:"label-item"},[t._v("\n "+t._s(i)+"\n ")])})),0):t._e(),e("div",{staticClass:"info"},[e("img",{staticClass:"icon",attrs:{src:i("d8f0")}}),e("div",{staticClass:"num"},[t._v(t._s(t.info.read_num||0))]),e("div",{staticClass:"time"},[t._v(t._s(t.info.create_at))])])])])],1)}),r=[],l=(i("f6b3"),i("c191")),u={name:"MyReleaseFunCard",components:{CardBox:l["a"]},props:{info:{type:Object}},data:function(){return{status:{0:{label:"待审核",color:"#FE9641"},1:{label:"审核通过",color:"#15C393"},2:{label:"审核未通过",color:"#E84537"}}}},computed:{btnList:function(){var t=void 0!==this.info.status?1==this.info.status?[{type:"del",value:"下架"}]:["del"]:[{type:"del",value:"下架"}];return t},is_normal:function(){return!Reflect.has(this.info,"is_normal")||!!this.info.is_normal}},mounted:function(){}},d=u,f=(i("df4e"),i("2877")),p=Object(f["a"])(d,o,r,!1,null,"48f390e6",null),b=p.exports,v=i("7e74"),m=i("f3a0"),h=i("2f62"),A=i("f523");function g(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}function C(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?g(Object(i),!0).forEach((function(e){Object(c["a"])(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):g(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}var y={components:{MyReleaseFunCard:b,TitleControl:v["a"],ContactService:m["a"]},data:function(){return{list:[],params:{page:1,page_num:20,sort_type:1},finished:!1,type:0,contactVisible:!1}},computed:C({},Object(h["b"])({videoMarkNum:function(t){return t.mark_num.videoMarkNum}})),mounted:function(){this.getBoundList()},methods:{TouchBottom:function(){this.finished||(this.type?this.getMyList():this.getBoundList())},changeType:function(t){this.type=t,this.list=[],this.params.page=1,this.type?this.getMyList():this.getBoundList()},getBoundList:function(){var t=this;A["m"].getBoundList(this.params).then((function(e){var i=e.data,n=i.list.map((function(t){return C({checked:!1},t)}));t.list=1===t.params.page?n:[].concat(Object(a["a"])(t.list),Object(a["a"])(n)),n.length<t.params.page_num?t.finished=!0:t.params.page++}))},getMyList:function(){var t=this;A["m"].getMyVideoList(this.params).then((function(e){var i=e.data,n=i.list.map((function(t){return C({checked:!1},t)}));t.list=1===t.params.page?n:[].concat(Object(a["a"])(t.list),Object(a["a"])(n)),n.length<t.params.page_num?t.finished=!0:t.params.page++}))},handleDelete:function(t){var e=this;if(!this.type)return this.contactVisible=!0;var i=this;this.showConfirmPopup("确定要删除该视频?").then((function(){A["m"].batchesDel({id:t.id,type:5}).then((function(n){n.data;i.list.splice(i.list.findIndex((function(e){return e.id==t.id})),1),e.$message.success("删除成功!")}))})).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.type&&1!=t.status||this.$router.push({path:"/video-details",query:{id:t[e.id],videoArrId:t[e.videoArrId]}})}}},O=y,j=(i("383e"),Object(f["a"])(O,n,s,!1,null,"f50da114",null));e["default"]=j.exports},d8f0:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAAAXNSR0IArs4c6QAAAcpJREFUOE+1kzFoFEEUhv9/967xGvcEOUkliq2VWl1hsLJKkBwWojYqyO3McUVasbZwZ+5OPEghSgjhBCUQYieIjU0KsbKxUhCFI3qgyOw+2XX2iCRnE5ximPnfe99j3ntDHHDxgPH4J2A4HFajKGKr1fo1K9EegLX2BAAlIgsA5oAiyScAG2EYmna7/X437C+AMeYmgPsADnmnPFA8KJd+AljWWvdKyBRgjIlJGhHJtS9BEFyL43grd7TWXhCRxwCO5XeSy0qpe8U535IkOQfgNcmKJy9UKpXtNE2tiFRJ6izLTpJ84e2piMx3Op1XBcAY8wbAWU/fUUpF1tpHInLVa8+VUotJknwmedRD3mqtT5eATQAXveH7eDw+XK/XH4rIDQ9YV0pdNsZ8BXDE+73UWs8XgH6/fypN020ANR9wpVarbUwmk7skq865O0EQnCf51AfnxTyjtX43LWKv11vKsmwNQAjgG8m40WisjkYjNJvNlogMAEQAMgDXtdZPpkUsW2KMWQSwAqDutR8kRUSKtorIThiGt+I4Xt/TxlIYDAYN59xtAJcAHOcfwgeSz5xzD7rd7seZg7TPuJZPzIdp3/V/P9OsrLv135SioxEE3y/qAAAAAElFTkSuQmCC"},df4e:function(t,e,i){"use strict";i("9852")},e6d2:function(t,e,i){"use strict";i("0bfe")},f3a0:function(t,e,i){"use strict";var n=function(){var t=this,e=t._self._c;return e("div",{staticClass:"contact-service"},[t.visible?e("el-dialog",{attrs:{center:"",width:"360px","show-close":!1,visible:t.visible,"before-close":function(e){return t.$emit("visible",!1)}},on:{"update:visible":function(e){t.visible=e}}},[e("div",{staticClass:"content"},[e("img",{staticClass:"icon",attrs:{src:i("6bbf"),alt:""}}),e("div",{staticClass:"info"},[t._v(t._s(t.content))]),e("div",{staticClass:"footer"},[e("div",{staticClass:"footer-btn cancel",on:{click:function(e){return t.$emit("visible",!1)}}},[t._v("\n 取消\n ")]),e("div",{staticClass:"footer-btn confirm",on:{click:function(e){return t.$router.push("contact-online")}}},[t._v("\n 联系客服\n ")])])])]):t._e()],1)},s=[],a={name:"ContactService",props:{visible:{type:Boolean,default:!1},content:{type:String,default:"是否联系客服"}},model:{prop:"visible",event:"visible"}},c=a,o=(i("4c64"),i("2877")),r=Object(o["a"])(c,n,s,!1,null,"06f64e28",null);e["a"]=r.exports},f6b3:function(t,e,i){var n=i("5ca1");n(n.S,"Reflect",{has:function(t,e){return e in t}})}}]);
  2. //# sourceMappingURL=chunk-48c4185c.64fd74a6.js.map