(window.webpackJsonp=window.webpackJsonp||[]).push([["chunk-f2bf858e"],{"82db":function(e,t,a){"use strict";a.r(t);var o=a("d70b"),s=a("6ddb"),r={data(){var e;return{h5HomePage:o.a.host+(null===(e=this.$route.meta)||void 0===e?void 0:e.path)}},methods:{copyText(e){Object(s.b)(e).then(()=>{this.$message.success("复制成功")}).catch(e=>{this.$message.error("复制失败")})}},mounted(){var e=document.createElement("script");e.src="https://cdnjs.cloudflare.com/ajax/libs/qrcode/1.5.1/qrcode.min.js",e.onload=()=>{const e=document.getElementById("qrcode");QRCode.toDataURL(this.h5HomePage,{errorCorrectionLevel:"H"}).then(t=>{e.src=t})},document.body.appendChild(e)}},c=(a("a649"),a("2877")),i=Object(c.a)(r,(function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[a("div",{staticClass:"ls-card m-t-16 form-container"},[a("el-form",{attrs:{"label-width":"140px",size:"small"}},[a("div",{staticClass:"card-title"},[e._v("访问链接")]),a("el-form-item",{attrs:{label:"访问链接:"}},[a("el-input",{staticStyle:{width:"400px"},attrs:{disabled:""},model:{value:e.h5HomePage,callback:function(t){e.h5HomePage=t},expression:"h5HomePage"}}),a("el-button",{staticStyle:{"margin-left":"10px"},on:{click:function(t){return e.copyText(e.h5HomePage)}}},[e._v("复制")])],1),a("el-form-item",{attrs:{label:"PC访问链接:"}},[a("a",{staticStyle:{"text-decoration":"none"},attrs:{href:e.h5HomePage}},[e._v(e._s(e.h5HomePage))])]),a("el-form-item",{attrs:{label:"手机访问:"}},[a("img",{staticStyle:{width:"128px",height:"128px"},attrs:{id:"qrcode"}})])],1)],1)])}),[],!1,null,"013954d2",null);t.default=i.exports},a649:function(e,t,a){"use strict";a("b45e")},b45e:function(e,t,a){}}]);