(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-16f2328a"],{"57f6":function(i,t,o){},"5d4f":function(i,t,o){"use strict";o.r(t);var s=function(){var i=this,t=i._self._c;return i.is_show?t("div",{ref:"dImg",class:2==i.imgInfo.imgType?"bigImg":"smallImg",style:{backgroundImage:"url(".concat(i.imgInfo.imgSrc,")")},attrs:{id:"dImg"}},[i.imgInfo.imgSrc?t("img",{staticClass:"bgImg",style:{width:i.imgInfo.width+"px",height:i.imgInfo.height+"px"},attrs:{src:i.imgInfo.imgSrc}}):i._e(),"1"==i.status?t("div",{staticClass:"drag_div common",style:{top:i.imgInfo.position_top_img,left:i.imgInfo.position_left_img,padding:"20px 15px 17px 15px"}},[t("div",{staticClass:"con"},[t("img",{style:{width:i.imgInfo.logoWidth+"px",height:i.imgInfo.logoWidth+"px"},attrs:{src:i.imgInfo.sch_logo_url,alt:""}}),t("div",{staticClass:"tit"},[t("p",{staticClass:"p1",style:{fontSize:i.imgInfo.tit+"px"}},[i._v(i._s(i.imgInfo.name))]),t("p",{staticClass:"p2",style:{fontSize:i.imgInfo.schType+"px"}},[i._v(i._s(i.imgInfo.school_type)+" | "+i._s(i.imgInfo.oct_type))]),t("p",{staticClass:"p3",style:{fontSize:i.imgInfo.schType+"px"}},[i._v("在招岗位数  "),t("span",{staticClass:"number",style:{fontSize:i.imgInfo.tit}},[i._v(i._s(i.imgInfo.job_num))])])]),t("img",{staticClass:"code1",style:{display:"inline-block",width:i.imgInfo.codeWidth+"px",height:i.imgInfo.codeWidth+"px"},attrs:{src:i.imgSrc_xcx,alt:""}})])]):i._e(),"2"==i.status?t("div",{staticClass:"drag_div common",style:{top:i.imgInfo.position_top_img,left:i.imgInfo.position_left_img,padding:"30px 5px 17px 15px"}},[t("div",{staticClass:"zw"},[t("span",{style:{fontSize:i.imgInfo.size_18+"px",color:"#333333"}},[i._v(i._s(i.imgInfo.title))]),t("span",{style:{fontSize:i.imgInfo.size_18+"px",color:"#FF5A5A"}},[i._v(i._s(i.imgInfo.money))])]),t("div",{staticClass:"lb"},[t("span",{style:{fontSize:i.imgInfo.schType+"px",color:"#848E98 "}},[i._v(i._s("1"==i.imgInfo.recruit_type?"实习":"2"==i.imgInfo.recruit_type?"校招":"社招")+" | "+i._s(i.imgInfo.xl)+" | "+i._s(i.imgInfo.city_name)+"·"+i._s(i.imgInfo.area_name))])]),t("div",{staticClass:"con con1"},[t("img",{style:{width:i.imgInfo.logoWidth+"px",height:i.imgInfo.logoWidth+"px"},attrs:{src:i.imgInfo.sch_logo_url,alt:""}}),t("div",{staticClass:"tit"},[t("p",{staticClass:"p1",style:{fontSize:i.imgInfo.tit+"px"}},[i._v(i._s(i.imgInfo.corp_name))]),t("p",{staticClass:"p2",style:{fontSize:i.imgInfo.schType+"px"}},[i._v(i._s(i.imgInfo.school_type)+" | "+i._s(i.imgInfo.oct_type))])])]),t("img",{staticStyle:{position:"absolute",right:"15px",bottom:"17px"},style:{display:"inline-block",width:i.imgInfo.codeWidth+"px",height:i.imgInfo.codeWidth+"px"},attrs:{src:i.imgSrc_xcx,alt:""}})]):i._e(),"3"==i.status?t("div",{staticClass:"drag_div common",style:{top:i.imgInfo.position_top_img,left:i.imgInfo.position_left_img,padding:"20px"}},[t("div",{staticClass:"tags",style:{background:1==i.imgInfo.is_online?"#3AB793":3==i.imgInfo.is_online?"#3699FF ":"#FF9500",fontSize:i.imgInfo.size_16+"px"}},[i._v(" "+i._s(1==i.imgInfo.is_online?"线上":2==i.imgInfo.is_online?"线下":"直播")+" ")]),t("div",{staticClass:"drag_content"},[t("p",{staticClass:"drag_tit",style:{fontSize:i.imgInfo.size_20+"px"}},[i._v(i._s(i.imgInfo.name))]),t("p",{staticClass:"drag_time",style:{fontSize:i.imgInfo.schType+"px","margin-top":"10px"}},[i._v("直播时间: "+i._s(i.imgInfo.reserve_start))])]),t("div",{staticStyle:{"margin-top":"20px",display:"flex"}},[t("img",{style:{width:i.imgInfo.logoWidth+"px",height:i.imgInfo.logoWidth+"px"},attrs:{src:i.imgInfo.sch_logo_url,alt:""}}),t("div",{staticStyle:{"margin-left":"10px"}},[t("p",{style:{fontSize:i.imgInfo.tit+"px",color:"#333333",width:"450px"}},[i._v(i._s(i.imgInfo.corp_name))]),t("p",{style:{fontSize:i.imgInfo.schType+"px",color:"#848E98","margin-top":"6px"}},[i._v(i._s(i.imgInfo.school_type)+" | "+i._s(i.imgInfo.oct_type))])])]),t("img",{staticStyle:{position:"absolute",right:"10px",bottom:"15px"},style:{display:"inline-block",width:i.imgInfo.codeWidth+"px",height:i.imgInfo.codeWidth+"px"},attrs:{src:i.imgSrc_xcx,alt:""}})]):i._e(),"4"==i.status?t("div",{staticClass:"drag_div common",style:{top:i.imgInfo.position_top_img,left:i.imgInfo.position_left_img,padding:"20px"}},["1"==i.imgInfo.is_online?t("div",{staticClass:"tags",style:{backgroundColor:"#3699FF",fontSize:i.imgInfo.size_16+"px"}},[i._v("网络")]):i._e(),"2"==i.imgInfo.is_online?t("div",{staticClass:"tags",style:{backgroundColor:"#FF9500",fontSize:i.imgInfo.size_16+"px"}},[i._v("现场")]):i._e(),t("div",{staticClass:"drag_content"},[t("p",{staticClass:"drag_tit",style:{fontSize:i.imgInfo.size_20+"px"}},[i._v(i._s(i.imgInfo.name))]),t("p",{style:{fontSize:i.imgInfo.schType+"px","margin-top":"20px"}},[i._v("直播时间: "+i._s(i.imgInfo.hold_date))]),t("p",{style:{fontSize:i.imgInfo.schType+"px",margin:"20px 0 10px 0",width:"400px"}},[i._v("主办单位："+i._s(i.imgInfo.issue))]),t("p",{style:{fontSize:i.imgInfo.schType+"px",width:"500px"}},[i._v("协办单位："+i._s(i.imgInfo.co_sponsor))])]),t("img",{staticClass:"code",style:{display:"inline-block",width:i.imgInfo.codeWidth+"px",height:i.imgInfo.codeWidth+"px"},attrs:{src:i.imgSrc_xcx,alt:""}})]):i._e()]):i._e()},n=[],e=o("c0e9"),g=o.n(e),m={name:"downImg",components:{html2canvas:g.a},data:function(){return{is_show:!1,status:"",imgInfo:{},imgSrc_xcx:""}},methods:{initImg:function(){var i=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"",s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};this.imgInfo=t,1==this.imgInfo.imgType?(this.imgInfo.position_top_img=this.imgInfo.position_top_img+"px"||!1,this.imgInfo.position_left_img=this.imgInfo.position_left_img+"px"||!1):(this.imgInfo.position_top_img=this.imgInfo.position_top_img?2*this.imgInfo.position_top_img+"px":"70%",this.imgInfo.position_left_img=this.imgInfo.position_left_img?2*this.imgInfo.position_left_img+"px":"2%",this.imgInfo.codeWidth=2*Number(this.imgInfo.codeWidth),this.imgInfo.logoWidth=2*Number(this.imgInfo.logoWidth),this.imgInfo.tit=2*Number(this.imgInfo.tit),this.imgInfo.schType=2*Number(this.imgInfo.schType),this.imgInfo.size_16=2*Number(this.imgInfo.size_16),"2"==s&&(this.imgInfo.size_18=2*Number(this.imgInfo.size_18)),"3"!=s&&"4"!=s||(this.imgInfo.size_20=2*Number(this.imgInfo.size_20))),this.imgSrc_xcx=o,this.status=s,this.is_show=!0,this.$nextTick((function(){i.downImg()}))},downImg:function(){var i=this,t=document.querySelector("#dImg"),o=this.$refs.dImg;this.$parent.loading=!0,this.$parent.changeBtn=!0,g()(t,{width:o.clientWidth,height:o.clientHeight,useCORS:!0}).then((function(t){i.$parent.loading=!1,i.$parent.changeBtn=!1;var o=t.toDataURL("image/png"),s=document.createElement("a");s.href=o,s.download=i.imgInfo.name||i.imgInfo.corp_name,document.body.appendChild(s),s.click(),document.body.removeChild(s)}))}}},p=m,a=(o("e6b0"),o("2877")),f=Object(a["a"])(p,s,n,!1,null,"67154ae8",null);t["default"]=f.exports},e6b0:function(i,t,o){"use strict";o("57f6")}}]);