bztang-admin/addons/yun_shop/static/app/js/chunk-6723a8e3.b0841cb3.js

3 lines
40 KiB
JavaScript

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-6723a8e3"],{"012a":function(t,e,a){var i=a("24fb");e=i(!1),e.push([t.i,'.shortcut-menu[data-v-2819d5a6]{display:inline-block;float:right;color:#fff;border-radius:2rem;background-color:#f4a00e}.shortcut-menu-item[data-v-2819d5a6]{display:inline-block;vertical-align:middle;padding:.42rem .66rem .52rem;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:pointer;font-size:.69rem}.shortcut-menu-item i[data-v-2819d5a6]{vertical-align:bottom}.shortcut-menu-item[data-v-2819d5a6]:not(:last-child){padding-right:0}.shortcut-menu-item[data-v-2819d5a6]:not(:last-child):after{content:"";display:inline-block;vertical-align:middle;margin:0 .6rem;width:.06rem;height:.94rem;background-color:#f9d79c}.shortcut-menu-item[data-v-2819d5a6]:active{-webkit-filter:brightness(85%);filter:brightness(85%)}',""]),t.exports=e},"01c1":function(t,e,a){var i=a("012a");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var o=a("499e").default;o("09fc7317",i,!0,{sourceMap:!1,shadowMode:!1})},"134e":function(t,e,a){var i=a("cd55");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var o=a("499e").default;o("27f0e500",i,!0,{sourceMap:!1,shadowMode:!1})},"1da1":function(t,e,a){"use strict";a.d(e,"a",(function(){return o}));a("d3b7");function i(t,e,a,i,o,r,n){try{var s=t[r](n),l=s.value}catch(c){return void a(c)}s.done?e(l):Promise.resolve(l).then(i,o)}function o(t){return function(){var e=this,a=arguments;return new Promise((function(o,r){var n=t.apply(e,a);function s(t){i(n,o,r,s,l,"next",t)}function l(t){i(n,o,r,s,l,"throw",t)}s(void 0)}))}}},"208f":function(t,e,a){var i=a("fc08");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var o=a("499e").default;o("1987bef0",i,!0,{sourceMap:!1,shadowMode:!1})},"25aa":function(t,e,a){var i=a("24fb");e=i(!1),e.push([t.i,".new-media_publish-upload-images .imgUploader{padding:0}.new-media_publish-upload-images .van-uploader{width:6.56rem!important;height:6.56rem!important;background-color:#fbfbfb!important;border-radius:.31rem!important;border:.06rem solid #e5e5e5!important}.new-media_publish-upload-images .van-icon{line-height:6.56rem!important}.new-media_publish-upload-images .photoBox{width:6.56rem!important;height:6.56rem!important}",""]),t.exports=e},"2c87":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEAAAABACAYAAACqaXHeAAAHJklEQVR4Xu2bZaimRRTHf2sndqAitoIfFLELC+zubsVCxe7ALvxgd3e3mJjY+kXswsRC7Jbf8swyd+7z3neeeO9917sHlt29d+bMnP/MnH7GMMppzCiXnwkATLgBvUdgMmBFYGVgDmC24s+sxf//Br4CvgC+Kf79KfAM8DTwZy+32KsnMDGwFrArsCYwVU0hfgEeBK4EHgIEq1VqG4ApgL2Ag4A5W90pfAacDVwA/N4W77YAmKQQ/Ehg9rY214HPl8ApwIXAX03XagOAjYEzgfmH2Mz7wAvFn5eAV4A/kvGTA4sDywFLAstm8DwEuLMJCE0A8J17JffvsAEFvB44HXi75iYXLZ7TdsCkHXicCxxcVz/UBWA64HZg9ZJN/QxcDJxVaPaasg+YpvVQr6hfpixh+BiwKfBD1cXqAKByexxYKFlMjX1eceLfVd1I5viZAa/9viWWxVu2BqAJzaaqAMwNPF/Y73gRF9fcfZy9crOB8xTmcZGEzeeFDvkkl30VAGYCXgTmS5jfB2wFePWHk6YBbgTWSxb9AFga+DZnM7kAqID0zGQck6bI6/hPzmI9GDNR8ezUDTFpaVbI8SJzAbgK2DFZ5HJgtx4IVYelSnePZOLVwE7dmOUAsE1hzmJeDwDrj+DJp3J5E+4B1k1+sS1ww1AgdANA58Q3pRkKpMLTUfmpG7rD/Ht1wsvAwtG6KkV1VkfXuRsAurYnRwxlpLf21jALl7ucVuF1wIMLdHQiwwBeQwGgs2MAMnU040TguNzdjNC4E4Bjo7W1TvoupU7SUADo3+tiBtLBWKDNSKxHAHn67wFzRfz1SnWgBlEnADR7enO+q0CCoe+fSwZH5gQeAd7JnZSM8z2vBjxc6KJcNrrNCh3oR0A/ZlBypRMARnh3RAxUeCpCGeWQnpoRoNpZMjFyRc7EaMwugKZWMuyVp08yh6Ytxvp3oE3KIsdOANwEbBlN1uHZO2flYsxhwGnR+H+B7UvMaSeWCn8ZDEjayvOMCnswcRI7SLckMo1lVQaAP/seUAkGWgJ4rcLimh7fYcw/FwRt97XJXD1Nn9RHFfagtYr3rBKcAXAf46gMAF1I3d5A+tRGYVVpB0APMgVhC+C2Dsw2AzypdI4e3TVVNwB8nezd5Oyz3QBIr69xvxurQ2UgmNj0Peq5xbRBoXdMtATytOoKLw+BNk8Q6IjkaZY+ARWPbzCQ5iPWqFWBKANBpaYrbaZXUniBNrfYlvDySa3BoPil7Ak8BawUbWSdIvauKng8vgwEU2ZrA9YN7i0R3hhEZdyE5G/cEsg6g/WJcVQGgL7/vNGYBQuF1mQjzjVnYGASr/lbYSoFIZBPxBxgU+Hlp+P2bsRbJRrLVvoEVHozRpNmKSo2TQHoBELMV+E3b5rpjRiqvFWEgXTudIiGvAGanPiUrOr82ob0BQ9vwnVArOz8VdvCy9MEqrnKQMo2YN2yJ2DEF19Jfes0h98ED73MW4cJAOWIQ2HliCPF0idggTK+Jl6jrPxaBiqdTr8X71+eyqE8gQb5NGU3QB8+Tnz2UgmG04lPRdvfhgVQaL1HPdJAH6ZJ3TIAngBWiSaZZopNScZBDxpSZgG8jhsWI3tlBjXh90e7eRJYtZsSvDRJdh5a1P7qCO6cJo5Q05tgCG9eI5AB1u7dAFBg63mBVFj673VopF1h4wrNaqDDE9lKlaDV2eeiSeNzMKTdNwIMtHxR2Rr3g07hsBOnjyYaWr5R4QqkCRGnNg2HVcZ6qbm0WJEgDeOzw2EnWHJScQUyubBP7sqAV+3UaHyu8GFKnA0KP2uaENG13jqVoVNGaKPEHa2aEtPf1vw0SYmZzRF4yejRG5CbEDEVZk0gzmnqgN2VC4AelA5EnFOrmhS1VG0Cws4QG53qkCZ4qaJbzB6AXGqcFHUh829xKnl8Tosri09oEFUtjBwPWHjoZ7Jw4z4D1S6MyOAo4KSIma6r2rVuz0+vgbOOoLWKXetjEhkG7KFbbdC+P5VZ3PM3qoqjomWa2vg9JpWanRkj1RiR3iStjfGEvn9M1iLSvVe6AWGwVZ2dE+b91CChj2/1KabWGiRk2s8tMhelAU7Ry6QJ7tpo3U0HxIh2apIy3LSMNtxNUpbtby7pCulJk1QAol/a5Ex0CHzcDeIee9omF0Cw7v5oyeLegPOL+DtOQ7Vp+ka8UTIIY+HU8rm1+5QE4pICCD+CaINCq+yeScdK4G3nquW2YWmVDYtaxjoH2K+DhKa8LISYkXmzJgo5zdK25x4w3M3SsTzm9ewcyW2Xt9v01ZJUu06XeQfb5A2AlsngadBzd01wx06rYgWGWmdUfzARA+Mpmjg5sEefzPjkVLR998lMejva/GjKErofTel+9/1HU2XPpOyzOT+Z8/M5tXvZZ3M2Q9mlYqm+qzfXDzqgyR5GdG5bSnBEhWiy+AQAmqD3f5j7Hy2FkFA2hNhdAAAAAElFTkSuQmCC"},"3c05":function(t,e,a){"use strict";a("134e")},"42cb":function(t,e,a){var i=a("24fb");e=i(!1),e.push([t.i,".audio-content-card[data-v-d0ae978a]{padding:.94rem;word-break:break-all;text-align:left;background-color:#fff;border-radius:.47rem}.content-author[data-v-d0ae978a]{margin:1.16rem 0 1.78rem}.audio-player[data-v-d0ae978a]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.audio-play_button[data-v-d0ae978a]{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;width:1.44rem;height:1.44rem;line-height:1.44rem;color:#fff;text-align:center;font-size:.6rem;border-radius:50%;background-image:-webkit-linear-gradient(305deg,#ff8a50,#ff2826 85%);background-image:linear-gradient(145deg,#ff8a50,#ff2826 85%)}img.audio-play_button[data-v-d0ae978a]{margin:0;padding:.2rem;-webkit-box-sizing:border-box;box-sizing:border-box}.audio-play_progress[data-v-d0ae978a]{-webkit-box-flex:1;-webkit-flex-grow:1;-ms-flex-positive:1;flex-grow:1;margin:.55rem .98rem 0}.audio-play_progress-bar[data-v-d0ae978a]{position:relative}.audio-play_progress-total[data-v-d0ae978a]{height:.38rem;background-color:#f5f6f8;border-radius:.2rem}.audio-play_progress-slider[data-v-d0ae978a]{z-index:2;width:.75rem;height:.75rem;background-color:#fff;border-radius:50%;-webkit-box-shadow:0 .06rem .19rem 0 hsla(0,0%,77.6%,.46);box-shadow:0 .06rem .19rem 0 hsla(0,0%,77.6%,.46)}.audio-play_progress-current[data-v-d0ae978a],.audio-play_progress-slider[data-v-d0ae978a]{position:absolute;top:0;left:0;bottom:0;margin:auto 0;-webkit-transition:all .2s linear;transition:all .2s linear}.audio-play_progress-current[data-v-d0ae978a]{z-index:1;width:0;height:.38rem;border-radius:4rem;background-image:-webkit-linear-gradient(305deg,#ff8a50,#ff2826 85%);background-image:linear-gradient(145deg,#ff8a50,#ff2826 85%)}.audio-play_time[data-v-d0ae978a]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;-webkit-align-content:center;-ms-flex-line-pack:center;align-content:center;margin-top:.75rem;color:#bababa;font-size:1rem}",""]),t.exports=e},"479b":function(t,e,a){"use strict";a("01c1")},"49e9":function(t,e,a){var i=a("42cb");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var o=a("499e").default;o("7825865a",i,!0,{sourceMap:!1,shadowMode:!1})},"4b51":function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"audio-content-card"},[!1===t.upload?a("h1",{staticClass:"content-title"},[t._v(t._s(t.title))]):t._e(),!1===t.upload?a("content-author-bar",{staticClass:"content-author",attrs:{avatar:t.author.avatar,nickname:t.author.nickname,attention:t.author.is_attention,self:t.author.is_self},on:{follow:t.followAuthor}}):t._e(),a("div",{staticClass:"audio-player"},[a("div",{directives:[{name:"show",rawName:"v-show",value:!1===t.audioPlaying,expression:"audioPlaying === false"}],staticClass:"audio-play_button iconfont icon-member_look",on:{click:t.playAudio}}),a("img",{directives:[{name:"show",rawName:"v-show",value:t.audioPlaying,expression:"audioPlaying"}],staticClass:"audio-play_button",attrs:{src:"https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/audio.svg"},on:{click:t.pauseAudio}}),a("div",{staticClass:"audio-play_progress"},[a("div",{ref:"audioProgressBar",staticClass:"audio-play_progress-bar"},[a("div",{ref:"audioProgressSlide",staticClass:"audio-play_progress-slider",style:{left:t.AudioPlayElDistance+"px"}}),a("div",{ref:"audioCurrentProgressEl",staticClass:"audio-play_progress-current",style:{width:t.AudioPlayElDistance+"px"}}),a("div",{staticClass:"audio-play_progress-total"})]),a("ul",{staticClass:"audio-play_time"},[a("li",{staticClass:"audio-play_time-item"},[t._v(t._s(t.audioPlayProgress))]),t.upload?a("li",{staticClass:"audio-play_time-item upload-audio_button"},[a("van-uploader",{attrs:{accept:"audio/mp3","after-read":t.uploadAudio}},[t._v(t._s(t.audio?"重新上传":"上传"))])],1):t._e(),a("li",{staticClass:"audio-play_time-item"},[t._v(t._s(t.audioLength))])])])]),a("audio",{ref:"audioEl",staticStyle:{display:"none"},attrs:{src:t.audio,controls:""}})],1)},o=[],r=(a("99af"),a("bd8d")),n=a("9da3");a("ac1f"),a("1276"),a("caad"),a("2532");function s(t,e){var a=t.type.split("/")[1];return!!e.includes(a)}var l=new Audio(""),c=null,d={props:{upload:{type:Boolean,default:!1},src:{type:String,default:""},title:{type:String,default:""},author:{type:Object,default:function(){return{avatar:"",nickname:"",attention:!1,self:!1}}}},data:function(){return{audio:"",audioPlayProgress:"0:00",audioLength:"0:00",audioPlaying:!1,AudioPlayElDistance:0}},mounted:function(){this.src&&this.resetAudio(this.src)},deactivated:function(){this.audio=""},methods:{followAuthor:function(){this.$emit("follow")},uploadAudio:function(t){var e=this;if(this.pauseAudio(),s(t.file,["mp3"]))this.$toast("请上传mp3格式的音频文件");else{var a=new FormData;a.append("upload_type","audio"),a.append("file",t.file);var i=this.$toast.loading({message:"上传中",duration:0});axios.post(this.fun.getRealUrl("upload.uploadPic"),a).then((function(t){var a=t.data.data.img_url;e.$toast("上传成功"),e.audioPlayProgress="0:00",e.AudioPlayElDistance=0,e.resetAudio(a)})).catch((function(){i.clear()}))}},playAudio:function(){var t=this;l.play(),this.$refs["audioEl"].play(),this.audioPlaying=!0;var e=this.$refs["audioProgressBar"].clientWidth/l.duration;c=setInterval((function(){var a=n["a"].getTimeElByMillisecond(1e3*l.currentTime);t.audioPlayProgress="".concat(a.hours?a.hours+":":"").concat(a.minutes,":").concat(a.seconds),t.AudioPlayElDistance+=e}),1e3)},pauseAudio:function(){l.pause(),this.$refs["audioEl"].pause(),clearInterval(c),c=null,this.audioPlaying=!1},resetAudio:function(t){var e=this;this.audio=t,l.src=t,this.$emit("uploaded",{uploadedUrl:t}),l.addEventListener("canplay",(function(){var t=n["a"].getTimeElByMillisecond(1e3*l.duration);e.audioLength="".concat(t.hours?t.hours+":":"").concat(t.minutes,":").concat(t.seconds)})),l.addEventListener("ended",(function(){clearInterval(c),c=null,e.audioPlaying=!1}))}},components:{ContentAuthorBar:r["a"]}},u=d,p=(a("98d5"),a("2877")),f=Object(p["a"])(u,i,o,!1,null,"d0ae978a",null);e["a"]=f.exports},"567c":function(t,e,a){var i=a("b2562");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var o=a("499e").default;o("6b0bc110",i,!0,{sourceMap:!1,shadowMode:!1})},"73d2":function(t,e,a){"use strict";a("208f")},"7efa":function(t,e,a){"use strict";a("e4c3")},"892e":function(t,e,a){"use strict";a.r(e);var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("main",[a("c-title",{attrs:{text:"发布"}}),a("div",{staticClass:"publish-form"},["video"===t.publishType||"audio"===t.publishType||"special"===t.publishType?a("form-item",{staticClass:"pulish-form-item",attrs:{title:"标题",required:""}},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.title,expression:"title"}],attrs:{slot:"title-right",type:"text",placeholder:"请输入标题"},domProps:{value:t.title},on:{input:function(e){e.target.composing||(t.title=e.target.value)}},slot:"title-right"})]):t._e(),"default"==t.publishType||"audio"==t.publishType||"article"==t.publishType?a("form-item",{staticClass:"pulish-form-item",attrs:{title:"上传封面",required:""}},[a("van-row",{staticClass:"publish-form-content",attrs:{type:"flex",align:"bottom"}},[a("van-col",{attrs:{span:12}},[a("van-uploader",{attrs:{"preview-image":!1,"after-read":t.uploadCover,accept:"image/png, image/jpeg, image/jpg, image/gif"},model:{value:t.coverFile,callback:function(e){t.coverFile=e},expression:"coverFile"}},[a("upload-button",{attrs:{icon:"icon-life-game-plus"}},[t.contentCoverHasImage?a("div",{staticClass:"cover-upload"},[t.contentCover?a("img",{staticClass:"cover-image",attrs:{src:t.contentCover}}):t._e()]):t._e()])],1)],1),a("van-col",{staticStyle:{"padding-left":"0.44rem","text-align":"left","font-size":"0.8rem",color:"#333"},attrs:{span:12}},[t._v("建议尺寸:340*453px")])],1)],1):t._e(),"video"==t.publishType||"special"==t.publishType?a("form-item",{staticClass:"pulish-form-item"},[a("van-row",{staticClass:"publish-form-content",attrs:{type:"flex",align:"bottom"}},[a("van-col",{attrs:{span:12}},[a("div",{staticClass:"upload-video-wrap"},[a("input",{staticClass:"video-input",attrs:{type:"file",id:"file",accept:"video/*"},on:{change:t.onReadVideo}}),a("upload-button",{attrs:{icon:"icon-fontclass-ship"}},[a("div",{attrs:{slot:"prompt"},slot:"prompt"},[a("p",[t._v("视频时长不应超过"+t._s(t.sets.videoLength)+"秒")])]),t.contentVideo?a("video",{ref:"contentVideoEl",staticClass:"cotent-video",attrs:{src:t.contentVideo,"webkit-playsinline":"true",controlslist:"nodownload",playsinline:"true",preload:"metadata","x5-video-player-type":"h5","x5-playsinline":"","x5-video-orientation":"portrait","x5-video-player-fullscreen":"",autoplay:"autoplay",muted:"",controls:""},domProps:{muted:!0},on:{click:function(t){t.stopPropagation()}}}):t._e()])],1)]),a("van-col",{staticStyle:{"padding-left":"0.44rem","text-align":"left","font-size":"0.8rem",color:"#333"},attrs:{span:12}},[a("van-uploader",{attrs:{"preview-image":!1,"after-read":t.uploadCover,accept:"image/png, image/jpeg, image/jpg, image/gif"},model:{value:t.coverFile,callback:function(e){t.coverFile=e},expression:"coverFile"}},[a("upload-button",{attrs:{icon:"icon-fontclass-shengchengjilu"},scopedSlots:t._u([{key:"prompt",fn:function(){return[t._v("提示:封面尽量和视频高度一致")]},proxy:!0}],null,!1,2244057513)},[t.contentCoverHasImage?a("div",{staticClass:"cover-upload"},[t.contentCover?a("img",{staticClass:"cover-image",attrs:{src:t.contentCover}}):t._e()]):t._e()])],1)],1)],1)],1):t._e(),"default"===t.publishType||"article"===t.publishType?a("form-item",{staticClass:"pulish-form-item",attrs:{title:"标题",required:""}},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.title,expression:"title"}],attrs:{slot:"title-right",type:"text",placeholder:"请输入标题"},domProps:{value:t.title},on:{input:function(e){e.target.composing||(t.title=e.target.value)}},slot:"title-right"}),a("textarea",{directives:[{name:"model",rawName:"v-model",value:t.content,expression:"content"}],staticClass:"publish-content",attrs:{placeholder:"添加正文"},domProps:{value:t.content},on:{input:function(e){e.target.composing||(t.content=e.target.value)}}})]):t._e(),"audio"===t.publishType?a("form-item",{staticClass:"pulish-form-item",attrs:{title:"上传音频文件",required:""}},[a("audio-content-card",{attrs:{upload:!0,src:this.audio},on:{uploaded:t.getAudioFile}})],1):t._e(),"special"===t.publishType?a("div",{staticClass:"publish-details"},[a("form-item",{staticClass:"pulish-form-item",attrs:{title:"流量值单价",required:"",bottomBorder:""},scopedSlots:t._u([{key:"tip",fn:function(){return[t._v("最低值"+t._s(t.sets.minFlowHours)+"流量值/小时")]},proxy:!0}],null,!1,2267038399)},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.contentPrice,expression:"contentPrice"}],attrs:{slot:"title-right",type:"text",name:"请输入流量值"},domProps:{value:t.contentPrice},on:{input:function(e){e.target.composing||(t.contentPrice=e.target.value)}},slot:"title-right"})]),a("form-item",{staticClass:"pulish-form-item",attrs:{title:"投放时间(小时)",required:"",bottomBorder:""}},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.contentDuration,expression:"contentDuration"}],attrs:{slot:"title-right",type:"text",name:"请输入投放时间"},domProps:{value:t.contentDuration},on:{input:function(e){e.target.composing||(t.contentDuration=e.target.value)}},slot:"title-right"})]),a("form-item",{staticClass:"pulish-form-item",attrs:{title:"链接",bottomBorder:""}},[a("input",{directives:[{name:"model",rawName:"v-model",value:t.contentLink,expression:"contentLink"}],attrs:{slot:"title-right",type:"text",name:"请输入链接",placeholder:"请输入链接"},domProps:{value:t.contentLink},on:{input:function(e){e.target.composing||(t.contentLink=e.target.value)}},slot:"title-right"})])],1):t._e(),"default"==t.publishType?a("form-item",{staticClass:"pulish-form-item new-media_publish-upload-images"},[a("yz_uploader",{ref:"uploader",model:{value:t.uploadImageList,callback:function(e){t.uploadImageList=e},expression:"uploadImageList"}})],1):t._e()],1),a("d-fixed-container",{attrs:{bottom:"0.84rem",center:"",placeholder:"",width:"20.3rem",height:"8.5rem"}},[a("div",{staticStyle:{display:"flex","justify-content":"center",width:"100%"}},[a("van-button",{staticClass:"submit-button",attrs:{block:"",type:"primary",color:"#ef3532",round:""},on:{click:t.saveADContent}},[t._v("提交")])],1)]),a("shortcut-menu",{attrs:{right:"0.63rem",bottom:"5.88rem",navs:t.shortcutNavs}}),a("van-popup",{staticClass:"fail-popup",style:{height:"17.72rem",width:"17.22rem"},attrs:{round:"",closeable:""},model:{value:t.displayFailPopup,callback:function(e){t.displayFailPopup=e},expression:"displayFailPopup"}},[a("img",{attrs:{src:"https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/new_media/fail_popup_bg.png"}}),a("div",{staticClass:"fail-prompt"},[t._v(" "+t._s(t.publishFailInfo.title)+" "),a("p",{staticClass:"fail-keywords"},[t._v(t._s(t.publishFailInfo.content))])])])],1)},o=[],r=a("c7eb"),n=a("1da1"),s=(a("ac1f"),a("1276"),a("caad"),a("2532"),a("a9e3"),a("8a79"),a("b0c0"),a("d3b7"),a("3ca3"),a("ddb0"),a("2b3d"),a("9861"),a("a15b"),a("46ef")),l=a("98b0"),c=a("9bd3"),d=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"upload-button",on:{click:function(e){return t.$emit("click")}}},[t.$slots.default?t._e():a("i",{staticClass:"iconfont",class:[t.icon]}),t._t("default"),a("div",{staticClass:"upload-prompt"},[t._t("prompt")],2)],2)},u=[],p={props:{icon:{type:String,default:"icon-life-game-plus"}}},f=p,m=(a("3c05"),a("2877")),h=Object(m["a"])(f,d,u,!1,null,"fd5e138e",null),g=h.exports,v=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"pulish-form-item"},[t.title||t.required?a("div",{staticClass:"publish-form-header",class:{"publish-form-title_bottom_border":t.bottomBorder}},[a("div",{staticClass:"publish-form-title"},[t._v(t._s(t.title)+" "),t.required?a("span",{staticClass:"publish-form-title_require"},[t._v("*")]):t._e()]),t._t("title-right")],2):t._e(),a("div",{staticClass:"publish-form-tip"},[t._t("tip")],2),t.$slots.default?a("div",{staticClass:"publish-form-content"},[t._t("default")],2):t._e()])},b=[],y={props:{title:{type:String,default:""},required:{type:Boolean,default:!1},bottomBorder:{type:Boolean,default:!1}}},w=y,x=(a("c640"),Object(m["a"])(w,v,b,!1,null,"e6334bb8",null)),k=x.exports,_=a("4b51");function A(t,e){var a=t.type.split("/")[1];return!!e.includes(a)}var C={created:function(){switch(this.fun.setWXTitle("发布"),this.getSet(),"ios"==this.fun.isIosOrAndroid()&&(this.isIPhoneAndWechat=!0),Number(this.$route.query.publish_type)){case 2:this.publishType="article";break;case 3:this.publishType="audio";break;case 4:this.publishType="video";break;case 5:this.publishType="special";break;default:case 1:this.publishType="default";break}},data:function(){return{publishType:"default",contentCoverHasImage:!1,contentCover:"",displayFailPopup:!1,uploadImageList:[],coverFile:[],title:"",content:"",audio:"",contentHasVideo:!1,contentVideo:"",contentLink:"",contentDuration:null,contentPrice:null,shortcutNavs:[{text:"我的",icon:"icon-fontclass-huiyuanzhongixn",link:"newMediaMy"},{text:"聚合页",icon:"icon-fontclass-shouye",link:"newMediaGuide"}],publishFailInfo:{title:"",content:""},sets:{videoLength:0,minFlowHours:0},videoUploading:!1,uploadVideoUrl:"",isIPhoneAndWechat:!1,videoFile:null}},methods:{getSet:function(){var t=this,e=this.$toast.loading({message:"加载中",duration:0,overlay:!0});$http.get("plugin.new-media-advertising.frontend.media-advertisingt.get-set").then((function(a){var i=a.result,o=a.data,r=a.msg;e.clear(),0!=i?(t.sets.videoLength=o.video_length,t.sets.minFlowHours=o.min_stream_hour):t.$toast(r)})).catch((function(){e.clear()}))},uploadCover:function(t){var e=this;if(!1!==A(t.file,["jpeg","jpg","png","gif"])){var a=this.$toast.loading({duration:0,message:"上传中",overlay:!0}),i=new FormData;i.append("file",t.file),axios.post(this.fun.getRealUrl("upload.uploadPic"),i,{headers:{"Content-Type":"multipart/form-data"}}).then((function(t){var i=t.data.data,o=t.result,r=t.msg;a.clear(),0!=o?(e.$toast("上传成功"),e.contentCover=i.img_url,e.contentCoverHasImage=!0):e.$toast(r)}))}else this.$toast("请上传png、jpg、jpeg、gif格式的图片文件")},getAudioFile:function(t){this.audio=t.uploadedUrl},onReadVideo:function(t){var e=this,a=this,i=t.target.files||t.dataTransfer.files;if(i.length){if(this.videoFile=i[0],!(i[0].name.endsWith(".mp4")||i[0].name.endsWith(".MP4")||i[0].name.endsWith(".mov")||i[0].name.endsWith(".MOV")||i[0].name.endsWith(".svg")||i[0].name.endsWith(".SVG")))return this.contentVideo="",void a.$dialog.alert({message:"请上传MP4或MOV格式视频"});var o=null;if(void 0!=window.createObjectURL?o=window.createObjectURL(i[0]):void 0!=window.URL?o=window.URL.createObjectURL(i[0]):void 0!=window.webkitURL&&(o=window.webkitURL.createObjectURL(i[0])),this.contentVideo=o,!this.isIPhoneAndWechat){var r=this.$toast.loading({message:"加载中",duration:0});this.$nextTick((function(){e.$refs["contentVideoEl"].addEventListener("loadedmetadata",(function(){if(r&&r.clear(),e.$refs["contentVideoEl"].duration>e.sets.videoLength)return e.$toast("视频长度不可超过"+e.sets.videoLength+"秒"),e.contentVideo=null,void(e.uploadVideoUrl=null);!1===e.videoUploading&&(e.videoUploading=!0,e.requestUploadVideo(i[0]))}))}))}}},requestUploadVideo:function(t){var e=this,a=this.$toast.loading({duration:0,message:"上传视频中",overlay:!0}),i=new FormData;return i.append("file",t),axios.post(this.fun.getRealUrl("upload.uploadPic"),i,{headers:{"Content-Type":"multipart/form-data"}}).then((function(t){a.clear(),e.videoUploading=!1;var i=t.data;return 1!=i.result?(e.$toast.fail(i.msg),e.contentVideo=null,!1):(e.$toast("上传成功"),e.uploadVideoUrl=i.data.img_url,!0)})).catch((function(){return a.clear(),e.videoUploading=!1,e.contentVideo=null,!1}))},saveADContent:function(){var t=this;return Object(n["a"])(Object(r["a"])().mark((function e(){var a,i;return Object(r["a"])().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(!t.isIPhoneAndWechat||"special"!==t.publishType&&"video"!==t.publishType){e.next=6;break}return e.next=3,t.requestUploadVideo(t.videoFile);case 3:if(a=e.sent,a){e.next=6;break}return e.abrupt("return");case 6:if(!("special"===t.publishType&&t.contentPrice<t.sets.minFlowHours)){e.next=9;break}return t.$toast("流量值单价不能小于最低值"),e.abrupt("return");case 9:i=t.$toast.loading({title:"发布中",overlay:!0,duration:0}),$http.post("plugin.new-media-advertising.frontend.media-advertisingt.release-advertising",{advertising_type:"special"===t.publishType?2:1,genre:Number(t.$route.query.publish_type),title:t.title,cover_picture:t.contentCover,content:t.content,images:t.uploadImageList,resources_url:t.audio||t.uploadVideoUrl,link:t.contentLink,duration:t.contentDuration,stream_univalent:t.contentPrice}).then((function(e){if(i.clear(),0!==e.result)t.$toast("发布成功"),setTimeout((function(){t.$router.go(-1)}),500);else if(t.displayFailPopup=!0,2===e.data.code){t.publishFailInfo.title=e.data.msg;var a=e.data.data,o="";for(var r in a){var n=a[r];o+=n.join(", "),o+="\n"}t.publishFailInfo.content=o}else t.publishFailInfo.title=e.msg})).catch((function(){i.clear()}));case 11:case"end":return e.stop()}}),e)})))()}},components:{yz_uploader:s["a"],DFixedContainer:l["a"],ShortcutMenu:c["a"],UploadButton:g,FormItem:k,AudioContentCard:_["a"]}},E=C,P=(a("d46e"),a("73d2"),Object(m["a"])(E,i,o,!1,null,"271982cc",null));e["default"]=P.exports},"98d5":function(t,e,a){"use strict";a("49e9")},"9bd3":function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("d-fixed-container",{attrs:{right:t.right,bottom:t.bottom}},[a("ul",{staticClass:"shortcut-menu"},t._l(t.navs,(function(e){return!1===e.hidden?a("li",{key:e.text,staticClass:"shortcut-menu-item",on:{click:function(a){return t.toPage(e)}}},[a("i",{staticClass:"iconfont",class:[e.icon]}),t._v(" "+t._s(e.text)+" ")]):t._e()})),0)])},o=[],r=(a("9911"),a("98b0")),n={props:{right:{type:String,default:"1.9rem"},bottom:{type:String,default:"6.06rem"},navs:{type:Array,default:function(){return[]}}},methods:{toPage:function(t){var e=t.link,a=t.query;this.$router.push(this.fun.getUrl(e,{},a||{}))}},components:{DFixedContainer:r["a"]}},s=n,l=(a("479b"),a("2877")),c=Object(l["a"])(s,i,o,!1,null,"2819d5a6",null);e["a"]=c.exports},"9da3":function(t,e,a){"use strict";a.d(e,"d",(function(){return i})),a.d(e,"c",(function(){return n})),a.d(e,"b",(function(){return s}));a("ac1f"),a("5319"),a("a9e3");function i(t){return t=parseInt(t),t<10?"0".concat(t):t}function o(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null,e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"y-m-d h:i:s";null===t&&(t=Date.now());var a=r(t),i=a.year,o=a.month,n=a.day,s=a.hour,l=a.minute,c=a.second,d=a.week,u=["一","二","三","四","五","六","日"];return e=e.replace(/y/gi,i),e=e.replace(/m/gi,dateAddZero(o)),e=e.replace(/d/gi,dateAddZero(n)),e=e.replace(/h/gi,dateAddZero(s)),e=e.replace(/i/gi,dateAddZero(l)),e=e.replace(/s/gi,dateAddZero(c)),e=e.replace(/w/g,d),e=e.replace(/W/g,u[d-1]),e}function r(t){null===t&&(t=Date.now());var e=new Date(t),a=e.getFullYear(),i=dateAddZero(e.getMonth()+1),o=dateAddZero(e.getDate()),r=dateAddZero(e.getHours()),n=dateAddZero(e.getMinutes()),s=dateAddZero(e.getSeconds()),l=e.getDay();return{year:a,month:i,day:o,hour:r,minute:n,second:s,week:l}}function n(t){var e=Math.round(t%6e4/1e3),a=Math.round(t/1e3/60)%60,i=Math.floor(t/1e3/60/60)%24,o=Math.floor(t/1e3/60/60/24);return t%=1e3,{days:o,hours:i,minutes:a,seconds:e,millisecond:t}}function s(t,e){return isNaN(Number(t))&&(t=new Date(t).getTime()),isNaN(Number(e))&&(e=new Date(e).getTime()),t-e}function l(t,e,a,i,o,r){var n=new Date;return r?n.setFullYear(r):n.setFullYear(n.getFullYear()),o?n.setMonth(o):n.setMonth(n.getMonth()),i?n.setDate(i):n.setDate(n.getDate()),a?n.setHours(a):n.setHours(n.getHours()),e?n.setMinutes(e):n.setMinutes(n.getMinutes()),t?n.setSeconds(t):n.setSeconds(n.getSeconds()),t.getTime()}e["a"]={formatDate:o,timeElAddZero:i,getTime:r,getTimeElByMillisecond:n,getTimeDiff:s,timeToTimeStamp:l}},b2562:function(t,e,a){var i=a("24fb");e=i(!1),e.push([t.i,".pulish-form-item[data-v-e6334bb8]:first-child{padding-top:.88rem}.publish-form-header[data-v-e6334bb8]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.publish-form-title[data-v-e6334bb8]{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;padding-right:.3125rem;font-size:.94rem;color:#333}.publish-form-title_require[data-v-e6334bb8]{padding-left:.19rem;color:#ee2e2b}.publish-form-title_bottom_border[data-v-e6334bb8]{padding-bottom:.72rem;border-bottom:1px solid #f2f2f2}.publish-form-content[data-v-e6334bb8]{margin-top:1.16rem}.pulish-form-item input[data-v-e6334bb8]{width:100%;border:none}.publish-form-tip[data-v-e6334bb8]{margin-top:.5rem;font-size:.69rem;color:#6e6e6e}",""]),t.exports=e},bd8d:function(t,e,a){"use strict";var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"content-author-bar"},[a("div",{staticClass:"content-author-left",style:{width:t.$slots.right?"calc(100% - calc(5.125rem + 0.625rem))":"100%"}},[a("van-image",{staticClass:"content_author-avatar",attrs:{src:t.avatar,width:"1.42rem",height:"1.42rem",round:"",fit:"cover"}}),a("div",{staticClass:"content_author-nickname ellipsis1"},[t._v(t._s(t.nickname))]),t.self?t._e():a("div",{staticClass:"content_author-follow",class:{"content_author-unfollow":t.attention},on:{click:t.followAuthor}},[t._v(t._s(t.attention?"已"+t.attentionName:t.attentionName))])],1),t._t("right")],2)},o=[],r=(a("4056"),a("44bf")),n={props:{avatar:{type:String,default:""},nickname:{type:String,default:""},self:{type:Boolean,default:!1},attention:{type:Boolean,default:!1},attentionName:{type:String,default:"关注"}},methods:{followAuthor:function(){this.$emit("follow")}},components:{VanImage:r["a"]}},s=n,l=(a("7efa"),a("2877")),c=Object(l["a"])(s,i,o,!1,null,"d2b375aa",null);e["a"]=c.exports},c640:function(t,e,a){"use strict";a("567c")},c7eb:function(t,e,a){"use strict";a.d(e,"a",(function(){return o}));a("a4d3"),a("e01a"),a("d3b7"),a("d28b"),a("3ca3"),a("ddb0"),a("b636"),a("944a"),a("0c47"),a("23dc"),a("d9e2"),a("3410"),a("159b"),a("b0c0"),a("131a"),a("fb6a");var i=a("53ca");function o(){
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
o=function(){return t};var t={},e=Object.prototype,a=e.hasOwnProperty,r="function"==typeof Symbol?Symbol:{},n=r.iterator||"@@iterator",s=r.asyncIterator||"@@asyncIterator",l=r.toStringTag||"@@toStringTag";function c(t,e,a){return Object.defineProperty(t,e,{value:a,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{c({},"")}catch(M){c=function(t,e,a){return t[e]=a}}function d(t,e,a,i){var o=e&&e.prototype instanceof f?e:f,r=Object.create(o.prototype),n=new C(i||[]);return r._invoke=function(t,e,a){var i="suspendedStart";return function(o,r){if("executing"===i)throw new Error("Generator is already running");if("completed"===i){if("throw"===o)throw r;return P()}for(a.method=o,a.arg=r;;){var n=a.delegate;if(n){var s=k(n,a);if(s){if(s===p)continue;return s}}if("next"===a.method)a.sent=a._sent=a.arg;else if("throw"===a.method){if("suspendedStart"===i)throw i="completed",a.arg;a.dispatchException(a.arg)}else"return"===a.method&&a.abrupt("return",a.arg);i="executing";var l=u(t,e,a);if("normal"===l.type){if(i=a.done?"completed":"suspendedYield",l.arg===p)continue;return{value:l.arg,done:a.done}}"throw"===l.type&&(i="completed",a.method="throw",a.arg=l.arg)}}}(t,a,n),r}function u(t,e,a){try{return{type:"normal",arg:t.call(e,a)}}catch(M){return{type:"throw",arg:M}}}t.wrap=d;var p={};function f(){}function m(){}function h(){}var g={};c(g,n,(function(){return this}));var v=Object.getPrototypeOf,b=v&&v(v(E([])));b&&b!==e&&a.call(b,n)&&(g=b);var y=h.prototype=f.prototype=Object.create(g);function w(t){["next","throw","return"].forEach((function(e){c(t,e,(function(t){return this._invoke(e,t)}))}))}function x(t,e){function o(r,n,s,l){var c=u(t[r],t,n);if("throw"!==c.type){var d=c.arg,p=d.value;return p&&"object"==Object(i["a"])(p)&&a.call(p,"__await")?e.resolve(p.__await).then((function(t){o("next",t,s,l)}),(function(t){o("throw",t,s,l)})):e.resolve(p).then((function(t){d.value=t,s(d)}),(function(t){return o("throw",t,s,l)}))}l(c.arg)}var r;this._invoke=function(t,a){function i(){return new e((function(e,i){o(t,a,e,i)}))}return r=r?r.then(i,i):i()}}function k(t,e){var a=t.iterator[e.method];if(void 0===a){if(e.delegate=null,"throw"===e.method){if(t.iterator["return"]&&(e.method="return",e.arg=void 0,k(t,e),"throw"===e.method))return p;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return p}var i=u(a,t.iterator,e.arg);if("throw"===i.type)return e.method="throw",e.arg=i.arg,e.delegate=null,p;var o=i.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,p):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,p)}function _(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function A(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function C(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(_,this),this.reset(!0)}function E(t){if(t){var e=t[n];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var i=-1,o=function e(){for(;++i<t.length;)if(a.call(t,i))return e.value=t[i],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:P}}function P(){return{value:void 0,done:!0}}return m.prototype=h,c(y,"constructor",h),c(h,"constructor",m),m.displayName=c(h,l,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,h):(t.__proto__=h,c(t,l,"GeneratorFunction")),t.prototype=Object.create(y),t},t.awrap=function(t){return{__await:t}},w(x.prototype),c(x.prototype,s,(function(){return this})),t.AsyncIterator=x,t.async=function(e,a,i,o,r){void 0===r&&(r=Promise);var n=new x(d(e,a,i,o),r);return t.isGeneratorFunction(a)?n:n.next().then((function(t){return t.done?t.value:n.next()}))},w(y),c(y,l,"Generator"),c(y,n,(function(){return this})),c(y,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=[];for(var a in t)e.push(a);return e.reverse(),function a(){for(;e.length;){var i=e.pop();if(i in t)return a.value=i,a.done=!1,a}return a.done=!0,a}},t.values=E,C.prototype={constructor:C,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(A),!t)for(var e in this)"t"===e.charAt(0)&&a.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function i(a,i){return n.type="throw",n.arg=t,e.next=a,i&&(e.method="next",e.arg=void 0),!!i}for(var o=this.tryEntries.length-1;o>=0;--o){var r=this.tryEntries[o],n=r.completion;if("root"===r.tryLoc)return i("end");if(r.tryLoc<=this.prev){var s=a.call(r,"catchLoc"),l=a.call(r,"finallyLoc");if(s&&l){if(this.prev<r.catchLoc)return i(r.catchLoc,!0);if(this.prev<r.finallyLoc)return i(r.finallyLoc)}else if(s){if(this.prev<r.catchLoc)return i(r.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<r.finallyLoc)return i(r.finallyLoc)}}}},abrupt:function(t,e){for(var i=this.tryEntries.length-1;i>=0;--i){var o=this.tryEntries[i];if(o.tryLoc<=this.prev&&a.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var r=o;break}}r&&("break"===t||"continue"===t)&&r.tryLoc<=e&&e<=r.finallyLoc&&(r=null);var n=r?r.completion:{};return n.type=t,n.arg=e,r?(this.method="next",this.next=r.finallyLoc,p):this.complete(n)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),p},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var a=this.tryEntries[e];if(a.finallyLoc===t)return this.complete(a.completion,a.afterLoc),A(a),p}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var a=this.tryEntries[e];if(a.tryLoc===t){var i=a.completion;if("throw"===i.type){var o=i.arg;A(a)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,a){return this.delegate={iterator:E(t),resultName:e,nextLoc:a},"next"===this.method&&(this.arg=void 0),p}},t}},cd55:function(t,e,a){var i=a("24fb");e=i(!1),e.push([t.i,".upload-button[data-v-fd5e138e]{position:relative;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;width:10.64rem;height:14.16rem;text-align:left;background-color:#fbfbfb;border-radius:.3rem;border:.06rem dashed #e5e5e5}.upload-button i[data-v-fd5e138e]{font-size:2.8rem;color:#d9d9d9}.upload-button[data-v-fd5e138e]:active,.upload-button:active i[data-v-fd5e138e]{-webkit-filter:brightness(90%);filter:brightness(90%)}.upload-prompt[data-v-fd5e138e]{position:absolute;bottom:.5rem;left:.75rem;width:calc(100% - 1.25rem);font-size:.69rem;color:#999}",""]),t.exports=e},d46e:function(t,e,a){"use strict";a("d831")},d831:function(t,e,a){var i=a("25aa");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var o=a("499e").default;o("b7451138",i,!0,{sourceMap:!1,shadowMode:!1})},e25d:function(t,e,a){var i=a("24fb");e=i(!1),e.push([t.i,".content-author-bar[data-v-d2b375aa]{-webkit-box-pack:justify;-webkit-justify-content:space-between;-ms-flex-pack:justify;justify-content:space-between;text-align:left}.content-author-bar[data-v-d2b375aa],.content-author-left[data-v-d2b375aa]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.content-author-left[data-v-d2b375aa]{-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.content_author-avatar[data-v-d2b375aa]{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0}.content_author-nickname[data-v-d2b375aa]{margin-left:.5rem;font-size:.75rem}.content_author-follow[data-v-d2b375aa]{-webkit-flex-shrink:0;-ms-flex-negative:0;flex-shrink:0;padding:.4rem .6rem;margin-left:1.04rem;line-height:.7rem;color:#fff;font-size:.75rem;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;border-radius:.78rem;background-color:var(--newMediaPrimaryColor);-webkit-transition:all .2s ease-in-out;transition:all .2s ease-in-out}.content_author-unfollow[data-v-d2b375aa]{color:var(--newMediaPrimaryColor);background-color:#fff;border:1px solid var(--newMediaPrimaryColor)}.content_author-follow[data-v-d2b375aa]:active{-webkit-filter:brightness(90%);filter:brightness(90%)}",""]),t.exports=e},e4c3:function(t,e,a){var i=a("e25d");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var o=a("499e").default;o("df7a0a00",i,!0,{sourceMap:!1,shadowMode:!1})},fc08:function(t,e,a){var i=a("24fb");e=i(!1),e.push([t.i,"main[data-v-271982cc]{padding:0 .94rem;min-height:100vh;text-align:left;background-color:#fff}.pulish-form-item[data-v-271982cc]:first-child{padding-top:.88rem}.pulish-form-item[data-v-271982cc]:not(:first-child){margin-top:1.34rem}.publish-content[data-v-271982cc]{padding:.88rem;width:100%;height:8.75rem;font-size:.94rem;border:none;background-color:#f6f6f6;border-radius:.3rem}.publish-details[data-v-271982cc]{margin-top:1.5rem}.submit-button[data-v-271982cc]{margin-top:6rem;width:20.31rem;height:2.5rem}.fail-popup img[data-v-271982cc]{width:100%}.fail-prompt[data-v-271982cc]{padding:0 1.16rem 1.16rem;color:#333;font-size:1rem}.fail-keywords[data-v-271982cc]{margin-top:.94rem}.cover-upload[data-v-271982cc]{text-align:center}.cover-image[data-v-271982cc]{width:100%;max-height:200px;-o-object-fit:cover;object-fit:cover}.cotent-video[data-v-271982cc]{position:absolute;z-index:999;top:0;bottom:0;margin:auto 0;width:100%;height:50%}.upload-video-wrap[data-v-271982cc]{position:relative}.video-input[data-v-271982cc]{position:absolute;z-index:1;left:0;right:0;top:0;bottom:0;width:100%;opacity:0}",""]),t.exports=e}}]);