(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-shop-djqQm"],{"02cb":function(t,e,o){"use strict";var r=o("dbce");Object.defineProperty(e,"__esModule",{value:!0}),e.confirm=i,e.couponsOrder=a,e.getCouponsList=u,e.order_comment=s,e.product=d,e.express_query=l,e.upload=c,e.orderList=f,e.orderDetail=h,e.orderCancel=g,e.orderDel=p,e.refund=v,e.refundReason=m,e.orderTake=b,e.orderPay=w,e.createOrderkey=y,e.computedOrderkey=T,e.view_order=C;var n=r(o("4bb5"));function i(t){return(0,n.default)({url:"/api/order/confirm",method:"post",data:t})}function a(t,e,o){return(0,n.default)({url:"/api/coupons/order/"+e+"/"+o,method:"get",data:t})}function u(t,e){return(0,n.default)({url:"/api/coupons/user/"+e,method:"get",data:t})}function s(t){return(0,n.default)({url:"/api/order/comment",method:"post",data:t})}function d(t){return(0,n.default)({url:"/api/order/product",method:"post",data:t})}function l(t){return(0,n.default)({url:"/api/order/express_query",method:"get",data:t})}function c(t){return(0,n.upFilse)({url:"/api/upload/image",method:"post",data:t})}function f(t){return(0,n.default)({url:"/api/order/list",method:"get",data:t})}function h(t,e){return(0,n.default)({url:"/api/order/detail/"+e,method:"get",data:t})}function g(t){return(0,n.default)({url:"/api/order/cancel",method:"post",data:t})}function p(t){return(0,n.default)({url:"/api/order/del",method:"get",data:t})}function v(t){return(0,n.default)({url:"/api/order/refund/verify",method:"post",data:t})}function m(t){return(0,n.default)({url:"/api/order/refund/reason",method:"get",data:t})}function b(t){return(0,n.default)({url:"/api/order/take",method:"post",data:t})}function w(t){return(0,n.default)({url:"/api/order/pay",method:"post",data:t})}function y(t,e){return(0,n.default)({url:"/api/order/create/"+e,method:"post",data:t})}function T(t){return(0,n.default)({url:"/api/order/computed/"+t.orderkey,method:"post",data:t})}function C(t){return(0,n.default)({url:"/api/order/view_order",method:"get",data:t})}},"0991":function(t,e,o){"use strict";var r=o("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=r(o("e127")),i=o("02cb"),a=o("b0c9"),u={components:{tkiQrcode:n.default},filters:{showTime:function(t){var e="";if(0==t&&(e="永久有效"),t){var o=new Date(1e3*t),r=o.getFullYear(),n=o.getMonth()+1,i=o.getDate();o.getHours(),o.getMinutes(),o.getSeconds();e="有效期至:"+r+"年"+n+"月"+i+"日",console.log(e)}return e}},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,i.view_order)({order_id:this.id}).then((function(e){var o=e.data;t.list=o.coupon,console.log(t.list)}))},qrR:function(){},getYhqDetail:function(){var t=this;(0,a.getYhqDetail)({code:t.code}).then((function(e){console.log(e),t.list.push(e.data)}))}}};e.default=u},"16aa":function(t,e,o){"use strict";var r;o.d(e,"b",(function(){return n})),o.d(e,"c",(function(){return i})),o.d(e,"a",(function(){return r}));var n=function(){var t=this,e=t.$createElement,o=t._self._c||e;return o("v-uni-view",{staticClass:"tki-qrcode"},[o("v-uni-canvas",{staticClass:"tki-qrcode-canvas",style:{width:t.cpSize+"px",height:t.cpSize+"px"},attrs:{"canvas-id":t.cid}}),o("v-uni-image",{directives:[{name:"show",rawName:"v-show",value:t.show,expression:"show"}],style:{width:t.cpSize+"px",height:t.cpSize+"px"},attrs:{src:t.result}})],1)},i=[]},3928:function(t,e,o){"use strict";var r=o("a940"),n=o.n(r);n.a},"3f43":function(t,e,o){"use strict";o("cb29"),o("a9e3"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r={};(function(){function t(t){var e,o,r;return t<128?[t]:t<2048?(e=192+(t>>6),o=128+(63&t),[e,o]):(e=224+(t>>12),o=128+(t>>6&63),r=128+(63&t),[e,o,r])}function e(e){for(var o=[],r=0;r=7&&this.setupTypeNumber(!0),this.mapData(this.dataCache,t)},setupPositionProbePattern:function(t,e){for(var o=-1;o<=7;o++)if(!(t+o<=-1||this.moduleCount<=t+o))for(var r=-1;r<=7;r++)e+r<=-1||this.moduleCount<=e+r||(this.modules[t+o][e+r]=0<=o&&o<=6&&(0==r||6==r)||0<=r&&r<=6&&(0==o||6==o)||2<=o&&o<=4&&2<=r&&r<=4)},createQrcode:function(){for(var t=0,e=0,o=null,r=0;r<8;r++){this.makeImpl(r);var n=a.getLostPoint(this);(0==r||t>n)&&(t=n,e=r,o=this.modules)}this.modules=o,this.setupTypeInfo(!1,e),this.typeNumber>=7&&this.setupTypeNumber(!1)},setupTimingPattern:function(){for(var t=8;t>o&1);this.modules[Math.floor(o/3)][o%3+this.moduleCount-8-3]=r,this.modules[o%3+this.moduleCount-8-3][Math.floor(o/3)]=r}},setupTypeInfo:function(t,e){for(var o=n[this.errorCorrectLevel]<<3|e,r=a.getBCHTypeInfo(o),i=0;i<15;i++){var u=!t&&1==(r>>i&1);i<6?this.modules[i][8]=u:i<8?this.modules[i+1][8]=u:this.modules[this.moduleCount-15+i][8]=u;u=!t&&1==(r>>i&1);i<8?this.modules[8][this.moduleCount-i-1]=u:i<9?this.modules[8][15-i-1+1]=u:this.modules[8][15-i-1]=u}this.modules[this.moduleCount-8][8]=!t},createData:function(){var t=new c,e=this.typeNumber>9?16:8;t.put(4,4),t.put(this.utf8bytes.length,e);for(var r=0,n=this.utf8bytes.length;r=8*this.totalDataCount)break;if(t.put(o.PAD0,8),t.length>=8*this.totalDataCount)break;t.put(o.PAD1,8)}return this.createBytes(t)},createBytes:function(t){for(var e=0,o=0,r=0,n=this.rsBlock.length/3,i=new Array,u=0;u=0?y.get(T):0}}var C=new Array(this.totalDataCount),P=0;for(u=0;u0;u-=2){6==u&&u--;while(1){for(var s=0;s<2;s++)if(null==this.modules[r][u-s]){var d=!1;i>>n&1));var l=a.getMask(e,r,u-s);l&&(d=!d),this.modules[r][u-s]=d,n--,-1==n&&(i++,n=7)}if(r+=o,r<0||this.moduleCount<=r){r-=o,o=-o;break}}}}},o.PAD0=236,o.PAD1=17;for(var n=[1,0,3,2],i={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7},a={PATTERN_POSITION_TABLE:[[],[6,18],[6,22],[6,26],[6,30],[6,34],[6,22,38],[6,24,42],[6,26,46],[6,28,50],[6,30,54],[6,32,58],[6,34,62],[6,26,46,66],[6,26,48,70],[6,26,50,74],[6,30,54,78],[6,30,56,82],[6,30,58,86],[6,34,62,90],[6,28,50,72,94],[6,26,50,74,98],[6,30,54,78,102],[6,28,54,80,106],[6,32,58,84,110],[6,30,58,86,114],[6,34,62,90,118],[6,26,50,74,98,122],[6,30,54,78,102,126],[6,26,52,78,104,130],[6,30,56,82,108,134],[6,34,60,86,112,138],[6,30,58,86,114,142],[6,34,62,90,118,146],[6,30,54,78,102,126,150],[6,24,50,76,102,128,154],[6,28,54,80,106,132,158],[6,32,58,84,110,136,162],[6,26,54,82,110,138,166],[6,30,58,86,114,142,170]],G15:1335,G18:7973,G15_MASK:21522,getBCHTypeInfo:function(t){var e=t<<10;while(a.getBCHDigit(e)-a.getBCHDigit(a.G15)>=0)e^=a.G15<=0)e^=a.G18<>>=1;return e},getPatternPosition:function(t){return a.PATTERN_POSITION_TABLE[t-1]},getMask:function(t,e,o){switch(t){case i.PATTERN000:return(e+o)%2==0;case i.PATTERN001:return e%2==0;case i.PATTERN010:return o%3==0;case i.PATTERN011:return(e+o)%3==0;case i.PATTERN100:return(Math.floor(e/2)+Math.floor(o/3))%2==0;case i.PATTERN101:return e*o%2+e*o%3==0;case i.PATTERN110:return(e*o%2+e*o%3)%2==0;case i.PATTERN111:return(e*o%3+(e+o)%2)%2==0;default:throw new Error("bad maskPattern:"+t)}},getErrorCorrectPolynomial:function(t){for(var e=new d([1],0),o=0;o3&&t.modules[n][u-1]&&t.modules[n][u-2]&&t.modules[n][u-3]&&t.modules[n][u-4]&&(o+=40)),n=5&&(o+=3+i-5),i=1),s&&r++}for(u=0;u3&&t.modules[n-1][u]&&t.modules[n-2][u]&&t.modules[n-3][u]&&t.modules[n-4][u]&&(o+=40)),a^s?i++:(a=s,i>=5&&(o+=3+i-5),i=1)}var l=Math.abs(100*r/e/e-50)/5;return o+=10*l,o}},u={glog:function(t){if(t<1)throw new Error("glog("+t+")");return u.LOG_TABLE[t]},gexp:function(t){while(t<0)t+=255;while(t>=256)t-=255;return u.EXP_TABLE[t]},EXP_TABLE:new Array(256),LOG_TABLE:new Array(256)},s=0;s<8;s++)u.EXP_TABLE[s]=1<=o){var i=u.glog(r[0])-u.glog(t.get(0));for(n=0;n9?2:1;if(this.utf8bytes.length+u>>7-t%8&1},put:function(t,e){for(var o=0;o>>e-o-1&1)},putBit:function(t){var e=Math.floor(this.length/8);this.buffer.length<=e&&this.buffer.push(0),t&&(this.buffer[e]|=128>>>this.length%8),this.length++}};var f=[];r=function(t){if(this.options={text:"",size:256,correctLevel:3,background:"#ffffff",foreground:"#000000",pdground:"#000000",image:"",imageSize:30,canvasId:t.canvasId,context:t.context,usingComponents:t.usingComponents,showLoading:t.showLoading,loadingText:t.loadingText},"string"===typeof t&&(t={text:t}),t)for(var e in t)this.options[e]=t[e];for(var r=null,n=(e=0,f.length);e1&&t.row<5&&t.col>1&&t.col<5||t.row>t.count-6&&t.row1&&t.col<5||t.row>1&&t.row<5&&t.col>t.count-6&&t.col1}},t._l(t.list,(function(e,n){return r("v-uni-swiper-item",{staticClass:"djq-wrap"},[r("v-uni-view",[r("v-uni-view",{staticClass:"djq-top flex f-d-c f-j-c"},[r("v-uni-view",{staticClass:"djq-name"},[t._v(t._s(e.coupon_title))]),r("v-uni-view",{staticClass:"djq-time"},[t._v(t._s(t._f("showTime")(e.end_time)))])],1),r("v-uni-view",{staticClass:"djq-body"},[1==e.status?r("v-uni-view",{staticClass:"used"},[r("v-uni-image",{attrs:{src:o("983e"),mode:""}})],1):t._e(),2==e.status?r("v-uni-view",{staticClass:"used"},[r("v-uni-image",{attrs:{src:o("ad02"),mode:""}})],1):t._e(),r("v-uni-view",{staticClass:"ewm"},[r("tki-qrcode",{ref:"qrcode",refInFor:!0,attrs:{cid:"aaa"+n,val:e.code,size:t.size,unit:t.unit,background:t.background,foreground:t.foreground,pdground:t.pdground,iconSize:t.iconSize,lv:t.lv,onval:t.onval,loadMake:t.loadMake,usingComponents:t.usingComponents},on:{result:function(e){arguments[0]=e=t.$handleEvent(e),t.qrR.apply(void 0,arguments)}}})],1),r("v-uni-view",{staticClass:"ewm-code"},[t._v(t._s(e.code))])],1)],1)],1)})),1)],1)},i=[]},ad02:function(t,e,o){t.exports=o.p+"static/img/ygq.db746fd3.png"},b0c9:function(t,e,o){"use strict";var r=o("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.store_cate=i,e.getStoreList=a,e.getStoreDetail=u,e.getYhqDetail=s,e.getGift=d,e.getCity=l;var n=r(o("4bb5"));function i(t){return(0,n.default)({url:"/api/store_cate",method:"get",data:t})}function a(t){return(0,n.default)({url:"/api/store_list",method:"get",data:t})}function u(t,e){return(0,n.default)({url:"/api/store_details/"+e,method:"get",data:t})}function s(t){return(0,n.default)({url:"/api/coupon_datalis",method:"get",data:t})}function d(t){return(0,n.default)({url:"/api/share",method:"post",data:t})}function l(t){return(0,n.default)({url:"/api/address",method:"get",data:t})}},bcf0:function(t,e,o){var r=o("24fb");e=r(!1),e.push([t.i,'@charset "UTF-8";\n/* 页面左右间距 */\n/* 文字尺寸 */\n/*文字颜色*/\n/* 边框颜色 */\n/*颜色*/\n/* 图片加载中颜色 */\n/* 行为相关颜色 */\n/* 功能栏字体大小 */\n/*功能栏左侧小图标*/uni-page-body[data-v-e628d6bc]{height:100%;background-color:#f9e24f}.box[data-v-e628d6bc]{width:%?696?%;margin:auto;height:%?1060?%}.djq-wrap[data-v-e628d6bc]{width:%?696?%;background-color:#fff;position:relative;margin:auto;margin-top:%?100?%}.djq-wrap .djq-top[data-v-e628d6bc]{height:%?185?%;background:#f5f5f5;overflow:hidden}.djq-wrap .djq-top .djq-name[data-v-e628d6bc]{padding:0 %?60?%;font-size:%?44?%;font-weight:700;text-align:center;color:#222}.djq-wrap .djq-top .djq-time[data-v-e628d6bc]{font-size:%?24?%;font-weight:500;color:#686868}.djq-wrap .djq-top[data-v-e628d6bc]::after, .djq-wrap .djq-top[data-v-e628d6bc]::before{content:"";height:%?120?%;width:%?120?%;border-radius:50%;position:absolute;top:%?-60?%;background-color:#f9e24f}.djq-wrap .djq-top[data-v-e628d6bc]::before{left:%?-60?%}.djq-wrap .djq-top[data-v-e628d6bc]::after{right:%?-60?%}.djq-wrap .djq-body[data-v-e628d6bc]{height:%?770?%;position:relative;padding-top:%?115?%}.djq-wrap .djq-body[data-v-e628d6bc]::after, .djq-wrap .djq-body[data-v-e628d6bc]::before{content:"";height:%?120?%;width:%?120?%;border-radius:50%;position:absolute;bottom:%?-60?%;background-color:#f9e24f}.djq-wrap .djq-body[data-v-e628d6bc]::before{left:%?-60?%}.djq-wrap .djq-body[data-v-e628d6bc]::after{right:%?-60?%}.djq-wrap .djq-body .used[data-v-e628d6bc]{position:absolute;top:%?0?%;right:%?0?%;z-index:99;height:%?440?%;width:%?440?%}.djq-wrap .djq-body .used uni-image[data-v-e628d6bc]{width:100%;height:100%}.djq-wrap .djq-body .ewm[data-v-e628d6bc]{width:%?440?%;height:%?440?%;margin:auto}.djq-wrap .djq-body .ewm-code[data-v-e628d6bc]{padding-top:%?55?%;font-size:%?44?%;font-weight:700;color:#333;text-align:center}body.?%PAGE?%[data-v-e628d6bc]{background-color:#f9e24f}',""]),t.exports=e},cb29:function(t,e,o){var r=o("23e7"),n=o("81d5"),i=o("44d2");r({target:"Array",proto:!0},{fill:n}),i("fill")},e127:function(t,e,o){"use strict";o.r(e);var r=o("16aa"),n=o("fba4");for(var i in n)"default"!==i&&function(t){o.d(e,t,(function(){return n[t]}))}(i);o("7a71");var a,u=o("f0c5"),s=Object(u["a"])(n["default"],r["b"],r["c"],!1,null,"6560465a",null,!1,r["a"],a);e["default"]=s.exports},eb76:function(t,e,o){var r=o("24fb");e=r(!1),e.push([t.i,".tki-qrcode[data-v-6560465a]{position:relative}.tki-qrcode-canvas[data-v-6560465a]{position:fixed;top:%?-99999?%;left:%?-99999?%;z-index:-99999}",""]),t.exports=e},fba4:function(t,e,o){"use strict";o.r(e);var r=o("5a7b"),n=o.n(r);for(var i in r)"default"!==i&&function(t){o.d(e,t,(function(){return r[t]}))}(i);e["default"]=n.a},fca5:function(t,e,o){var r=o("eb76");"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var n=o("4f06").default;n("77a4cf78",r,!0,{sourceMap:!1,shadowMode:!1})}}]);