(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-66a9b55d"],{"0b52":function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"tfhref test-1"},[e._l(e.moduleList,(function(t){return n("div",{key:t.id,staticClass:"tfhref_wrapper"},e._l(t.acraoList,(function(e){return n("Acrao",{key:e.id,attrs:{config:e}})})),1)})),n("div",{directives:[{name:"show",rawName:"v-show",value:e.isIframeShow,expression:"isIframeShow"}],staticClass:"kefu"},[n("div",{staticClass:"kefu_close"},[n("Icon",{attrs:{type:"md-close"},on:{click:e.closeKefu}})],1),n("iframe",{staticClass:"iframeIm",attrs:{src:"https://swt.gongsibao.com/LR/Chatpre.aspx?id=MGF22027130&lng=cn",frameborder:"0"}})])],2)},a=[],i=(n("5ab2"),n("e10e"),n("5748")),o=(n("6d57"),n("6a61"),n("cf7f")),s=n("ce3c"),c=n("759e"),u=n.n(c),f=n("8586"),l=n("9f3a"),d=n("6205");function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m(Object(n),!0).forEach((function(t){Object(s["a"])(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var h={components:{Acrao:f["a"]},data:function(){return{moduleList:[]}},computed:p({},Object(l["e"])({isIframeShow:function(e){return e.template.isIframeShow}})),mounted:function(){var e=Object(o["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,this.getModuleList();case 2:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),methods:p(p({getModuleList:function(){var e=this,t=this.$route.query,n={channel_code:t.source,business_type_code:t.business,lauch_type_code:t.type,marketing_subject_code:t.for,else_channel_param:t.event,template_id:t.id,device:t.device};Object(d["g"])(n).then((function(t){if(200==t.status&&0==t.data.status){var n=t.data.data;e.setIcon(n.templateinfo),e.setWebKey(n.templateinfo),e.saveLinkinfo(n.linkinfo),n.templateinfo.template_content&&(e.moduleList=JSON.parse(u.a.inflate(n.templateinfo.template_content,{to:"string"})).list,e.moduleList.forEach((function(t){t.id>e.moduleIndex&&(e.moduleIndex=t.id+1)})))}}))},setWebKey:function(e){document.title=e.title;var t=document.getElementsByTagName("head")[0],n=document.createElement("meta"),r=document.createElement("meta"),a=n,i=r;a.setAttribute("name","keywords"),a.setAttribute("content",e.keyword),i.setAttribute("name","description"),i.setAttribute("content",e.describe),t.appendChild(a),t.appendChild(i)},setIcon:function(e){var t=Object(i["a"])(document.getElementsByTagName("link")),n=t.filter((function(e){return"icon"==e.rel}))[0];n.setAttribute("href",e.pic_url)},closeKefu:function(){this.setIsIframeShow(!1)}},Object(l["d"])({setIsIframeShow:"template/setIsIframeShow",saveLinkinfo:"template/saveLinkinfo"})),{},{destroyed:function(){this.setIsIframeShow(!1)}})},b=h,w=(n("8e4a"),n("9ca4")),v=Object(w["a"])(b,r,a,!1,null,"20d1a79e",null);t["default"]=v.exports},"8e4a":function(e,t,n){"use strict";var r=n("d03d"),a=n.n(r);a.a},d03d:function(e,t,n){}}]);