(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-737c53fe"],{"2f6d":function(e,t,r){"use strict";r.r(t);var a=r("7a23"),n=Object(a["withScopeId"])("data-v-7910b216");Object(a["pushScopeId"])("data-v-7910b216");var o={class:"upload-video"},c={class:"title"},i={style:{display:"flex"}},l={key:0,class:"upload-image"},u={key:1,class:"upload-image"},s={class:"demand"},p={key:0,class:"upload-image"},d={class:"upload-image upload",style:{position:"relative"}},b={class:"demand"},f={class:"words-number"};Object(a["popScopeId"])();var v=n((function(e,t,r,v,O,j){var m=Object(a["resolveComponent"])("a-input"),g=Object(a["resolveComponent"])("a-form-item"),h=Object(a["resolveComponent"])("PlusOutlined"),y=Object(a["resolveComponent"])("a-progress"),w=Object(a["resolveComponent"])("a-upload"),k=Object(a["resolveComponent"])("PlaySquareOutlined"),V=Object(a["resolveComponent"])("a-textarea"),N=Object(a["resolveComponent"])("a-button"),q=Object(a["resolveComponent"])("a-form"),C=Object(a["resolveComponent"])("nav-bottom");return Object(a["openBlock"])(),Object(a["createBlock"])("div",o,[Object(a["createVNode"])(q,{"label-col":e.labelCol,"wrapper-col":e.wrapperCol},{default:n((function(){return[Object(a["createVNode"])("div",c,Object(a["toDisplayString"])(e.lan.$t("shangchuanshipin")),1),Object(a["createVNode"])(g,{label:e.lan.$t("shipinbiaoti"),rules:{required:!0,message:"Please input Activity name",trigger:"blur"}},{default:n((function(){return[Object(a["createVNode"])(m,{size:"small",value:e.form.title,"onUpdate:value":t[1]||(t[1]=function(t){return e.form.title=t}),placeholder:e.lan.$t("shurushipinbiaoti")},null,8,["value","placeholder"])]})),_:1},8,["label"]),Object(a["createVNode"])(g,{label:e.lan.$t("shipinfengmian"),class:"video-cover",rules:{required:!0,message:"Please input Activity name",trigger:"blur"}},{default:n((function(){return[Object(a["createVNode"])("div",i,[Object(a["createVNode"])(w,{"list-type":"picture",customRequest:e.uploadspic,beforeUpload:e.imgs},{default:n((function(){return[e.viewCover||0!=e.form.img.length?(Object(a["openBlock"])(),Object(a["createBlock"])("div",u,[Object(a["createVNode"])("img",{style:{width:"100%",height:"100%"},src:e.form.img},null,8,["src"])])):(Object(a["openBlock"])(),Object(a["createBlock"])("div",l,[0==e.uploadpicprogress?(Object(a["openBlock"])(),Object(a["createBlock"])(h,{key:0,style:{fontsize:"22px"}})):(Object(a["openBlock"])(),Object(a["createBlock"])(y,{key:1,type:"circle",percent:e.uploadpicprogress,width:80},null,8,["percent"]))]))]})),_:1},8,["customRequest","beforeUpload"]),Object(a["createVNode"])("div",s,[Object(a["createVNode"])("p",null,Object(a["toDisplayString"])(e.lan.$t("fengmianyaoqiu")),1),Object(a["createVNode"])("p",null," 1."+Object(a["toDisplayString"])(e.lan.$t("fengmianyaoqiu1")),1),Object(a["createVNode"])("p",null," 2."+Object(a["toDisplayString"])(e.lan.$t("fengmianyaoqiu2")),1)])])]})),_:1},8,["label"]),Object(a["createVNode"])(g,{label:e.lan.$t("shipinjieshao"),class:"video-introduction",rules:{required:!0,message:"Please input Activity name",trigger:"blur"}},{default:n((function(){return[Object(a["createVNode"])(w,{"list-type":"picture",customRequest:e.uploads,beforeUpload:e.video},{default:n((function(){return[0==e.form.fileurl.length?(Object(a["openBlock"])(),Object(a["createBlock"])("div",p,[0==e.uploadprogress?(Object(a["openBlock"])(),Object(a["createBlock"])(k,{key:0,style:{fontsize:"22px"}})):(Object(a["openBlock"])(),Object(a["createBlock"])(y,{key:1,type:"circle",percent:e.uploadprogress,width:80},null,8,["percent"]))])):Object(a["createCommentVNode"])("",!0),Object(a["withDirectives"])(Object(a["createVNode"])("div",d,[Object(a["createVNode"])("video",{src:e.form.fileurl,ref:function(t){e.videos[0]=t},class:"upload1"},null,8,["src"])],512),[[a["vShow"],0!=e.form.fileurl.length]])]})),_:1},8,["customRequest","beforeUpload"]),Object(a["createVNode"])("div",b,[Object(a["createVNode"])("p",null,Object(a["toDisplayString"])(e.lan.$t("shipinyaoqiu")),1),Object(a["createVNode"])("p",null,"1."+Object(a["toDisplayString"])(e.lan.$t("cshipinyaoqiu1")),1),Object(a["createVNode"])("p",null,"2."+Object(a["toDisplayString"])(e.lan.$t("cshipinyaoqiu2")),1),Object(a["createVNode"])("p",null,"3."+Object(a["toDisplayString"])(e.lan.$t("shipinyaoqiu3")),1)])]})),_:1},8,["label"]),Object(a["createVNode"])(g,{label:e.lan.$t("shipinjianjie"),class:"brief"},{default:n((function(){return[Object(a["createVNode"])(V,{value:e.form.desc,"onUpdate:value":t[2]||(t[2]=function(t){return e.form.desc=t}),autoSize:!0,class:"brief-textarea",maxlength:200,placeholder:e.lan.$t("shurushipinjianjie")},null,8,["value","placeholder"]),Object(a["createVNode"])("span",f,Object(a["toDisplayString"])(e.form.desc.length)+"/200",1)]})),_:1},8,["label"]),Object(a["createVNode"])(g,{"wrapper-col":{span:4,offset:0}},{default:n((function(){return[Object(a["createVNode"])(N,{onClick:e.onSubmit},{default:n((function(){return[Object(a["createTextVNode"])(Object(a["toDisplayString"])(e.lan.$t("shangchuanshipin")),1)]})),_:1},8,["onClick"])]})),_:1})]})),_:1},8,["label-col","wrapper-col"]),Object(a["createVNode"])(C)])})),O=(r("fb6a"),r("a434"),r("b0c0"),r("b680"),r("ac1f"),r("1276"),r("96cf"),r("1da1")),j=r("a109"),m=r("47ce"),g=r("1009"),h=r("48b8"),y=r("52ce"),w=r("79f6"),k=r("6c02"),V=r("f64c"),N=r("5699"),q=Object(a["defineComponent"])({name:"ReleaseWebcast",components:{PlaySquareOutlined:j["a"],PlusOutlined:m["a"],NavBottom:g["a"]},setup:function(){var e=!0,t=Object(N["c"])(),r=Object(a["ref"])({title:"",img:"",fileid:"",fileurl:"",fileduration:"",desc:"",video:[""]});Object(a["onMounted"])(Object(O["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!Object(k["d"])().query.id){e.next=4;break}return e.next=3,Object(w["ab"])(Object(k["d"])().query.id,1);case 3:r.value=e.sent;case 4:case"end":return e.stop()}}),e)}))));var n=Object(a["ref"])(!1),o=Object(a["ref"])("");function c(e){Object(h["b"])(e.file).then((function(e){return o.value=e})),n.value=!0}var i=function(e){var t=Object(h["c"])(e.name);return t||V["a"].error("请重新选择"),!1};function l(e){}function u(e){var t=r.value.video.slice();t.splice(e,1),r.value.video=t}var s=Object(a["ref"])(0),p=Object(a["ref"])(),d=Object(a["ref"])([]),b=Object(a["ref"])(!1);function f(e){return v.apply(this,arguments)}function v(){return v=Object(O["a"])(regeneratorRuntime.mark((function e(t){var a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,Object(y["a"])(t.file,(function(e){var t=100*e.percent.toFixed(2);t=parseInt(t+""),s.value=t||1}));case 2:a=e.sent,r.value.img=a.video.url;case 4:case"end":return e.stop()}}),e)}))),v.apply(this,arguments)}function j(e){if("image"!=e.type.split("/")[0])return V["a"].error(t.$t("fengmiangeshi")),void(b.value=!1);b.value=!0}var m=Object(a["ref"])(0),g=Object(a["ref"])(!1);function q(e){return C.apply(this,arguments)}function C(){return C=Object(O["a"])(regeneratorRuntime.mark((function t(a){var n;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return e=!1,p.value=a.file,m.value=1,d.value[0].addEventListener("durationchange",(function(){r.value.fileduration=d.value[0].duration})),t.next=6,Object(y["a"])(a.file,(function(e){var t=100*e.percent.toFixed(2);m.value=t>0?t:1}));case 6:n=t.sent,r.value.fileid=n.fileId,r.value.fileurl=n.video.url,e=!0;case 10:case"end":return t.stop()}}),t)}))),C.apply(this,arguments)}function S(e){"video"!=e.type.split("/")[0]?(g.value,V["a"].error(t.$t("wenjiangeshi"))):g.value=!0}var x=Object(k["d"])(),$=function(){var n=Object(O["a"])(regeneratorRuntime.mark((function n(o){var c;return regeneratorRuntime.wrap((function(n){while(1)switch(n.prev=n.next){case 0:if(e){n.next=3;break}return V["a"].error(t.$t("shangchuanwancheng")),n.abrupt("return");case 3:if(o.preventDefault(),c=Object(a["toRaw"])(r.value),""!=c.title){n.next=10;break}return V["a"].error(t.$t("biaotiweikong")),n.abrupt("return");case 10:if(""!=c.img){n.next=15;break}return V["a"].error(t.$t("fengmianweikong")),n.abrupt("return");case 15:""==c.fileurl?V["a"].error(t.$t("wenjianweikong")):x.query.id?(r.value.id=x.query.id,Object(w["V"])(r.value)):Object(w["Y"])(r,Object(a["toRaw"])(r.value));case 16:case"end":return n.stop()}}),n)})));return function(e){return n.apply(this,arguments)}}();function B(e){if("video"!=e.type.split("/")[0])return g.value=!1,void V["a"].error(t.$t("shipinjieshaoccuowu"));g.value=!0}function R(e){return Object(h["d"])(e,!0)}function D(e){return Object(h["c"])(e)}return{labelCol:{span:4},wrapperCol:{span:14},form:r,viewCover:n,previewImage:o,previewCover:h["b"],coverChange:c,cancelCover:l,beforeCoverUpload:i,onSubmit:$,uploadpicprogress:s,uploadspic:f,uploadprogress:m,uploads:q,videofile:p,videos:d,removeFile:u,beforeUpload:B,ifalowupload:b,beforeVideoUpload:S,lan:t,beforeUploadpic:j,video:R,imgs:D}}});r("554d");q.render=v,q.__scopeId="data-v-7910b216";t["default"]=q},"47ce":function(e,t,r){"use strict";var a=r("7a23"),n={icon:{tag:"svg",attrs:{viewBox:"64 64 896 896",focusable:"false"},children:[{tag:"defs",attrs:{},children:[{tag:"style",attrs:{}}]},{tag:"path",attrs:{d:"M482 152h60q8 0 8 8v704q0 8-8 8h-60q-8 0-8-8V160q0-8 8-8z"}},{tag:"path",attrs:{d:"M176 474h672q8 0 8 8v60q0 8-8 8H176q-8 0-8-8v-60q0-8 8-8z"}}]},name:"plus",theme:"outlined"},o=n,c=r("b3f0");function i(e){for(var t=1;tO)throw TypeError(j);for(s=l(m,a),p=0;pg-a+r;p--)delete m[p-1]}else if(r>a)for(p=g-a;p>h;p--)d=p+a-1,b=p+r-1,d in m?m[b]=m[d]:delete m[b];for(p=0;p