12 |
- webpackJsonp([3],{"0SG/":function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var a=i("ZLEe"),s=i.n(a),r=i("lC5x"),o=i.n(r),n=i("J0Oq"),c=i.n(n),l=i("a3Yh"),u=i.n(l),p={data:function(){var t;return t={liveType:this.$route.query.mode?1:2,mode:this.$route.query.mode?this.$route.query.mode:13,commnentList:[],liveObj:{creative_name:"",number:""},ruleName:{creative_name:[{required:!0,message:"请输入创意名称",trigger:"blur"}],number:[{required:!1,message:"请输入创意数量",trigger:"blur"}]},rules:{creative_name:[{required:!0,message:"请输入创意名称",trigger:"blur"}],action_bar_text:[{required:!0,message:"请选择行动号召按钮",trigger:"blur"}],description:[{required:!1,message:"请输入作品广告语",trigger:"blur"}],new_expose_tag:[{type:"array",required:!0,message:"请输入推荐理由",trigger:"blur"}],number:[{required:!1,message:"请输入创意数量",trigger:"blur"}]},site:"自定义",adText:[],programData:{name:"",click_url:"",action_bar:"",style:[],number:""},rulesProgram:{style:[{type:"array",required:!0,message:"请选择至少选择一个封面贴图",trigger:"change"}],name:[{required:!0,message:"请输入创意名称",trigger:"blur"}],action_bar:[{required:!0,message:"请选择行动号召按钮",trigger:"blur"}],number:[{required:!1,message:"请输入创意数量",trigger:"blur"}]},aIndex:0,editType:1,unit_id:"",creative_id:"",postObj:{},postData:"",allPost:[],click_track_url:"",cover_slogans:[{text:""}]},u()(t,"adText",[{text:""}]),u()(t,"playFlag",""),u()(t,"cover_url",""),u()(t,"style",[]),u()(t,"styleList",[]),u()(t,"setPost",!1),u()(t,"showPlay",!0),u()(t,"loadUpload",!1),u()(t,"reWord",""),u()(t,"showWord",!1),u()(t,"wordCon",""),u()(t,"contentList",[]),u()(t,"wordList",[]),u()(t,"new_expose_tag",[]),u()(t,"checkTab","00"),u()(t,"addFlag",!1),u()(t,"loadThree",!1),u()(t,"checkImage",!1),u()(t,"loadVideo",!1),u()(t,"id",this.$route.query.id.split(",")[0]),u()(t,"unit_type","4"),u()(t,"smart_cover","1"),u()(t,"uploadList",[]),u()(t,"uploadItem",""),u()(t,"type",1),u()(t,"checkVideo",[]),u()(t,"checkVideoR",[]),u()(t,"videoList",[]),u()(t,"postList",[]),u()(t,"checkTabR","00"),u()(t,"tabListR",[{photo_id:"0"}]),u()(t,"tabList",[{photo_id:"0",name:"",description:""}]),u()(t,"page_size",20),u()(t,"page",1),u()(t,"total",1),u()(t,"page_size1",20),u()(t,"page1",1),u()(t,"total1",1),t},components:{step:i("iYRz").a},created:function(){this.getWords(),this.getWordList(),this.getRecommen(),this.getStyles(),this.$route.query.unit_type?(this.getVideo(),this.unit_id=this.$route.query.unit_id?this.$route.query.unit_id:"",this.unit_type=this.$route.query.unit_type.toString(),this.creative_id=this.$route.query.creative_id?this.$route.query.creative_id:"",!this.creative_id&&!this.unit_id||this.$route.query.mode||(4==this.$route.query.unit_type?this.creativeDetail():this.programCreativeDetail())):this.getInfo()},methods:{change:function(t){this.$forceUpdate()},getInfo:function(){var t=this;this.loadThree=!0,this.$axios.get(this.URL.BASEURL+this.URL.getBatchUnitInfo,{params:{batch_unit_id:this.$route.query.batch_unit_id.split(",")}}).then(function(e){e=e.data;t.loadThree=!1,e&&0==e.errno?(t.unit_type=e.rst.unit_type.toString(),t.smart_cover=e.rst.smart_cover,t.asset_mining=e.rst.asset_mining):t.$message({message:e.err,type:"warning"})}).catch(function(){t.loadThree=!1})},editWord:function(t){var e=this;if("4"==this.unit_type){var i=1==this.type?this.tabList:this.tabListR,a=1==this.type?this.checkTab:this.checkTabR;i.forEach(function(i,s){i.photo_id+s==a&&(i.description=(i.description?i.description:"")+"["+t+"]",e.$set(1==e.type?e.tabList:e.tabListR,s,i))})}else 1==this.editType?this.cover_slogans[this.aIndex].text=this.cover_slogans[this.aIndex].text+"["+t+"]":this.adText[this.aIndex].text=this.adText[this.aIndex].text+"["+t+"]";this.showWord=!1},addText:function(t,e,i){e.hasOwnProperty("description")||(e.description=""),e.description=(e.description?e.description:"")+"["+t.name+"]",1==this.type?this.$set(this.tabList,i,e):this.$set(this.tabListR,i,e)},updateCreate:function(){var t=this;return c()(o.a.mark(function e(){var i,a,s;return o.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t.rules.description[0]={required:!0,message:"请输入作品广告语"},i="",a={},s={},14!=t.mode||1!=t.liveType){e.next=9;break}return e.next=5,t.$refs.liveBox.validate();case 5:i=e.sent,s={advertiser_id:Number(t.id),creative_id:t.creative_id,creative_material_type:Number(t.type),creative_name:a.creative_name,number:1,click_track_url:t.click_track_url},e.next=17;break;case 9:return e.next=11,t.$refs.tab0[0].validate();case 11:if(i=e.sent,a=1==t.type?t.tabList[0]:t.tabListR[0],s={advertiser_id:Number(t.id),creative_id:t.creative_id,creative_material_type:Number(t.type),creative_name:a.creative_name,action_bar_text:a.action_bar_text,new_expose_tag:a.new_expose_tag,description:a.description,photo_id:a.photo_id,image_token:a.image_token,number:1,click_track_url:t.click_track_url},a.url){e.next=17;break}return t.$message.error("创意内容不能为空"),e.abrupt("return");case 17:if(i){e.next=19;break}return e.abrupt("return");case 19:t.loadThree=!0,t.$axios.post(t.URL.BASEURL+t.URL.updateCreate,s).then(function(e){e=e.data;t.loadThree=!1,e&&0==e.errno?(t.$message.success("自定义创意编辑成功"),t.$router.push("/manage?advertiser_id="+t.id)):t.$message({message:e.err,type:"warning"})}).catch(function(e){console.log(e),t.loadThree=!1});case 21:case"end":return e.stop()}},e,t)}))()},updateOne:function(){var t=this,e=[];if(13==this.mode||14==this.mode&&2==this.liveType){this.rules.number[0]={required:!0,message:"请输入创意数量"},this.rules.description[0]={required:!0,message:"请输入作品广告语"};var i=[];if(this.tabList.forEach(function(e,a){t.$refs.tab0[a].validate(function(t){t?i.push(!0):i.push(!1)})}),-1!=i.indexOf(!1)){var a=i.indexOf(!1);return this.checkTab=this.tabList[a].photo_id+a,void this.$message.error("请完整填写创意"+(a+1)+"的内容")}if(!this.tabList[0].url)return void this.$message.error("创意内容不能为空");this.tabList.forEach(function(i){var a={creative_material_type:t.type,number:i.number,creative_name:i.creative_name,action_bar_text:i.action_bar_text,description:i.description,photo_id:i.photo_id,new_expose_tag:i.new_expose_tag};i.hasOwnProperty("image_token")&&(a.image_token=i.image_token),e.push(a)});var s=!0;if(this.tabList.every(function(e,i){for(var a in e)e[a]||!s||"description"!=a&&"creative_name"!=a&&"action_bar_text"!=a||(t.$message.error("创意"+i+"的"+("description"==a?"广告语不能为空":"action_bar_text"==a?"行动号召按钮不能为空":"创意名称不能为空")),s=!1,t.$message.error("空内容"))}),!s)return}else 14==this.mode&&1==this.liveType&&(e=[{live_creative_type:this.liveType,creative_name:this.liveObj.creative_name,number:this.liveObj.number}]);14==this.mode&&e.forEach(function(e){e.live_creative_type=t.liveType}),this.loadThree=!0,this.$axios.post(this.URL.BASEURL+this.URL.singleCreate,{advertiser_id:this.$route.query.id,unit_id:this.unit_id,batch_unit_id:this.$route.query.batch_unit_id,click_track_url:this.click_track_url,creatives:e}).then(function(e){e=e.data;t.loadThree=!1,e&&0==e.errno?(t.$message.success("自定义创意创建成功"),t.$router.push("/manage")):t.$message({message:e.err,type:"warning"})}).catch(function(){t.loadThree=!1})},programOne:function(){var t=this;return c()(o.a.mark(function e(){var i,a,s;return o.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(console.log("添加"),i=[],a=[],t.$refs.adList.forEach(function(t){t.validate(function(t){t||a.push(!1)})}),t.$refs.capList.forEach(function(t){t.validate(function(t){t||i.push(!1)})}),-1==a.indexOf(!1)){e.next=6;break}return e.abrupt("return");case 6:if(-1==i.indexOf(!1)){e.next=8;break}return e.abrupt("return");case 8:return e.next=10,t.$refs.ruleForm.validate();case 10:if(e.sent){e.next=13;break}return e.abrupt("return");case 13:if(!("0"==t.smart_cover&&0==t.postList.length||1==t.type&&0==t.checkVideo.length||2==t.type&&0==t.checkVideoR.length)){e.next=16;break}return t.$message.error("请至少上传1个视频和1张封面"),e.abrupt("return");case 16:s=u()({advertiser_id:t.id.split(",")[0],creative_id:t.creative_id,unit_id:t.$route.query.unit_id,package_name:t.programData.name,horizontal_photo_ids:t.checkVideoR.map(function(t){return t.photo_id}),action_bar:t.programData.action_bar,vertical_photo_ids:t.checkVideo.map(function(t){return t.photo_id}),cover_image_tokens:t.postList.map(function(t){return t.image_token}),sticker_styles:t.programData.style,cover_slogans:t.cover_slogans.map(function(t){return t.text}),captions:t.adText.map(function(t){return t.text}),click_url:t.click_track_url},"action_bar",t.programData.action_bar),t.loadThree=!0,t.$axios.post(t.URL.BASEURL+t.URL.singleProgramCreate,s).then(function(e){e=e.data;t.loadThree=!1,e&&0==e.errno?(t.$message.success("程序化创意编辑成功"),t.$router.push("/manage?advertiser_id="+t.id)):t.$message({message:e.err,type:"warning"})}).catch(function(){t.loadThree=!1});case 19:case"end":return e.stop()}},e,t)}))()},programUpdate:function(){var t=this;return c()(o.a.mark(function e(){var i,a,s;return o.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(i=[],a=[],t.$refs.adList.forEach(function(t){t.validate(function(t){t||a.push(!1)})}),t.$refs.capList.forEach(function(t){t.validate(function(t){t||i.push(!1)})}),-1==a.indexOf(!1)){e.next=5;break}return e.abrupt("return");case 5:if(-1==i.indexOf(!1)){e.next=7;break}return e.abrupt("return");case 7:return e.next=9,t.$refs.ruleForm.validate();case 9:if(e.sent){e.next=12;break}return e.abrupt("return");case 12:if(!("0"==t.smart_cover&&0==t.postList.length||1==t.type&&0==t.checkVideo.length||2==t.type&&0==t.checkVideoR.length)){e.next=15;break}return t.$message.error("请至少上传1个视频和1张封面"),e.abrupt("return");case 15:s={advertiser_id:t.id.split(",")[0],creative_id:t.creative_id,unit_id:t.$route.query.unit_id,package_name:t.programData.name,horizontal_photo_ids:t.checkVideoR.map(function(t){return t.photo_id}),vertical_photo_ids:t.checkVideo.map(function(t){return t.photo_id}),cover_image_tokens:t.postList.map(function(t){return t.image_token}),sticker_styles:t.programData.style,cover_slogans:t.cover_slogans.map(function(t){return t.text}),captions:t.adText.map(function(t){return t.text}),click_url:t.click_track_url,action_bar:t.programData.action_bar},t.loadThree=!0,t.$axios.post(t.URL.BASEURL+t.URL.programUpdate,s).then(function(e){e=e.data;t.loadThree=!1,e&&0==e.errno?(t.$message.success("程序化创意编辑成功"),t.$router.push("/manage?advertiser_id="+t.id)):t.$message({message:e.err,type:"warning"})}).catch(function(){t.loadThree=!1});case 18:case"end":return e.stop()}},e,t)}))()},creativeDetail:function(){var t=this;this.loadThree=!0,this.$axios.get(this.URL.BASEURL+this.URL.creativeDetail,{params:{advertiser_id:Number(this.id),creative_id:this.creative_id.split(",")}}).then(function(e){if(t.loadThree=!1,(e=e.data)&&0==e.errno){var i=e.rst;if(t.type=i.creative_material_type?i.creative_material_type:"1",t.tabList=[],t.liveType=e.rst.live_creative_type,t.mode=e.rst.campaign_type,t.click_track_url=i.click_track_url,14==t.mode&&2==t.liveType||13==t.mode){var a={url:i.photo_url,cover_url:i.cover_url,photo_cover:i.photo_cover,photo_id:i.photo_id,action_bar_text:i.action_bar_text,description:i.description,creative_name:i.creative_name,image_token:i.image_token,new_expose_tag:i.new_expose_tag};t.unit_type=e.rst.unit_type.toString(),t.smart_cover=e.rst.smart_cover,t.asset_mining=e.rst.asset_mining,t.tabList.push(a),t.checkTab=t.tabList[0].photo_id+"0"}else t.liveObj={creative_name:e.rst.creative_name,number:1},t.tabList=[{photo_id:"0",name:"",description:""}]}else t.$message({message:e.err,type:"warning"})}).catch(function(e){console.log(e),t.loadThree=!1})},programCreativeDetail:function(){var t=this;this.loadThree=!0,this.$axios.get(this.URL.BASEURL+this.URL.programCreativeDetail,{params:{advertiser_id:Number(this.id),unit_id:this.$route.query.unit_id}}).then(function(e){if(t.loadThree=!1,(e=e.data)&&0==e.errno){var i=e.rst;t.checkVideo=[],t.adText=[],t.cover_slogans=[],t.postList=[],i.vertical_photo_data.map(function(e){t.checkVideo.push(e)}),i.cover_image_tokens.length>0&&JSON.parse(i.cover_image_urls).forEach(function(e){t.postList.push({url:e})}),t.programData.style=JSON.parse(i.sticker_styles),t.programData.name=i.package_name,t.programData.action_bar=i.action_bar,i.captions.forEach(function(e){t.adText.push({text:e})}),i.cover_slogans.forEach(function(e){t.cover_slogans.push({text:e})}),t.unit_type=e.rst.unit_type.toString(),t.smart_cover=e.rst.smart_cover,t.asset_mining=e.rst.asset_mining,t.click_track_url=i.click_url}else t.$message({message:e.err,type:"warning"})}).catch(function(e){console.log(e),t.loadThree=!1})},trueVideo:function(){var t=this;if(this.addFlag=!1,"4"==this.unit_type){var e="1"==this.type?this.tabList:this.tabListR,i="1"==this.type?this.checkTab:this.checkTabR,a="1"==this.type?this.checkVideo:this.checkVideoR;e.forEach(function(s,r){if(i==s.photo_id+r){var o=s;o.photo_id=a[0].photo_id,o.cover_url=a[0].cover_url,o.cover_url1=a[0].cover_url,o.photo_cover=a[0].photo_cover,o.url=a[0].url,t.$set(e,r,o),1==t.type?t.checkTab=a[0].photo_id+r:t.checkTabR=a[0].photo_id+r}}),e=e.filter(function(t){return t.url}),a.length>0&&((e=e.concat(a.splice(1,a.length-1))).forEach(function(i,a){i.description=i.description?i.description:"",t.$set(e,a,i)}),1==this.type?this.tabList=e:this.tabListR=e),a=[],1==this.type?this.checkVideo=a:this.checkVideoR=a}this.creative_id&&(1==this.type&&this.tabList.length>1||2==this.type&&this.tabListR.length>1)?(this.$message.error("编辑创意中最多只能有一个创意"),1==this.type?this.tabList=this.tabList.slice(0,1):this.tabListR=this.tabListR.slice(0,1)):this.$route.query.unit_id&&(1==this.type&&this.checkVideo.length>5||2==this.type&&this.checkVideoR.length>5)&&(this.$message.error("编辑创意中最多只能有五个创意"),1==this.type?this.checkVideo=this.checkVideo.slice(0,5):this.checkVideoR=this.checkVideoR.slice(0,5))},truePost:function(){this.cover_url=this.postData.url,this.checkImage=!1},savePost:function(){var t=this;this.cover_url?this.postData.url?(this.cover_url="",this.uploadList=[],this.setPost=!1,"7"==this.unit_type?this.postList.push(this.postData):this.tabList.forEach(function(e,i){if(t.checkTab==e.photo_id+i){var a=e;a.cover_url1=t.postData.url,a.image_token=t.postData.image_token,t.$set(t.tabList,i,a)}}),this.postData={}):this.addPost():this.$message.error("封面不能为空")},checkPost:function(){this.postList.length>=4?this.$message.error("最多可设置4个封面"):this.setPost=!0},play:function(){this.$refs.video[0].play(),this.showPlay=!1},getWords:function(){var t=this;this.$axios.get(this.URL.BASEURL+this.URL.barTextList,{params:{advertiser_id:Number(this.id),campaign_type:13}}).then(function(e){(e=e.data)&&0==e.errno?(t.wordList=e.rst,t.word=e.rst[0]):t.$message({message:e.err,type:"warning"})}).catch(function(e){t.loadThree=!1})},getRecommen:function(){var t=this;this.$axios.get(this.URL.BASEURL+this.URL.getRecommendedWord,{params:{advertiser_id:Number(this.id)}}).then(function(e){(e=e.data)&&0==e.errno?t.commnentList=e.rst:t.$message({message:e.err,type:"warning"})}).catch(function(e){t.loadThree=!1})},getWordList:function(){var t=this;this.$axios.get(this.URL.BASEURL+this.URL.creativeWordList,{params:{advertiser_id:Number(this.id)}}).then(function(e){(e=e.data)&&0==e.errno?t.contentList=e.rst:t.$message({message:e.err,type:"warning"})}).catch(function(e){t.loadThree=!1})},getStyles:function(){var t=this;this.$axios.get(this.URL.BASEURL+this.URL.creativeWordStyles,{params:{advertiser_id:Number(this.id)}}).then(function(e){(e=e.data)&&0==e.errno?t.styleList=e.rst:t.$message({message:e.err,type:"warning"})}).catch(function(e){t.loadThree=!1})},handleTabsEdit:function(t,e){var i=this;if(this.creative_id)this.$message.error("编辑创意时,不支持添加或删除创意");else if("remove"!=e)if(1==this.type){if(!this.tabList[this.tabList.length-1].url)return void this.$message.error("有空创意时,无法继续添加创意");this.tabList.push({photo_id:"test"+this.tabList.length,description:"",number:""})}else{if(!this.tabListR[this.tabListR.length-1].url)return void this.$message.error("有空创意时,无法继续添加创意");this.tabListR.push({photo_id:"test"+this.tabListR.length,description:"",number:""})}else{if(1==(1==this.type?this.tabList:this.tabListR).length)return void this.$message.warning("当前只有一个创意,不可进行删除操作");this.$confirm("此操作将永久删除该创意, 是否继续?","提示",{confirmButtonText:"确定",cancelButtonText:"取消",type:"warning"}).then(function(){1==i.type?i.tabList.forEach(function(e,a){e.photo_id+a==t&&(i.tabList.splice(a,1),i.checkTab==e.photo_id+a&&(i.checkTab=i.tabList[0].photo_id+"0"))}):i.tabListR.forEach(function(e,a){e.photo_id+a==t&&(i.tabListR.splice(a,1),i.checkTab==e.photo_id+a&&(i.checkTab=i.tabListR[0].photo_id+"0"))}),i.$message({type:"success",message:"删除成功!"}),1==i.type?0==i.tabList.length&&(i.tabList=[{photo_id:""}]):0==i.tabListR.length&&(i.tabListR=[{photo_id:""}])}).catch(function(){i.$message({type:"info",message:"已取消删除"})})}},upload:function(t){var e=t[0]?t[0].files:t.files;return this.uploadList=[],Math.floor(e[0].size/1024)>2097152?(this.$message({message:"请选择2M以内的文件",type:"warning"}),!1):-1==e[0].type.toString().indexOf("png")&&-1==e[0].type.toString().indexOf("jpeg")&&-1==e[0].type.toString().indexOf("jpg")&&-1==e[0].type.toString().indexOf("gif")?(this.$message({message:"文件格式不支持,请重新上传",type:"warning"}),!1):(this.$set(this.uploadList,e[0].name+"?"+(new Date).getTime(),e[0]),void this.addList())},addList:function(){var t=this,e=new FileReader;if(0==s()(this.uploadList).length)return this.$message({message:"请上传文件",type:"warning"}),!1;var i=s()(this.uploadList)[0];e.readAsDataURL(this.uploadList[i]),e.onload=function(i){var a=e.result;t.setPost?t.cover_url=a:t.addVideo(a)}},addPost:function(t){var e=this;this.page1=t,this.loadUpload=!0,this.$axios.post(this.URL.BASEURL+this.URL.creativeUpload,{advertiserId:Number(this.id),file:this.cover_url,uploadType:1}).then(function(t){if(e.loadUpload=!1,(t=t.data)&&0==t.errno)if(t.rst.url)if(e.cover_url="",e.uploadList=[],e.setPost=!1,"7"==e.unit_type)e.postList.push(t.rst);else{if(1==e.type){if(t.rst.width>t.rst.height)return void e.$message.error("图片不符合要求,请重新上传");e.tabList.forEach(function(i,a){if(e.checkTab==i.photo_id+a){var s=i;s.cover_url1=t.rst.url,s.image_token=t.rst.image_token,e.$set(e.tabList,a,s)}})}else{if(t.rst.width<t.rst.height)return void e.$message.error("图片不符合要求,请重新上传");e.tabListR.forEach(function(i,a){if(e.checkTabR==i.photo_id+a){var s=i;s.cover_url1=t.rst.url,s.image_token=t.rst.image_token,e.$set(e.tabListR,a,s)}})}e.$message({message:"上传成功",type:"success"})}else e.cover_url="",e.$message.error(t.rst);else e.$message({message:t.err,type:"warning"})}).catch(function(t){e.loadUpload=!1})},addVideo:function(t){var e=this;this.loadThree=!0,this.$axios.post(this.URL.BASEURL+this.URL.uploadVideo,{advertiser_id:Number(this.id),file:t,type:1}).then(function(t){e.loadThree=!1;t=t.data;1==e.type&&t.rst.width/t.rst.height!=9/16||2==e.type&&t.rst.width/t.rst.height!=16/9?e.$message.error("当前上传的视频不满足长宽比例"):t&&0==t.errno?(e.uploadList=[],e.$message({message:"上传成功",type:"success"})):e.$message({message:t.err,type:"warning"})}).catch(function(t){e.loadThree=!1})},getVideo:function(t){var e=this;this.page=t,this.videoList=[],this.loadVideo=!0,this.$axios.get(this.URL.BASEURL+this.URL.userVideoList,{params:{advertiser_id:Number(this.id),page:this.page,page_size:this.page_size}}).then(function(t){e.loadVideo=!1,(t=t.data)&&0==t.errno?(e.videoList=t.rst.data,e.page_size=Number(t.rst.pageInfo.size),e.total=t.rst.pageInfo.total):e.$message({message:t.err,type:"warning"})}).catch(function(t){e.loadVideo=!1})},getPost:function(t){var e=this;this.page1=t,this.videoList=[],this.loadVideo=!0,this.$axios.get(this.URL.BASEURL+this.URL.adImageIndex,{params:{advertiserId:Number(this.id),page:this.page1,page_size:this.page_size1}}).then(function(t){e.loadVideo=!1,(t=t.data)&&0==t.errno?(e.allPost=t.rst.data,e.page_size1=Number(t.rst.pageInfo.size),e.total1=t.rst.pageInfo.total):e.$message({message:t.err,type:"warning"})}).catch(function(t){e.loadVideo=!1})},handleCurrentChange:function(t){this.getVideo(t)},handleCurrentChange1:function(t){this.getPost(t)},create:function(){var t=this,e=[];if(13==this.mode||14==this.mode&&2==this.liveType){this.rules.number[0]={required:!0,message:"请输入创意数量"},this.rules.description[0]={required:!0,message:"请输入作品广告语"};var i=[];if(this.tabList.forEach(function(e,a){t.$refs.tab0[a].validate(function(t){t?i.push(!0):i.push(!1)})}),-1!=i.indexOf(!1)){var a=i.indexOf(!1);return this.checkTab=this.tabList[a].photo_id+a,void this.$message.error("请完整填写创意"+(a+1)+"的内容")}if(!this.tabList[0].url)return void this.$message.error("创意内容不能为空");this.tabList.forEach(function(i){var a={creative_material_type:t.type,number:i.number,creative_name:i.creative_name,action_bar_text:i.action_bar_text,description:i.description,photo_id:i.photo_id,new_expose_tag:i.new_expose_tag};i.hasOwnProperty("image_token")&&(a.image_token=i.image_token),e.push(a)});var s=!0;if(this.tabList.every(function(e,i){for(var a in e)e[a]||!s||"description"!=a&&"creative_name"!=a&&"action_bar_text"!=a||(t.$message.error("创意"+i+"的"+("description"==a?"广告语不能为空":"action_bar_text"==a?"行动号召按钮不能为空":"创意名称不能为空")),s=!1,t.$message.error("空内容"))}),!s)return}else 14==this.mode&&1==this.liveType&&(e=[{live_creative_type:this.liveType,creative_name:this.liveObj.creative_name,number:this.liveObj.number}]);14==this.mode&&e.forEach(function(e){e.live_creative_type=t.liveType}),this.loadThree=!0,this.$axios.post(this.URL.BASEURL+this.URL.batchCreate,{advertiser_ids:this.$route.query.id.split(","),batch_unit_id:this.$route.query.batch_unit_id,click_track_url:this.click_track_url,creatives:e}).then(function(e){e=e.data;t.loadThree=!1,e&&0==e.errno?(t.$message.success("自定义创意创建成功"),t.$router.push("/")):t.$message({message:e.err,type:"warning"})}).catch(function(){t.loadThree=!1})},createProgram:function(){var t=this;return c()(o.a.mark(function e(){var i,a,s;return o.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(t.rulesProgram.number[0]={required:!0,message:"请输入创意数量"},i=[],a=[],t.$refs.adList.forEach(function(t){t.validate(function(t){t||a.push(!1)})}),t.$refs.capList.forEach(function(t){t.validate(function(t){t||i.push(!1)})}),-1==a.indexOf(!1)){e.next=6;break}return e.abrupt("return");case 6:if(-1==i.indexOf(!1)){e.next=8;break}return e.abrupt("return");case 8:return e.next=10,t.$refs.ruleForm.validate();case 10:if(e.sent){e.next=13;break}return e.abrupt("return");case 13:if(!("0"==t.smart_cover&&0==t.postList.length||1==t.type&&0==t.checkVideo.length||2==t.type&&0==t.checkVideoR.length)){e.next=16;break}return t.$message.error("请至少上传1个视频和1张封面"),e.abrupt("return");case 16:s={advertiser_ids:t.$route.query.id.split(","),batch_unit_id:t.$route.query.batch_unit_id,package_name:t.programData.name,action_bar:t.programData.action_bar,sticker_styles:t.programData.style,number:t.programData.number,horizontal_photo_ids:t.checkVideoR.map(function(t){return t.photo_id}),vertical_photo_ids:t.checkVideo.map(function(t){return t.photo_id}),cover_image_tokens:t.postList.map(function(t){return t.image_token}),cover_slogans:t.cover_slogans.map(function(t){return t.text}),captions:t.adText.map(function(t){return t.text}),click_url:t.click_track_url},t.loadThree=!0,t.$axios.post(t.URL.BASEURL+t.URL.programCreate,s).then(function(e){e=e.data;t.loadThree=!1,e&&0==e.errno?(t.$message.success("程序化创意创建成功"),t.$router.push("/")):t.$message({message:e.err,type:"warning"})}).catch(function(){t.loadThree=!1});case 19:case"end":return e.stop()}},e,t)}))()},save:function(){console.log("save"),this.creative_id||this.$route.query.unit_id?"4"==this.unit_type?this.$route.query.mode?this.updateOne():this.updateCreate():this.$route.query.mode?this.programOne():this.programUpdate():"4"==this.unit_type?this.create():this.createProgram()}},watch:{unit_type:function(){console.log(this.unit_type)},addFlag:function(){this.addFlag&&this.getVideo(1)},checkImage:function(){this.checkImage&&this.getPost(1)}}},d={render:function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loadThree,expression:"loadThree"}],staticClass:"first three"},[a("step"),t._v(" "),a("div",{staticClass:"addBox"},[a("h3",{staticClass:"h3"},[t._v("创意制作")]),t._v(" "),a("div",{staticClass:"inputItem"},[a("label",{staticClass:"label"},[t._v("创意制作方式")]),t._v(" "),a("el-radio-group",{attrs:{disabled:""},model:{value:t.unit_type,callback:function(e){t.unit_type=e},expression:"unit_type"}},[a("el-radio-button",{attrs:{label:"4"}},[t._v("自定义")]),t._v(" "),a("el-radio-button",{attrs:{label:"7"}},[t._v("程序化创意")])],1),t._v(" "),a("div",{staticClass:"notice"},[t._v("快手广告可将提供的丰富素材,程序化生成更好的创意,达到更优投放效果")])],1),t._v(" "),"14"==t.mode?a("div",{staticClass:"inputItem"},[a("label",{staticClass:"label"},[t._v("创意样式")]),t._v(" "),a("el-radio-group",{attrs:{disabled:!!t.creative_id},model:{value:t.liveType,callback:function(e){t.liveType=e},expression:"liveType"}},[a("el-radio-button",{attrs:{label:"1"}},[t._v("直投直播")]),t._v(" "),a("el-radio-button",{attrs:{label:"2"}},[t._v("作品引流")])],1)],1):t._e(),t._v(" "),13==t.mode||"2"==t.liveType?a("div",["4"==t.unit_type?a("div",{staticClass:"inputItem"},[a("label",{staticClass:"label"},[t._v("创意内容")]),t._v(" "),a("el-radio-group",{model:{value:t.type,callback:function(e){t.type=e},expression:"type"}},[a("el-radio-button",{attrs:{label:"1"}},[t._v("竖版视频")]),t._v(" "),a("el-radio-button",{attrs:{label:"2"}},[t._v("横版视频")])],1),t._v(" "),a("div",{staticClass:"inputRight videoMain"},[1==t.type?a("el-tabs",{attrs:{editable:""},on:{edit:t.handleTabsEdit},model:{value:t.checkTab,callback:function(e){t.checkTab=e},expression:"checkTab"}},t._l(t.tabList,function(e,s){return a("el-tab-pane",{key:s,attrs:{label:"创意"+(s+1),name:e.photo_id+s}},[a("div",{staticClass:"leftBox"},[a("img",{staticClass:"back",attrs:{src:i("5ng9"),alt:""}}),t._v(" "),a("video",{ref:"video",refInFor:!0,attrs:{loop:"",poster:e.photo_cover?e.photo_cover:e.cover_url,src:e.url}}),t._v(" "),a("div",{staticClass:"video"},[e.url&&t.showPlay?a("img",{staticClass:"play",attrs:{src:i("20yL"),alt:""},on:{click:t.play}}):a("div",[t._v("上传的视频可以在此预览")])])]),t._v(" "),a("div",{staticClass:"rightBox"},[a("div",{staticClass:"intputBox"},[a("label",{staticClass:"label"},[t._v("素材内容")]),t._v(" "),a("div",{staticClass:"postFlex"},[a("div",{staticClass:"postMain"},[e.photo_cover||e.cover_url?a("div",{staticClass:"flexThree"},[a("div",{staticClass:"box"},[a("video",{staticClass:"post",attrs:{src:e.url,poster:e.photo_cover?e.photo_cover:e.cover_url}}),t._v(" "),a("div",{staticClass:"doList"},[a("button",{staticClass:"button",on:{click:function(i){t.addFlag=!0,t.checkTab=e.photo_id+s}}},[t._v("更换作品")])])])]):a("div",{staticClass:"flexThree"},[a("img",{staticClass:"play",attrs:{src:i("dYrp"),alt:""}}),t._v(" "),a("div",[a("button",{staticClass:"button",on:{click:function(e){t.addFlag=!0}}},[t._v("选择作品")])])]),t._v(" "),a("div",{staticClass:"notice"},[a("el-popover",{attrs:{placement:"top",trigger:"hover"}},[a("p",{staticClass:"threeNotice"},[t._v("上传的视频需要满足以下条件")]),t._v(" "),a("div",{staticClass:"threeNBox"},[a("p",[t._v("分辨率不小于720p(建议1080p)")]),t._v(" "),a("p",[t._v("视频码率不小于1000kbps")]),t._v(" "),a("p",[t._v("帧率不小于20fps")]),t._v(" "),a("p",[t._v("音频码率不小于64kbps")]),t._v(" "),a("p",[t._v("视频时长需满足时长范围为5秒~10分钟")]),t._v(" "),a("p",[t._v("竖版视频宽高比9:16,宽版视频宽高比16:9")]),t._v(" "),a("p",[t._v("视频尺寸需小于100m")]),t._v(" "),a("p",[t._v("超出视频可关联有效创意的最大数量")])]),t._v(" "),a("el-button",{staticClass:"look",attrs:{slot:"reference"},slot:"reference"},[t._v("查看")])],1),t._v("\n 视频格式说明")],1)]),t._v(" "),a("div",{staticClass:"postMain"},[e.cover_url1||e.cover_url?a("div",{staticClass:"flexThree"},[a("div",{staticClass:"one"},[a("img",{staticClass:"post",attrs:{src:e.cover_url1?e.cover_url1:e.cover_url,alt:""}}),t._v(" "),a("div",{staticClass:"doList"},[a("div",{staticClass:"upload"},[a("button",{staticClass:"button",on:{click:function(e){t.setPost=!0}}},[t._v("封面修改")])])])])]):a("div",{staticClass:"flexThree"},[a("img",{staticClass:"play",attrs:{src:i("bBAg"),alt:""}}),t._v(" "),a("div",{staticStyle:{height:"70px"}},[a("button",{staticClass:"button",on:{click:function(e){t.setPost=!0}}},[t._v("封面设置")])])]),t._v(" "),a("div",{staticClass:"notice"},[a("el-popover",{attrs:{placement:"top",trigger:"hover"}},[a("p",{staticClass:"threeNotice"},[t._v("上传的图片需要满足以下条件")]),t._v(" "),a("div",{staticClass:"threeNBox"},[a("p",[t._v("当前展示视频原封面,你也可以从本地上传图片")]),t._v(" "),a("p",[t._v("图片宽不小于540p,图片高不小于540p")]),t._v(" "),a("p",[t._v("上传图片只支持.jpg格式,图片不能大于2MB")])]),t._v(" "),a("el-button",{staticClass:"look",attrs:{slot:"reference"},slot:"reference"},[t._v("查看")])],1),t._v("\n 图片格式说明")],1)])])]),t._v(" "),a("el-form",{ref:"tab0",refInFor:!0,attrs:{model:e,rules:t.rules}},[a("el-form-item",{staticClass:"inputBox",attrs:{prop:"action_bar_text",label:"行动号召按钮","label-position":"right","label-width":"140px"}},[a("div",{staticClass:"rightInput"},[a("el-select",{attrs:{slot:"prepend",placeholder:"请选择"},slot:"prepend",model:{value:e.action_bar_text,callback:function(i){t.$set(e,"action_bar_text",i)},expression:"item.action_bar_text"}},t._l(t.wordList,function(t){return a("el-option",{key:t,attrs:{label:t,value:t}})}),1)],1)]),t._v(" "),a("el-form-item",{staticClass:"inputBox",attrs:{prop:"description",label:"作品广告语","label-position":"right","label-width":"140px"}},[a("div",{staticClass:"rBox",staticStyle:{margin:"0"}},[a("el-input",{attrs:{type:"textarea",maxlength:"34",name:"",id:"",cols:"30",rows:"3","show-word-limit":""},on:{input:function(e){return t.change(e)}},model:{value:e.description,callback:function(i){t.$set(e,"description",i)},expression:"item.description"}}),t._v(" "),a("div",{staticClass:"list",staticStyle:{"padding-bottom":"0"}},[t._v("\n 插入动态词包:\n "),t._l(t.contentList,function(i){return a("div",{staticClass:"info",on:{click:function(a){return t.addText(i,e,s)}}},[t._v(" "+t._s(i.name)+" ")])}),t._v(" "),a("div",{staticClass:"info",on:{click:function(e){t.showWord=!0}}},[t._v("更多")])],2)],1)]),t._v(" "),a("el-form-item",{staticClass:"inputBox",attrs:{prop:"new_expose_tag",label:"推荐理由","label-position":"right","label-width":"140px"}},[a("div",{staticClass:"rightInput"},[a("el-select",{attrs:{slot:"prepend",multiple:"",placeholder:"请选择"},slot:"prepend",model:{value:e.new_expose_tag,callback:function(i){t.$set(e,"new_expose_tag",i)},expression:"item.new_expose_tag"}},t._l(t.commnentList,function(t){return a("el-option",{key:t,attrs:{label:t,value:t}})}),1)],1)]),t._v(" "),a("el-form-item",{staticClass:"inputBox",attrs:{prop:"creative_name",label:"创意名称","label-position":"right","label-width":"140px"}},[a("el-input",{staticStyle:{width:"400px"},attrs:{type:"text",placeholder:"创意名称"},model:{value:e.creative_name,callback:function(i){t.$set(e,"creative_name",i)},expression:"item.creative_name"}})],1),t._v(" "),t.creative_id||t.unit_id?t._e():a("el-form-item",{staticClass:"inputBox",attrs:{prop:"number",label:"创意数量","label-position":"right","label-width":"140px"}},[a("el-input",{staticStyle:{width:"400px"},attrs:{type:"text",placeholder:"创意数量"},model:{value:e.number,callback:function(i){t.$set(e,"number",i)},expression:"item.number"}})],1)],1)],1)])}),1):a("el-tabs",{attrs:{editable:""},on:{edit:t.handleTabsEdit},model:{value:t.checkTabR,callback:function(e){t.checkTabR=e},expression:"checkTabR"}},t._l(t.tabListR,function(e,s){return a("el-tab-pane",{key:s,attrs:{label:"创意"+(s+1),name:e.photo_id+s}},[a("div",{staticClass:"leftBox"},[a("img",{staticClass:"back",attrs:{src:i("5ng9"),alt:""}}),t._v(" "),a("video",{ref:"video",refInFor:!0,attrs:{loop:"",poster:e.photo_cover?e.photo_cover:e.cover_url,src:e.url}}),t._v(" "),a("div",{staticClass:"video"},[e.url&&t.showPlay?a("img",{attrs:{src:i("20yL"),alt:""},on:{click:t.play}}):a("div",[t._v("上传的视频会在此预览")])])]),t._v(" "),a("div",{staticClass:"rightBox"},[a("div",{staticClass:"intputBox"},[a("label",{staticClass:"label"},[t._v("素材内容")]),t._v(" "),a("div",{staticClass:"feed"},[a("div",{staticClass:"postMain"},[e.photo_cover||e.cover_url?a("div",{staticClass:"flexThree"},[a("video",{staticClass:"post",attrs:{poster:e.photo_cover?e.photo_cover:e.cover_url,src:e.url,alt:""}}),t._v(" "),a("div",{staticClass:"doList"},[a("button",{staticClass:"button",on:{click:function(e){t.addFlag=!0}}},[t._v("选择作品")])])]):a("div",{staticClass:"flexThree"},[a("img",{staticClass:"play",attrs:{src:i("dYrp"),alt:""}}),t._v(" "),a("div",{staticStyle:{width:"80px"}},[a("button",{staticClass:"button",on:{click:function(e){t.addFlag=!0}}},[t._v("选择作品")])])]),t._v(" "),a("div",{staticClass:"notice"},[a("el-popover",{attrs:{placement:"top",trigger:"hover"}},[a("p",{staticClass:"threeNotice"},[t._v("上传的视频需要满足以下条件")]),t._v(" "),a("div",{staticClass:"threeNBox"},[a("p",[t._v("分辨率不小于720p(建议1080p)")]),t._v(" "),a("p",[t._v("视频码率不小于1000kbps")]),t._v(" "),a("p",[t._v("帧率不小于20fps")]),t._v(" "),a("p",[t._v("音频码率不小于64kbps")]),t._v(" "),a("p",[t._v("视频时长需满足时长范围为5秒~10分钟")]),t._v(" "),a("p",[t._v("竖版视频宽高比9:16,宽版视频宽高比16:9")]),t._v(" "),a("p",[t._v("视频尺寸需小于100m")]),t._v(" "),a("p",[t._v("超出视频可关联有效创意的最大数量")])]),t._v(" "),a("el-button",{staticClass:"look",attrs:{slot:"reference"},slot:"reference"},[t._v("查看")])],1),t._v("\n 视频格式说明")],1)]),t._v(" "),a("div",{staticClass:"postMain"},[e.cover_url1||e.cover_url?a("div",{staticClass:"one flexThree"},[a("div",[a("img",{staticClass:"post",attrs:{src:e.cover_url1?e.cover_url1:e.cover_url,alt:""}})]),t._v(" "),a("div",{staticClass:"doList"},[a("div",{staticClass:"upload"},[a("button",{staticClass:"button",on:{click:function(e){t.setPost=!0}}},[t._v("封面修改")])])])]):a("div",{staticClass:"flexThree"},[a("img",{staticClass:"play",attrs:{src:i("bBAg"),alt:""}}),t._v(" "),a("div",[a("button",{staticClass:"button",on:{click:function(e){t.setPost=!0}}},[t._v("封面设置")])])]),t._v(" "),a("div",{staticClass:"notice"},[a("el-popover",{attrs:{placement:"top",trigger:"hover"}},[a("p",{staticClass:"threeNotice"},[t._v("上传的图片需要满足以下条件")]),t._v(" "),a("div",{staticClass:"threeNBox"},[a("p",[t._v("当前展示视频原封面,你也可以从本地上传图片")]),t._v(" "),a("p",[t._v("图片宽不小于540p,图片高不小于540p")]),t._v(" "),a("p",[t._v("上传图片只支持.jpg格式,图片不能大于2MB")])]),t._v(" "),a("el-button",{staticClass:"look",attrs:{slot:"reference"},slot:"reference"},[t._v("查看")])],1),t._v("\n 图片格式说明")],1)])])]),t._v(" "),a("el-form",{ref:"tab0",refInFor:!0,attrs:{model:e,rules:t.rules}},[a("el-form-item",{staticClass:"inputBox",attrs:{prop:"action_bar_text",label:"行动号召按钮","label-position":"right","label-width":"140px"}},[a("div",{staticClass:"rightInput"},[a("el-select",{attrs:{slot:"prepend",placeholder:"请选择"},slot:"prepend",model:{value:e.action_bar_text,callback:function(i){t.$set(e,"action_bar_text",i)},expression:"item.action_bar_text"}},t._l(t.wordList,function(t){return a("el-option",{key:t,attrs:{label:t,value:t}})}),1)],1)]),t._v(" "),a("el-form-item",{staticClass:"inputBox",attrs:{prop:"description",label:"作品广告语","label-position":"right","label-width":"140px"}},[a("div",{staticClass:"rBox",staticStyle:{margin:"0"}},[a("el-input",{attrs:{type:"textarea",maxlength:"34",name:"",id:"",cols:"30",rows:"3","show-word-limit":""},on:{input:function(e){return t.change(e)}},model:{value:e.description,callback:function(i){t.$set(e,"description",i)},expression:"item.description"}}),t._v(" "),a("div",{staticClass:"list",staticStyle:{"padding-bottom":"0"}},[t._v("\n 插入动态词包:\n "),t._l(t.contentList,function(i){return a("div",{staticClass:"info",on:{click:function(a){return t.addText(i,e,s)}}},[t._v(" "+t._s(i.name)+" ")])}),t._v(" "),a("div",{staticClass:"info",on:{click:function(e){t.showWord=!0}}},[t._v("更多")])],2)],1)]),t._v(" "),a("el-form-item",{staticClass:"inputBox",attrs:{prop:"new_expose_tag",label:"推荐理由","label-position":"right","label-width":"140px"}},[a("div",{staticClass:"rightInput"},[a("el-select",{attrs:{slot:"prepend",multiple:"",placeholder:"请选择"},slot:"prepend",model:{value:e.new_expose_tag,callback:function(i){t.$set(e,"new_expose_tag",i)},expression:"item.new_expose_tag"}},t._l(t.commnentList,function(t){return a("el-option",{key:t,attrs:{label:t,value:t}})}),1)],1)]),t._v(" "),a("el-form-item",{staticClass:"inputBox",attrs:{prop:"creative_name",label:"创意名称","label-position":"right","label-width":"140px"}},[a("el-input",{staticStyle:{width:"400px"},attrs:{type:"text",placeholder:"创意名称"},model:{value:e.creative_name,callback:function(i){t.$set(e,"creative_name",i)},expression:"item.creative_name"}})],1)],1)],1)])}),1)],1)],1):t._e(),t._v(" "),"7"==t.unit_type?a("div",[a("div",{staticClass:"inputItem"},[a("label",{staticClass:"label"},[t._v("物料添加方式")]),t._v(" "),a("el-radio-group",{model:{value:t.site,callback:function(e){t.site=e},expression:"site"}},[a("el-radio-button",{attrs:{label:"自定义"}})],1)],1),t._v(" "),a("div",{staticClass:"inputItem"},[a("label",{staticClass:"label"},[t._v("视频素材")]),t._v(" "),a("el-radio-group",{model:{value:t.type,callback:function(e){t.type=e},expression:"type"}},[a("el-radio-button",{attrs:{label:"1"}},[t._v("竖版视频")]),t._v(" "),a("el-radio-button",{attrs:{label:"2"}},[t._v("横版视频")])],1),t._v(" "),1==t.type?a("div",{staticClass:"inputRight oneMain"},[t._l(t.checkVideo,function(e,i){return t.checkVideo.length>0?a("div",{staticClass:"postMain"},[a("i",{staticClass:"close el-icon-error",on:{click:function(e){return t.checkVideo.splice(i,1)}}}),t._v(" "),a("div",{staticClass:"one flexThree"},[a("img",{staticClass:"post",attrs:{src:e.cover_url,alt:""}})])]):t._e()}),t._v(" "),a("div",{staticClass:"postMain"},[a("i",{staticClass:"close el-icon-error"}),t._v(" "),a("div",{staticClass:"one flexThree"},[a("img",{staticClass:"play",attrs:{src:i("dYrp"),alt:""}}),t._v(" "),a("div",[a("button",{staticClass:"button",on:{click:function(e){t.addFlag=!0}}},[t._v("选择作品")])])])])],2):t._e(),t._v(" "),2==t.type?a("div",{staticClass:"oneMain inputRight "},[t._l(t.checkVideoR,function(e,i){return t.checkVideoR.length>0?a("div",{staticClass:"postMain rows"},[a("i",{staticClass:"close el-icon-error",on:{click:function(e){return t.checkVideoR.splice(i,1)}}}),t._v(" "),a("div",{staticClass:"one flexThree"},[a("img",{staticClass:"post",attrs:{src:e.cover_url,alt:""}}),t._v(" "),a("div",{staticClass:"doList"},[a("div",{staticClass:"upload"},[a("button",{staticClass:"button",on:{click:function(e){t.setPost=!0}}},[t._v("封面修改")])])])])]):t._e()}),t._v(" "),a("div",{staticClass:"postMain rows"},[a("i",{staticClass:"close el-icon-error"}),t._v(" "),a("div",{staticClass:"one flexThree"},[a("img",{staticClass:"play",attrs:{src:i("dYrp"),alt:""}}),t._v(" "),a("div",{staticStyle:{width:"80px"}},[a("button",{staticClass:"button",on:{click:function(e){t.addFlag=!0}}},[t._v("选择作品")])])])])],2):t._e()],1),t._v(" "),a("div",{staticClass:"inputItem"},[a("label",{staticClass:"label"},[t._v("封面素材")]),t._v(" "),a("el-radio-group",{attrs:{disabled:""},model:{value:t.smart_cover,callback:function(e){t.smart_cover=e},expression:"smart_cover"}},[a("el-radio-button",{attrs:{label:"0"}},[t._v("自定义")]),t._v(" "),a("el-radio-button",{attrs:{label:"1"}},[t._v("智能抽帧")])],1),t._v(" "),"0"==t.smart_cover?a("div",{staticClass:"rBox"},[a("div",{staticClass:"notice",staticStyle:{margin:"10px 0"}},[t._v("自定义模式下需要上传图片素材")]),t._v(" "),a("div",{staticClass:"notice",staticStyle:{margin:"10px 0"}},[t._v("封面图片"),a("span",{staticClass:"look"},[t._v(t._s(t.postList.length))]),t._v("/4 \n "),a("el-popover",{attrs:{placement:"top",trigger:"hover"}},[a("p",{staticClass:"threeNotice"},[t._v("上传的图片需要满足以下条件")]),t._v(" "),a("div",{staticClass:"threeNBox"},[a("p",[t._v("当前展示视频原封面,你也可以从本地上传图片")]),t._v(" "),a("p",[t._v("图片宽不小于540p,图片高不小于540p")]),t._v(" "),a("p",[t._v("上传图片只支持.jpg格式,图片不能大于2MB")])]),t._v(" "),a("el-button",{staticClass:"look",attrs:{slot:"reference"},slot:"reference"},[t._v("查看")])],1)],1),t._v(" "),a("div",{staticClass:"inputRight oneMain",staticStyle:{"margin-left":"0"}},[t._l(t.postList,function(e,i){return t.postList.length>0?a("div",{staticClass:"postMain"},[a("i",{staticClass:"close el-icon-error",on:{click:function(e){return t.postList.splice(i,1)}}}),t._v(" "),a("div",{staticClass:"one flexThree"},[a("img",{staticClass:"post",attrs:{src:e.url,alt:""}})])]):t._e()}),t._v(" "),a("div",{staticClass:"postMain"},[a("i",{staticClass:"close el-icon-error"}),t._v(" "),a("div",{staticClass:"one flexThree"},[a("img",{staticClass:"play",attrs:{src:i("dYrp"),alt:""}}),t._v(" "),a("div",[a("button",{staticClass:"button",on:{click:function(e){return t.checkPost()}}},[t._v("封面设置")])])])])],2)]):a("div",{staticClass:"notice"},[t._v("快手将从视频中自动抽取多帧图片,优选后作为封面,本方案无需手动上传图片。抽帧后的创意可以在“报表-程序化创意报表(新)”中查看")])],1),t._v(" "),a("el-form",{ref:"ruleForm",attrs:{model:t.programData,rules:t.rulesProgram}},[a("el-form-item",{staticClass:"form_item",attrs:{inline:!0,label:"封面贴纸("+t.style.length+"/6)",prop:"style","label-position":"right","label-width":"140px"}},[a("div",{staticClass:"rightInput"},[a("el-checkbox-group",{staticClass:"style2",staticStyle:{width:"700px"},model:{value:t.programData.style,callback:function(e){t.$set(t.programData,"style",e)},expression:"programData.style"}},t._l(t.styleList,function(t){return a("el-checkbox",{key:t.sticker_styles[1].overlay_type,staticClass:"threeStyle",attrs:{label:t.sticker_style_id}},[a("div",{staticClass:"tieBox"},[a("img",{staticClass:"tie",attrs:{src:t.sticker_styles[1].overlay_preview_url,alt:""}})])])}),1)],1)]),t._v(" "),t._l(t.cover_slogans,function(e,i){return a("el-form",{key:i+"cover_slogans",ref:"adList",refInFor:!0,attrs:{model:e}},[a("el-form-item",{staticClass:"form_item",attrs:{label:"封面广告语("+t.cover_slogans.filter(function(t){return t.text}).length+"/3)",prop:"text",rules:{required:0==i,message:"至少输入1条封面广告语",trigger:"blur"},"label-position":"right","label-width":"140px"}},[a("div",{staticClass:"rBox",staticStyle:{margin:"0"}},[a("el-input",{staticClass:"toInput",attrs:{type:"textarea"},model:{value:e.text,callback:function(i){t.$set(e,"text",i)},expression:"item.text"}}),t._v(" "),t.cover_slogans.length>1?a("i",{staticClass:"el-icon-remove",on:{click:function(e){return t.cover_slogans.splice(i,1)}}}):t._e(),t._v(" "),a("div",{staticClass:"list"},[t._v("\n 插入动态词包:\n "),t._l(t.contentList,function(i){return a("div",{key:i.name+"text",staticClass:"info",on:{click:function(t){e.text=e.text+"["+i.name+"]"}}},[t._v(" "+t._s(i.name)+" ")])}),t._v(" "),a("div",{staticClass:"info",on:{click:function(e){t.aIndex=i,t.editType=1,t.showWord=!0}}},[t._v("更多")])],2),t._v(" "),a("div",{staticClass:"look",staticStyle:{"font-size":"14px"},on:{click:function(e){t.cover_slogans.length<3?t.cover_slogans.push({text:""}):t.$message.warning("最多添加三个封面广告语")}}},[t._v("\n + 添加封面广告语\n ")])],1)])],1)}),t._v(" "),t._l(t.adText,function(e,i){return a("el-form",{key:i+"adText",ref:"capList",refInFor:!0,attrs:{model:e}},[a("el-form-item",{staticClass:"form_item",attrs:{label:"作品广告语("+t.adText.filter(function(t){return t.text}).length+"/3)",prop:"text",rules:{required:0==i,message:"至少输入1条广告语",trigger:"blur"},"label-position":"right","label-width":"140px"}},[a("div",{staticClass:"rBox",staticStyle:{margin:"0"}},[a("el-input",{staticClass:"toInput",attrs:{type:"textarea"},model:{value:e.text,callback:function(i){t.$set(e,"text",i)},expression:"item.text"}}),t._v(" "),t.adText.length>1?a("i",{staticClass:"el-icon-remove",on:{click:function(e){return t.adText.splice(i,1)}}}):t._e(),t._v(" "),a("div",{staticClass:"list"},[t._v("\n 插入动态词包:\n "),t._l(t.contentList,function(i){return a("div",{key:i.name+"text",staticClass:"info",on:{click:function(t){e.text=e.text+"["+i.name+"]"}}},[t._v(" "+t._s(i.name)+" ")])}),t._v(" "),a("div",{staticClass:"info",on:{click:function(e){t.aIndex=i,t.editType=2,t.showWord=!0}}},[t._v("更多")])],2),t._v(" "),a("div",{staticClass:"look",staticStyle:{"font-size":"14px"},on:{click:function(e){t.adText.length<3?t.adText.push({text:""}):t.$message.warning("最多添加三个作品广告语")}}},[t._v("\n + 添加广告语\n ")])],1)])],1)}),t._v(" "),a("el-form-item",{staticClass:"form_item",attrs:{inline:!0,label:"行动号召按钮",prop:"action_bar","label-position":"right","label-width":"140px"}},[a("div",{staticClass:"rightInput"},[a("el-select",{attrs:{slot:"prepend",placeholder:"请选择"},slot:"prepend",model:{value:t.programData.action_bar,callback:function(e){t.$set(t.programData,"action_bar",e)},expression:"programData.action_bar"}},t._l(t.wordList,function(t){return a("el-option",{key:t,attrs:{label:t,value:t}})}),1)],1)]),t._v(" "),a("el-form-item",{staticClass:"form_item",attrs:{inline:!0,label:"创意名称",prop:"name","label-position":"right","label-width":"140px"}},[a("el-input",{staticClass:"toInput",attrs:{type:"text"},model:{value:t.programData.name,callback:function(e){t.$set(t.programData,"name",e)},expression:"programData.name"}})],1),t._v(" "),t.unit_id?t._e():a("el-form-item",{staticClass:"form_item",attrs:{inline:!0,label:"创意数量",prop:"number","label-position":"right","label-width":"140px"}},[a("el-input",{staticClass:"toInput",attrs:{type:"text"},model:{value:t.programData.number,callback:function(e){t.$set(t.programData,"number",e)},expression:"programData.number"}})],1)],2)],1):t._e()]):t._e(),t._v(" "),14==t.mode&&1==t.liveType?a("div",[a("el-form",{ref:"liveBox",attrs:{rules:t.ruleName,model:t.liveObj}},[a("el-form-item",{staticClass:"inputBox",attrs:{prop:"creative_name",label:"创意名称","label-position":"right","label-width":"140px"}},[a("el-input",{staticStyle:{width:"400px"},attrs:{type:"text",placeholder:"创意名称"},model:{value:t.liveObj.creative_name,callback:function(e){t.$set(t.liveObj,"creative_name",e)},expression:"liveObj.creative_name"}})],1),t._v(" "),t.creative_id||t.unit_id?t._e():a("el-form-item",{staticClass:"inputBox",attrs:{prop:"number",label:"创意数量","label-position":"right","label-width":"140px"}},[a("el-input",{staticStyle:{width:"400px"},attrs:{type:"text",placeholder:"创意数量"},model:{value:t.liveObj.number,callback:function(e){t.$set(t.liveObj,"number",e)},expression:"liveObj.number"}})],1)],1)],1):t._e(),t._v(" "),a("h3",{staticClass:"h3"},[t._v("广告监控")]),t._v(" "),a("div",{staticClass:"inputItem"},[a("label",{staticClass:"label"},[a("el-tooltip",{staticClass:"item",attrs:{effect:"dark",content:"监测请求时机:信息流畅场景下为封面点击时,上下划场景,激励视频场景下为视频开始播放时",placement:"top-start"}},[a("el-button",{staticClass:"look"},[a("i",{staticClass:"el-icon-warning",staticStyle:{"font-size":"18px",color:"#666"}})])],1),t._v("第三方点击监测链接\n ")],1),t._v(" "),a("input",{directives:[{name:"model",rawName:"v-model",value:t.click_track_url,expression:"click_track_url"}],staticClass:"toInput",attrs:{type:"text",placeholder:"第三方点击监测链接"},domProps:{value:t.click_track_url},on:{input:function(e){e.target.composing||(t.click_track_url=e.target.value)}}})]),t._v(" "),a("div",{staticClass:"next",staticStyle:{"padding-right":"30px","margin-bottom":"30px"}},[a("el-button",{on:{click:function(e){return t.$router.push("/")}}},[t._v("取消")]),t._v(" "),a("el-button",{attrs:{type:"primary"},on:{click:function(e){return t.save()}}},[t._v("保存并关闭")])],1),t._v(" "),a("my-dialog",{attrs:{visible:t.addFlag,width:"846px"},on:{"update:visible":function(e){t.addFlag=e}}},[a("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loadVideo,expression:"loadVideo"}],staticClass:"toast"},[a("h3",[t._v("选择视频")]),t._v(" "),a("div",{staticClass:"toastMain",staticStyle:{height:"350px"}},[1==t.type?a("div",[a("el-checkbox-group",{attrs:{max:10},model:{value:t.checkVideo,callback:function(e){t.checkVideo=e},expression:"checkVideo"}},t._l(t.videoList,function(e){return a("el-checkbox",{key:e.photo_id,staticClass:"threeItem",attrs:{label:e,disabled:2==t.type&&e.width/e.height!=16/9||1==t.type&&e.width/e.height!=9/16}},[a("div",{staticClass:"imgBox"},[a("img",{attrs:{src:e.cover_url}})])])}),1)],1):t._e(),t._v(" "),2==t.type?a("div",[a("el-checkbox-group",{attrs:{max:10},model:{value:t.checkVideoR,callback:function(e){t.checkVideoR=e},expression:"checkVideoR"}},t._l(t.videoList,function(e){return a("el-checkbox",{key:e.photo_id,staticClass:"threeItem",attrs:{label:e,disabled:2==t.type&&e.width/e.height!=16/9||1==t.type&&e.width/e.height!=9/16}},[a("div",{staticClass:"imgBox"},[a("img",{attrs:{src:e.cover_url}})]),t._v(" "),a("div",{staticClass:"imgInfo"})])}),1)],1):t._e(),t._v(" "),a("div",{staticClass:"bottom"},[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._v(" "),a("div",{staticClass:"toastBtn"},[t.checkVideo.length>0?a("span",{staticClass:"total"},[t._v("已选择"+t._s(t.checkVideo.length)+",还可选择"+t._s(10-t.checkVideo.length)+"/10")]):t._e(),t._v(" "),a("el-button",{attrs:{size:"mini"},on:{click:function(e){t.checkVideo=[],t.addFlag=!1}}},[t._v("取消")]),t._v(" "),a("el-button",{attrs:{type:"primary",size:"mini"},on:{click:function(e){return t.trueVideo()}}},[t._v("确定")])],1)])]),t._v(" "),a("el-dialog",{attrs:{title:"词包内容",visible:t.showWord},on:{"update:visible":function(e){t.showWord=e}}},[a("el-table",{attrs:{data:t.contentList}},[a("el-table-column",{attrs:{property:"name",label:"词包"}}),t._v(" "),a("el-table-column",{attrs:{property:"default_word",label:"默认词"}}),t._v(" "),a("el-table-column",{attrs:{property:"replace_words","show-overflow-tooltip":"",label:"替换词"}}),t._v(" "),a("el-table-column",{attrs:{property:"address",label:"操作"},scopedSlots:t._u([{key:"default",fn:function(e){return[a("el-button",{attrs:{type:"text"},on:{click:function(i){return t.editWord(e.row.name)}}},[t._v("插入")])]}}])})],1)],1),t._v(" "),a("el-dialog",{attrs:{title:"封面设置",width:"720px",visible:t.setPost},on:{"update:visible":function(e){t.setPost=e}}},[a("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loadUpload,expression:"loadUpload"}],staticClass:"flexPost"},[a("div",{staticClass:"postMain"},[t.cover_url?a("div",{staticClass:"flexThree"},[a("img",{staticClass:"post",attrs:{src:t.cover_url,alt:""}}),t._v(" "),a("div",{staticClass:"doList"},[a("div",{staticClass:"upload",staticStyle:{"margin-bottom":"0"}},[a("input",{ref:"inputerP",staticClass:"upload",attrs:{type:"file",id:"file",name:"点击上传"},on:{change:function(e){return t.upload(t.$refs.inputerP)}}}),t._v(" "),a("button",{staticClass:"button",on:{click:function(e){t.setPost=!0}}},[t._v("封面修改")])]),t._v(" "),a("button",{staticClass:"button",on:{click:function(e){t.checkImage=!0}}},[t._v("历史封面")])])]):a("div",{staticClass:"flexThree"},[a("div",{staticClass:"upload",staticStyle:{"margin-bottom":"0"}},[a("input",{ref:"inputerP",staticClass:"upload",attrs:{type:"file",id:"file",name:"点击上传"},on:{change:function(e){return t.upload(t.$refs.inputerP)}}}),t._v(" "),a("button",{staticClass:"button",on:{click:function(e){t.setPost=!0}}},[t._v("本地上传")])]),t._v(" "),a("button",{staticClass:"button",on:{click:function(e){t.checkImage=!0}}},[t._v("历史封面")])]),t._v(" "),a("div",{staticClass:"notice"},[a("el-popover",{attrs:{placement:"top",trigger:"hover"}},[a("p",{staticClass:"threeNotice"},[t._v("上传的图片需要满足以下条件")]),t._v(" "),a("div",{staticClass:"threeNBox"},[a("p",[t._v("当前展示视频原封面,你也可以从本地上传图片")]),t._v(" "),a("p",[t._v("图片宽不小于540p,图片高不小于540p")]),t._v(" "),a("p",[t._v("上传图片只支持.jpg格式,图片不能大于2MB")])]),t._v(" "),a("el-button",{staticClass:"look",attrs:{slot:"reference"},slot:"reference"},[t._v("查看")])],1),t._v("\n 图片格式说明")],1)])]),t._v(" "),a("div",{staticClass:"btn"},[a("el-button",{attrs:{type:"primary"},on:{click:function(e){return t.savePost()}}},[t._v("保存")])],1)]),t._v(" "),a("my-dialog",{staticStyle:{"z-index":"1000000"},attrs:{visible:t.checkImage,width:"846px"},on:{"update:visible":function(e){t.checkImage=e}}},[a("div",{directives:[{name:"loading",rawName:"v-loading",value:t.loadVideo,expression:"loadVideo"}],staticClass:"toast"},[a("h3",[t._v("选择封面"),2==t.type?a("span",{staticClass:"notice",staticStyle:{"margin-left":"0"}},[t._v("当前视频列表不满足16:9")]):t._e()]),t._v(" "),a("div",{staticClass:"toastMain",staticStyle:{height:"350px"}},[a("el-radio-group",{model:{value:t.postData,callback:function(e){t.postData=e},expression:"postData"}},t._l(t.allPost,function(e){return a("el-radio",{key:e.image_token,staticClass:"threeItem",attrs:{label:e,disabled:2==t.type&&e.width/e.height<16/9}},[a("div",{staticClass:"imgBox"},[a("img",{attrs:{src:e.url}})])])}),1),t._v(" "),a("div",{staticClass:"bottom"},[a("el-pagination",{attrs:{background:"","current-page":t.page1,"page-size":t.page_size1,layout:"prev, pager, next",total:t.total1},on:{"current-change":t.handleCurrentChange1}})],1)],1),t._v(" "),a("div",{staticClass:"toastBtn"},[t.checkVideo.length>0?a("span",{staticClass:"total"},[t._v("已选择"+t._s(t.checkVideo.length)+",还可选择"+t._s(10-t.checkVideo.length)+"/10")]):t._e(),t._v(" "),a("el-button",{attrs:{size:"mini"},on:{click:function(e){t.checkImage=!1}}},[t._v("取消")]),t._v(" "),a("el-button",{attrs:{type:"primary",size:"mini"},on:{click:function(e){return t.truePost()}}},[t._v("确定")])],1)])])],1)],1)},staticRenderFns:[]};var v=i("C7Lr")(p,d,!1,function(t){i("UCh0"),i("13rT")},"data-v-c9ced9c6",null);e.default=v.exports},"13rT":function(t,e){},"20yL":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAGgAAABoCAYAAAAdHLWhAAAABGdBTUEAALGPC/xhBQAACaJJREFUeAHtnd1vFUUYxkUoVEABv1tBoAF7QTBBL4zhphajRCBeAOEjcGGNhkAidwT+AggJ/wDe8xHCHV9aKwRjvCBCsGmIoqUNaINfgKVUKBWf37G7bk/3nLN7zn7Mnp03ebp79szOzD7PmXffmZ3ZTnosOzZdVZ0lzPZsp2m/QZg6tmUfGxnDg7HtfW1vC3c823vaN94mGVzDOapbs/CS0CQgRpSGaAPCz8Ivwi3BODNJoMfFDmIsEuYKTwhJ2rAKuyH8KCDaP0LqZoJAz4iFxQLC4MZMMNwfQl0V/kizQmkKNF8Xvkx4Pk0CApT9q9JcEvoDpI08SdICUV6LgDBPR3418Wb4p7JHqF7hUbxF/Z97kgLNU7FvCkRhWTaiwW+E60lcRBICzdSFIMzCJC4owTKuqSyEuhtnmXEKRFS2VHhdmBLnRaSY90OV/a3QLcQS9cUlEK1mhfCCkAe7qYvsEiJvTZNjYI/o7D2BXn9ejB/kK4IzWhHZdUcpEC7tDWG5UK8urRzxXDN9OYabGJmIJNKLSiAq947Aryjvhlt/TugTar4vRSFQoyqCS2PczNp/DODeGbbqEwgkqrZaBcL3rhYYrrE2noEZ+sj9uF9gVL0qq0UgxHlfeKqqkvNxEt6FkRP6TFWJVK1AFEzLseKIhAo2Vd8zivKTENrdVSMQAQH3HOvWREJA4wfNMy1GyEMFDmEFIpQmWrMBgUgIadyTnhVCDbaGFYh+jg2lQ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XnBdNe7+XUMeotA5/cbwIN34QpPA6BKB/fe1VgWtSLQpBBWSXLnHH/vSB8JcQymDwpAUpoRW8KCxMoK8ki6GLwsK3qEDpIZZMQyKkH9yWEmu0cyOiWvg3CXE+i/kkKxPVQHqMPy4Ss/Z885q0xNYpoNbIgQHmVtaQFcipDuS8LCEUwYbI503H706hkWgJ5r5UJ+6xL4mHgdO8XKe7T+6fzTaDj/j+5NOpjgkDOdRPp8RgDoeYKSS/HZOEA/TiEYX0One/UzSSBismYowMI1iw0CdOEKI2weEDgISSC3BKMM5MFKiYL98dYH1Ggs2UUnRELHnnwOB5g9L8A/TH6Kn8LRF90op1tTYOYyicR+xfJNkYY1Sn40QAAAABJRU5ErkJggg=="},"5ng9":function(t,e,i){t.exports=i.p+"static/img/phone.c908ba2.png"},OFGQ:function(t,e,i){var a=i("uSC2"),s=i("DH3n"),r=i("cqFu");t.exports=function(t,e){var i=(s.Object||{})[t]||Object[t],o={};o[t]=e(i),a(a.S+a.F*r(function(){i(1)}),"Object",o)}},UCh0:function(t,e){},ZLEe:function(t,e,i){t.exports={default:i("qMAo"),__esModule:!0}},bBAg:function(t,e){t.exports="data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz4KPHN2ZyB3aWR0aD0iNDVweCIgaGVpZ2h0PSIzNXB4IiB2aWV3Qm94PSIwIDAgNDUgMzUiIHZlcnNpb249IjEuMSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiB4bWxuczp4bGluaz0iaHR0cDovL3d3dy53My5vcmcvMTk5OS94bGluayI+CiAgICA8dGl0bGU+5qSt5ZyG5b2iPC90aXRsZT4KICAgIDxkZWZzPgogICAgICAgIDxyZWN0IGlkPSJwYXRoLTEiIHg9IjAiIHk9IjAiIHdpZHRoPSI0NSIgaGVpZ2h0PSIzNC44MzE3NzgzIiByeD0iMy45MDgzOTY5NSI+PC9yZWN0PgogICAgPC9kZWZzP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NjExMSBDMTcuNTYsMTEuMTM2ODM3IDE4LjQzNDkyNDUsMTAuMjYxOTEyNiAxOS41MTQxOTg1LDEwLjI2MTkxMjYgQzE5Ljg2NDM2NTIsMTAuMjYxOTEyNiAyMC4yMDgwOTk0LDEwLjM1NjAwMDggMjAuNTA5NDUxMiwxMC41MzQzMzcxIFoiIGlkPSJSZWN0YW5nbGUtMTEiIGZpbGw9IiMyOTk0RkYiIG9wYWNpdHk9IjAuMzAwMDAwMDEyIj48L3BhdGg+CiAgICAgICAgPC9nPgogICAgPC9nPgo8L3N2Zz4="},oGQd:function(t,e,i){var a=i("PGvq"),s=i("Lzmh");i("OFGQ")("keys",function(){return function(t){return s(a(t))}})},qMAo:function(t,e,i){i("oGQd"),t.exports=i("DH3n").Object.keys}});
- //# sourceMappingURL=3.2c61f49e291a1ef2e804.js.map
|