(window.webpackJsonp=window.webpackJsonp||[]).push([[338],{"3671":function(t,e,a){"use strict";a.r(e);var s={"name":"AccessCode","components":{},"data":function data(){return{"qrCodeData":{},"qrCodeText":"","codeImgUrl":""}},"mounted":function mounted(){this.qrCodeData=this.$route.query,this.initCode()},"methods":{"initCode":function initCode(){var t=this;this.$api.shareHomeBusinessC.getOrderQRCode({"orderNo":this.$route.query.tradeNo||this.$route.query.orderNo,"orderType":"SHARING_MAIN"}).then((function(e){console.log("res",e),0===e.code&&(t.qrCodeText=e.data.verificationCode,t.codeImgUrl=e.data.codeUrl)}))}}},o=a(3),r=Object(o.a)(s,(function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",[a("gm-m-container",[a("gm-m-header",[a("gm-m-nav-header",{"attrs":{"slotsShow":["center"]},"scopedSlots":t._u([{"key":"dynamicsCenter","fn":function(){return[t._v("\n          核销码\n        ")]},"proxy":!0}])})],1),t._v(" "),a("gm-m-main",{"attrs":{"bgColor":".gmui-bg-c6"}},[a("gm-m-card-container",[a("div",{"staticClass":"text-c3 text-3xl text-fw5"},[t._v(t._s(t.qrCodeData.skuName))]),t._v(" "),a("div",{"staticClass":"mt-12 text-line"}),t._v(" "),a("div",{"staticClass":"flex flex-col mt-12"},[a("span",{"staticClass":"text-c text-2xl mt-4"},[t._v(t._s(t.qrCodeData.mallName)+"-"+t._s(t.qrCodeData.shopName)+"-"+t._s(t.qrCodeData.skuName))])]),t._v(" "),a("div",{"staticClass":"mt-12 text-line"}),t._v(" "),a("div",{"staticClass":"flex flex-col align-center mt-12 mb-12"},[a("img",{"staticStyle":{"width":"136px","height":"136px"},"attrs":{"src":t.codeImgUrl}}),t._v(" "),a("span",{"staticClass":"text-c3 text-2xl mt-12"},[t._v(t._s(t.qrCodeText))]),t._v(" "),a("span",{"staticClass":"text-c2 text-xl mt-4"},[t._v("出入场地请出示")])])])],1)],1)],1)}),[],!1,null,null,null);e.default=r.exports}}]);