(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/shop/djqQm"],{"27b5":function(t,n,e){"use strict";var o=e("5a6a"),i=e.n(o);i.a},"4c56":function(t,n,e){"use strict";e.d(n,"b",(function(){return i})),e.d(n,"c",(function(){return c})),e.d(n,"a",(function(){return o}));var o={tkiQrcode:function(){return Promise.all([e.e("common/vendor"),e.e("components/tki-qrcode/tki-qrcode")]).then(e.bind(null,"e127"))}},i=function(){var t=this,n=t.$createElement,e=(t._self._c,t.__map(t.list,(function(n,e){var o=t.__get_orig(n),i=t._f("showTime")(n.end_time);return{$orig:o,f0:i}})));t.$mp.data=Object.assign({},{$root:{l0:e}})},c=[]},"5a6a":function(t,n,e){},"83b4":function(t,n,e){"use strict";e.r(n);var o=e("cc82"),i=e.n(o);for(var c in o)"default"!==c&&function(t){e.d(n,t,(function(){return o[t]}))}(c);n["default"]=i.a},a72e:function(t,n,e){"use strict";e.r(n);var o=e("4c56"),i=e("83b4");for(var c in i)"default"!==c&&function(t){e.d(n,t,(function(){return i[t]}))}(c);e("27b5");var a,r=e("f0c5"),u=Object(r["a"])(i["default"],o["b"],o["c"],!1,null,"5e633f8a",null,!1,o["a"],a);n["default"]=u.exports},ac50:function(t,n,e){"use strict";(function(t){e("4c14");o(e("66fd"));var n=o(e("a72e"));function o(t){return t&&t.__esModule?t:{default:t}}wx.__webpack_require_UNI_MP_PLUGIN__=e,t(n.default)}).call(this,e("543d")["createPage"])},cc82:function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o=e("02cb"),i=e("b0c9"),c=function(){Promise.all([e.e("common/vendor"),e.e("components/tki-qrcode/tki-qrcode")]).then(function(){return resolve(e("e127"))}.bind(null,e)).catch(e.oe)},a={components:{tkiQrcode:c},filters:{showTime:function(t){var n="";if(0==t&&(n="永久有效"),t){var e=new Date(1e3*t),o=e.getFullYear(),i=e.getMonth()+1,c=e.getDate();e.getHours(),e.getMinutes(),e.getSeconds();n="有效期至："+o+"年"+i+"月"+c+"日",console.log(n)}return n}},data:function(){return{code:"",list:[],id:"",cid:"tki-qrcode-canvas",size:440,unit:"upx",show:!0,background:"#ffffff",foreground:"#333333",pdground:"#333333",icon:"",iconSize:40,lv:3,onval:!0,loadMake:!0,usingComponents:!1,showLoading:!1,loadingText:"二维码生成中",src:"",ratio:1,ctxSrc:"",loading:!0}},onLoad:function(t){t.id&&(this.id=t.id,this.loadData()),t.code&&(this.code=t.code,this.getYhqDetail())},onShow:function(){},onReachBottom:function(){},onReady:function(){},methods:{loadData:function(){var t=this;(0,o.view_order)({order_id:this.id}).then((function(n){var e=n.data;t.list=e.coupon,console.log(t.list)}))},qrR:function(){},getYhqDetail:function(){var t=this;(0,i.getYhqDetail)({code:t.code}).then((function(n){console.log(n),t.list.push(n.data)}))}}};n.default=a}},[["ac50","common/runtime","common/vendor"]]]);