(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-10382ef4"],{"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"},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)})),0)},i=[],c=(n("5ab2"),n("e10e"),n("5748")),o=(n("6d57"),n("ce3c")),a=(n("6a61"),n("cf7f")),s=n("8586"),u=n("9f3a"),l=n("6205"),f=n("759e"),d=n.n(f);function p(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 m(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?p(Object(n),!0).forEach((function(t){Object(o["a"])(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):p(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}console.log(d.a);var b={components:{Acrao:s["a"]},data:function(){return{moduleList:[]}},mounted:function(){var e=Object(a["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:m({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(l["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(d.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"),i=n,c=r;i.setAttribute("name","keywords"),i.setAttribute("content",e.keyword),c.setAttribute("name","description"),c.setAttribute("content",e.describe),t.appendChild(i),t.appendChild(c)},setIcon:function(e){var t=Object(c["a"])(document.getElementsByTagName("link")),n=t.filter((function(e){return"icon"==e.rel}))[0];n.setAttribute("href",e.pic_url)}},Object(u["d"])({saveLinkinfo:"template/saveLinkinfo"}))},h=b,y=(n("79b9"),n("9ca4")),O=Object(y["a"])(h,r,i,!1,null,"f79a62ac",null);t["default"]=O.exports},"79b9":function(e,t,n){"use strict";var r=n("7e38"),i=n.n(r);i.a},"7e38":function(e,t,n){}}]);