(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-c4f3edae"],{"11a7":function(t,s,e){},"3b66":function(t,s,e){},"49ba":function(t,s,e){"use strict";e("3b66")},"99bb":function(t,s,e){"use strict";e("11a7")},f9d3:function(t,s,e){"use strict";e.r(s);var i=function(){var t=this,s=t._self._c;t._self._setupProxy;return s("div",{staticClass:"bg-oranage"},[s("div",{staticClass:"code-box"},[s("div",{staticClass:"code-title"},[s("p",[t._v(t._s(t.voucherMsg.name))]),s("p",[t._v(t._s(t.voucherMsg.voucher))])]),s("div",{staticClass:"code-content"},["1"===t.outType?s("p",[t._v("请将入场码对准闸机扫描处")]):t._e(),"2"===t.outType?s("p",[t._v("请将出场码对准闸机扫描处")]):t._e(),s("div",{staticClass:"code-qrcode"},[s("div",{staticClass:"qrcode"},[1===t.voucherMsg.status?s("div",{ref:"qrCode",attrs:{id:"qrCode"}}):t._e(),0===t.voucherMsg.status?s("div",{staticClass:"font-303"},[t._v(t._s(t.voucherMsg.status_info))]):t._e()])])])]),s("div",{staticClass:"detail-box"},[s("div",{staticClass:"detail-item"},[s("p",[t._v("适用时间")]),s("p",[t._v(t._s(t.voucherMsg.session_str))])]),s("div",{staticClass:"detail-item"},[s("p",[t._v("有效次数")]),s("p",[t._v(t._s(t.voucherMsg.left_valid_num)+"次")])]),s("div",{staticClass:"detail-item"},[s("p",[t._v("有效时长")]),s("p",[t._v(t._s(t.voucherMsg.left_valid_time_str))])]),s("div",{staticClass:"detail-item"},[s("p",[t._v("适用场馆")]),s("p",[t._v(t._s(t.voucherMsg.stadium_name))])])])])},a=[],c=e("9ab4"),o=e("60a3"),r=e("d044"),d=e.n(r),u=e("fb4e");let h=class extends o["d"]{constructor(){super(...arguments),this.voucherMsg={},this.voucher="",this.outType="",this.type="",this.stadium_id="",this.qrcode=null}created(){this.stadium_id="10168",this.voucher="1301210513869165868",this.outType="1",this.type="1",this.getCode()}async getCode(){const t={voucher:this.voucher,type:this.type,stadium_id:this.stadium_id},s=Object(u["a"])(t);s.then(t=>{this.voucherMsg=t.data.data,this.voucher=this.voucherMsg.voucher,this.voucherMsg.status&&1===this.voucherMsg.status&&(this.qrcode=new d.a(this.$refs.qrCode,{text:this.voucher,width:180,height:180,colorDark:"#333333",colorLight:"transparent"}))})}};h=Object(c["a"])([o["a"]],h);var n=h,v=n,_=(e("49ba"),e("99bb"),e("2877")),l=Object(_["a"])(v,i,a,!1,null,"6a720821",null);s["default"]=l.exports},fb4e:function(t,s,e){"use strict";e.d(s,"c",(function(){return a})),e.d(s,"a",(function(){return c})),e.d(s,"b",(function(){return o}));var i=e("b32d");const a=t=>Object(i["a"])({url:"/enterAdmin/wxVoucher/myEnterRecord",method:"post",data:t}),c=t=>Object(i["a"])({url:"/enterAdmin/wxVoucher/code",method:"post",data:t}),o=t=>Object(i["a"])({url:"/wttCms/wxMember/enterCode",method:"post",data:t})}}]);
//# sourceMappingURL=chunk-c4f3edae.242dabd8.js.map