(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-mine-order"],{"0353":function(t,e,r){r("bf0f"),r("2797"),r("4db2"),r("c976"),r("4d8f"),r("7b97"),r("668a"),r("c5b7"),r("8ff5"),r("2378"),r("641a"),r("64e0"),r("cce3"),r("efba"),r("d009"),r("bd7d"),r("7edd"),r("d798"),r("f547"),r("5e54"),r("b60a"),r("8c18"),r("12973"),r("f991"),r("198e"),r("8557"),r("63b1"),r("1954"),r("1cf1"),r("f7a5"),r("7a76"),r("c9b5");varn=r("16b0"),i=r("c48a"),o=r("9b21"),a=r("3a2a"),s=r("71da"),u=r("edfd"),c=r("7ef9"),d=r("0feb"),l=r("8e9f"),f=r("7a49"),h=r("f5db"),p=r("e307"),g=r("9956");function_(t,e,r){varn,i,o=t.size,a=h.getEncodedBits(e,r);for(n=0;n<15;n++)i=1===(a>>n&1),n<6?t.set(n,8,i,!0):n<8?t.set(n+1,8,i,!0):t.set(o-15+n,8,i,!0),n<8?t.set(8,o-n-1,i,!0):n<9?t.set(8,15-n-1+1,i,!0):t.set(8,15-n-1,i,!0);t.set(o-8,8,1,!0)}functionb(t,e,r){vari=newo;r.forEach((function(e){i.put(e.mode.bit,4),i.put(e.getLength(),p.getCharCountIndicator(e.mode,t)),e.write(i)}));vara=n.getSymbolTotalCodewords(t),s=d.getTotalCodewordsCount(t,e),u=8*(a-s);i.getLengthInBits()+4<=u&&i.put(0,4);while(i.getLengthInBits()%8!==0)i.putBit(0);for(varc=(u-i.getLengthInBits())/8,f=0;f<c;f++)i.put(f%2?17:236,8);returnfunction(t,e,r){for(vari=n.getSymbolTotalCodewords(e),o=d.getTotalCodewordsCount(e,r),a=i-o,s=d.getBlocksCount(e,r),u=i%s,c=s-u,f=Math.floor(i/s),h=Math.floor(a/s),p=h+1,g=f-h,_=newl(g),b=0,v=newArray(s),w=newArray(s),y=0,m=newUint8Array(t.buffer),E=0;E<s;E++){varA=E<c?h:p;v[E]=m.slice(b,b+A),w[E]=_.encode(v[E]),b+=A,y=Math.max(y,A)}varx,k,C=newUint8Array(i),R=0;for(x=0;x<y;x++)for(k=0;k<s;k++)x<v[k].length&&(C[R++]=v[k][x]);for(x=0;x<g;x++)for(k=0;k<s;k++)C[R++]=w[k][x];returnC}(i,t,e)}functionv(t,e,r,i){varo;if(Array.isArray(t))o=g.fromArray(t);else{if("string"!==typeoft)thrownewError("Invalid data");vard=e;if(!d){varl=g.rawSplit(t);d=f.getBestVersionForData(l,r)}o=g.fromString(t,d||40)}varh=f.getBestVersionForData(o,r);if(!h)thrownewError("The amount of data is too big to be stored in a QR Code");if(e){if(e<h)thrownewError("\nThe chosen QR Code version cannot contain this amount of data.\nMinimum version required to store current data is: "+h+".\n")}elsee=h;varp=b(e,r,o),v=n.getSymbolSize(e),w=newa(v);returnfunction(t,e){for(varr=t.size,n=u.getPositions(e),i=0;i<n.length;i++)for(varo=n[i][0],a=n[i][1],s=-1;s<=7;s++)if(!(o+s<=-1||r<=o+s))for(varc=-1;c<=7;c++)a+c<=-1||r<=a+c||(s>=0&&s<=6&&(0===c||6===c)||c>=0&&c<=6&&(0===s||6===s)||s>=2&&s<=4&&c>=2&&c<=4?t.set(o+s,a+c,!0,!0):t.set(o+s,a+c,!1,!0))}(w,e),function(t){for(vare=t.size,r=8;r<e-8;r++){varn=r%2===0;t.set(r,6,n,!0),t.set(6,r,n,!0)}}(w),function(t,e){for(varr=s.getPositions(e),n=0;n<r.length;n++)for(vari=r[n][0],o=r[n][1],a=-2;a<=2;a++)for(varu=-2;u<=2;u++)-2===a||2===a||-2===u||2===u||0===a&&0===u?t.set(i+a,o+u,!0,!0):t.set(i+a,o+u,!1,!0)}(w,e),_(w,r,0),e>=7&&function(t,e){for(varr,n,i,o=t.size,a=f.getEncodedBits(e),s=0;s<18;s++)r=Math.floor(s/3),n=s%3+o-8-3,i=1===(a>>s&1),t.set(r,n,i,!0),t.set(n,r,i,!0)}(w,e),function(t,e){for(varr=t.size,n=-1,i=r-1,o=7,a=0,s=r-1;s>0;s-=2){6===s&&s--;while(1){for(varu=0;u<2;u++)if(!t.isReserved(i,s-u)){varc=!1;a<e.length&&(c=1===(e[a]>>>o&1)),t.set(i,s-u,c),o--,-1===o&&(a++,o=7)}if(i+=n,i<0||r<=i){i-=n,n=-n;break}}}}(w,p),isNaN(i)&&(i=c.getBestMask(w,_.bind(null,w,r))),c.applyMask(i,w),_(w,r,i),{modules:w,version:e,errorCorrectionLevel:r,maskPattern:i,segments:o}}e.create=function(t,e){if("undefined"===typeoft||""===t)thrownewError("No input text");varr,o,a=i.M;return"undefined"!==typeofe&&(a=i.from(e.errorCorrectionLevel,i.M),r=f.from(e.version),o=c.from(e.maskPattern),e.toSJISFunc&&n.setToSJISFunction(e.toSJISFunc)),v(t,r,a,o)}},"0feb":function(t,e,r){varn=r("c48a"),i=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],o=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];e.getBlocksCount=function(t,e){switch(e){casen.L:returni[4*(t-1)+0];casen.M:returni[4*(t-1)+1];casen.Q:returni[4*(t-1)+2];casen.H:returni[4*(t-1)+3];default:return}},e.getTotalCodewordsCount=function(t,e){switch(e){casen.L:returno[4*(t-1)+0];casen.M:returno[4*(t-1)+1];casen.Q:returno[4*(t-1)+2];casen.H:returno[4*(t-1)+3];default:return}}},"126a":function(t,e,r){varn=r("60a1");n.__esModule&&(n=n.default),"string"===typeofn&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);vari=r("967d").default;i("43a3c0ac",n,!0,{sourceMap:!1,shadowMode:!1})},"16b0":function(t,e,r){varn;r("7a76"),r("c9b5");vari=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];e.getSymbolSize=function(t){if(!t)thrownewError('"version" cannot be null or undefined');if(t<1||t>40)thrownewError('"version" should be in range from 1 to 40');return4*t+17},e.getSymbolTotalCodewords=function(t){returni[t]},e.getBCHDigit=function(t){vare=0;while(0!==t)e++,t>>>=1;returne},e.setToSJISFunction=function(t){if("function"!==typeoft)thrownewError('"toSJISFunc" is not a valid function.');n=t},e.isKanjiModeEnabled=function(){return"undefined"!==typeofn},e.toSJIS=function(t){returnn(t)}},"1c66":function(t,e,r){"use strict";r.r(e);varn=r("d88c"),i=r("5098");for(varoini)["default"].indexOf(o)<0&&function(t){r.d(e,t,(function(){returni[t]}))}(o);r("5d17");vara=r("828b"),s=Object(a["a"])(i["default"],n["b"],n["c"],!1,null,"9f2666a6",null,!1,n["a"],void0);e["default"]=s.exports},"28ae":function(t,e,r){"use strict";r.d(e,"b",(function(){returnn})),r.d(e,"c",(function(){returni})),r.d(e,"a",(function(){}));varn=function(){vart=this,e=t.$createElement,r=t._self._c||e;returnr("v-uni-view",{staticClass:"full-width full-height",staticStyle:{margin:"auto"},style:{width:t.$tool.isPc()?t.$base.isPcWidth+"px":"100%"}},[r("myhead",{attrs:{worksid:0,title:t.myheadtext,color:"#fff",titleShow:!0,backShow:!0,background:"none"}}),t.isReady?r("firework",{ref:"firework",staticStyle:{position:"fixed","z-index":"9999"}}):t._e(),r("v-uni-scroll-view",{staticStyle:{height:"100%","overflow-y":"scroll",position:"relative",background:"#131319"},style:{width:t.$tool.isPc()?t.$base.isPcWidth+"px":"100%"},attrs:{"scroll-y":!0}},[t.good?r("v-uni-view",{staticClass:"crate-wrapper",style:{width:t.$tool.isPc()?t.$base.isPcWidth+"px":"100%"}},[r("v-uni-view",{staticClass:"brush",style:{transform:"translateX("+t.activebrushX+"px) scale("+t.transformscale+")"}},[r("v-uni-view",{staticClass:"crate",class:{crateactive:t.crateactivestate},style:{width:t.data.editorWidth+"px",height:t.data.editorHeight+"px",transform:"rotateX(-15deg) rotateY("+t.coordinate.numberY+"deg)"}},[r("v-uni-view",{staticClass:"side front"},[r("v-uni-image",{staticStyle:{position:"absolute",width:"100%",height:"98%",left:"0",top:"0"},attrs:{src:t.background_surface_image+"?x-oss-process=image/resize,lfit,w_1500",mode:""}}),r("v-uni-image",{staticStyle:{position:"absolute",width:"100%",height:"100%",left:"0",top:"0"},attrs:{src:t.good.icon?t.good.icon:t.good.image,mode:"aspectFit"}}),r("v-uni-image",{staticStyle:{position:"absolute",width:"100%",height:"100%",left:"0",top:"0"},attrs:{src:t.good.goods.front_image_old,mode:"aspectFit"}})],1)],1),r("v-uni-view",{staticStyle:{"text-align":"center"},style:{opacity:t.titlestate?1:0}},[r("v-uni-view",{staticStyle:{"font-size":"35upx","font-weight":"bold"}},[r("v-uni-text",{staticStyle:{color:"#FFFFFF"}},[t._v(t._s(t.good.goods.alias_name||"**"))])],1),r("v-uni-view",{staticStyle:{"margin-top":"8upx"}},[r("v-uni-text",{staticStyle:{color:"#F56364","font-size":"42upx"}},[t._v(t._s(t.currency)),t.good?r("v-uni-text",{staticStyle:{"font-size":"42upx","margin-left":"6upx"}},[t._v(t._s(t.add))]):t._e()],1)],1)],1)],1)],1):t._e()],1),r("v-uni-view",{staticStyle:{background:"#64DD17",height:"100upx",position:"fixed",bottom:"0","z-index":"999"},style:{width:t.$tool.isPc()?t.$base.isPcWidth+"px":"100%"}},[r("v-uni-view",{staticStyle:{background:"#282932",height:"100upx",position:"fixed",width:"100%",bottom:"0","z-index":"999"},style:{width:t.$tool.isPc()?t.$base.isPcWidth+"px":"100%"}},[r("v-uni-view",{staticStyle:{width:"100%",height:"100upx",background:"linear-gradient(-90deg, #64DD17, #64DD17)","font-size":"36upx","font-weight":"400","text-align":"center","line-height":"100upx",float:"right",color:"#FFFFFF"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.commitOrder()}}},[t._v(t._s(t.$i18n.messages[t.$i18n.locale]["支付"]))])],1)],1),r("uni-popup",{ref:"showPayChange",staticStyle:{position:"fixed","z-index":"9999"},attrs:{type:"center"}},[r("v-uni-view",{staticStyle:{"border-radius":"20upx",background:"#fff",width:"480upx","padding-top":"60upx","padding-bottom":"60upx"}},[r("v-uni-view",{staticClass:"experiencebutton",staticStyle:{width:"300upx",height:"90upx","line-height":"90upx","border-radius":"53upx","font-size":"30upx",background:"#64DD17",color:"#fff","text-align":"center","margin-left":"90upx"},attrs:{"hover-class":"loginBtn-hover"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.jHPay()}}},[t._v("jH "+t._s(t.$i18n.messages[t.$i18n.locale]["支付"]))]),r("v-uni-view",{staticClass:"experiencebutton",staticStyle:{width:"300upx",height:"90upx","line-height":"90upx","border-radius":"53upx","font-size":"30upx",background:"#64DD17",color:"#fff","text-align":"center","margin-top":"40upx","margin-left":"90upx"},attrs:{"hover-class":"loginBtn-hover"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.yGPay()}}},[t._v("yG"+t._s(t.$i18n.messages[t.$i18n.locale]["支付"]))])],1)],1),r("uni-popup",{ref:"showPayQRCode",staticStyle:{position:"fixed","z-index":"9999"},attrs:{type:"center"}},[r("v-uni-view",{staticStyle:{"border-radius":"20upx",background:"#fff",width:"550upx",height:"550upx"}},[r("v-uni-view",{staticStyle:{width:"100%","padding-top":"40upx",height:"90upx","font-size":"40upx","font-weight":"bold",color:"#000","text-align":"center",margin:"auto"}},[t._v(t._s(t.$i18n.messages[t.$i18n.locale]["扫码支付"]))]),r("v-uni-image",{staticStyle:{height:"350upx",width:"350upx","margin-left":"100upx"},attrs:{src:t.qrCodeSrc}})],1)],1)],1)},i=[]},"28d0":function(t,e,r){e.nextTick=function(t){vare=Array.prototype.slice.call(arguments);e.shift(),setTimeout((function(){t.apply(null,e)}),0)},e.platform=e.arch=e.execPath=e.title="browser",e.pid=1,e.browser=!0,e.env={},e.argv=[],e.binding=function(t){thrownewError("No such module. (Possibly not yet loaded)")},function(){vart,n="/";e.cwd=function(){returnn},e.chdir=function(e){t||(t=r("a3fc")),n=t.resolve(e,n)}}(),e.exit=e.kill=e.umask=e.dlopen=e.uptime=e.memoryUsage=e.uvCounters=function(){},e.features={}},"30f2":function(t,e,r){"use strict";varn=r("126a"),i=r.n(n);i.a},"3a2a":function(t,e,r){functionn(t){if(!t||t<1)thrownewError("BitMatrix size must be defined and greater than 0");this.size=t,this.data=newUint8Array(t*t),this.reservedBit=newUint8Array(t*t)}r("7a76"),r("c9b5"),r("4db2"),r("bf0f"),r("c976"),r("4d8f"),r("7b97"),r("668a"),r("c5b7"),r("8ff5"),r("2378"),r("641a"),r("64e0"),r("cce3"),r("efba"),r("d009"),r("bd7d"),r("7edd"),r("d798"),r("f547"),r("5e54"),r("b60a"),r("8c18"),r("12973"),r("f991"),r("198e"),r("8557"),r("63b1"),r("1954"),r("1cf1"),n.prototype.set=function(t,e,r,n){vari=t*this.size+e;this.data[i]=r,n&&(this.reservedBit[i]=!0)},n.prototype.get=function(t,e){returnthis.data[t*this.size+e]},n.prototype.xor=function(t,e,r){this.data[t*this.size+e]^=r},n.prototype.isReserved=function(t,e){returnthis.reservedBit[t*this.size+e]},t.exports=n},"3b6a":function(t,e,r){r("f7a5"),r("7a76"),r("c9b5"),r("bf0f"),r("ab80");varn=r("d38e"),i=r("0353"),o=r("4747"),a=r("a633");functions(t,e,r,o,a){vars=[].slice.call(arguments,1),u=s.length,c="function"===typeofs[u-1];if(!c&&!n())thrownewError("Callback required as last argument");if(!c){if(u<1)thrownewError("Too few arguments provided");return1===u?(r=e,e=o=void0):2!==u||e.getContext||(o=r,r=e,e=void0),newPromise((function(n,a){try{vars=i.create(r,o);n(t(s,e,o))}catch(u){a(u)}}))}if(u<2)thrownewError("Too few arguments provided");2===u?(a=r,r=e,e=o=void0):3===u&&(e.getContext&&"undefined"===typeofa?(a=o,o=void0):(a=o,o=r,r=e,e=void0));try{vard=i.create(r,o);a(null,t(d,e,o))}catch(l){a(l)}}e.create=i.create,e.toCanvas=s.bind(null,o.render),e.toDataURL=s.bind(null,o.renderToDataURL),e.toString=s.bind(null,(function(t,e,r){returna.render(t,r)}))},"3f7e":function(t,e,r){"use strict";(function(t){r("6a54");varn=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void0,r("4626"),r("5ac7");vari=n(r("2634")),o=n(r("2fdc")),a=n(r("3ab6")),s=n(r("ddbb")),u=(n(r("92ce")),n(r("47d6")),n(r("1c66"))),c=n(r("cb87")),d=n(r("3b6a")),l={components:{uniPopup:s.default,firework:u.default,myhead:c.default},computed:{add:function(t,e){returnnull!=this.good&&null!=this.coupon?void0!=this.coupon.discount_amount?(Math.round(100*this.good.sales_price)+Math.round(100*this.good.goods.sales_price)-Math.round(100*this.coupon.discount_amount))/100:(Math.round(100*this.good.sales_price)+Math.round(100*this.good.goods.sales_price))/100:""},multiple:function(t,e){returnMath.round(100*t)*Math.round(100*e)/1e4}},data:function(){return{coupon_flag_desc:null,type:"bottom",tabletext:!0,good:null,equipmentlist:[],machine_id:null,machine_item:null,goods_id:null,works_id:null,sizetext_id:null,sizetext:null,give_sizetext:null,give_dict_id:null,sizestock:null,channel_no:null,dict_id:null,coupon:null,stock:null,machine_pages:!0,myadress:{},loading:!1,orderIdone:null,orderIdtwo:null,resultpayone:null,resultpaytwo:null,listtmplIds:[],sn:null,activebrushX:-400,crateactivestate:!1,titlestate:!1,isReady:!1,data:{windowWidth:0,windowHeight:0,pixelRate:0,editorWidth:0,editorHeight:0,render_cove_width:null,render_cove_height:null,render_left:null,render_top:null},teststate:!1,translateX:0,coordinate:{startX:0,startY:0,touchMoveX:0,touchMoveY:0,numberY:0,state:!1},transformscale:.92,key:null,background_surface_image:null,url_pay:"",currency:"$",support_paypal:0,support_oversea:0,userAddressData:null,machineDetail:null,isCustomize:!1,titleName:"",customize_size_id:"",myheadtext:"",support_yunguanjia:0,support_juhe:0,qrCodeSrc:""}},methods:{generateQRCode:function(e){varr=this;return(0,o.default)((0,i.default)().mark((functionn(){varo;return(0,i.default)().wrap((function(n){while(1)switch(n.prev=n.next){case0:returnn.prev=0,n.next=3,d.default.toDataURL(e);case3:o=n.sent,r.qrCodeSrc=o,r.$nextTick((function(){r.$refs["showPayQRCode"].open()})),n.next=11;break;case8:n.prev=8,n.t0=n["catch"](0),t.error("生成二维码失败:",n.t0);case11:case"end":returnn.stop()}}),n,null,[[0,8]])})))()},showPayChangeClose:function(){this.$refs["showPayChange"].close()},showPayPop:function(){vart=this;this.$nextTick((function(){t.$refs["showPayChange"].open()}))},self_help:function(){vart=this,e="";null!=this.good&&null!=this.good.goods&&(e=this.good.goods.alias_name);varr={s:"Order.create",type:this.key||2,machine_id:this.machine_id,goods_id:this.goods_id,works_id:this.works_id,channel_no:this.channel_no,dict_id:null,goods_size:null,works_num:null,shop_id:this.tabletext?this.machine_item.shop_id:null,sn:null,coupon_id:null,language:this._i18n.locale,support_yunguanjia:this.support_yunguanjia,support_juhe:this.support_juhe,goods_specs:e,terminal:4,create_time:Date.parse(newDate)/1e3};void0!=this.coupon.ids&&null!=this.coupon&&(r.coupon_id=this.coupon.ids.join("-")),uni.showLoading({title:this.$i18n.messages[this.$i18n.locale]["正在生成订单"],mask:!0}),a.default.WorksListPhone(r).then((function(e){uni.hideLoading();varr=e.data.link;r.includes("http")?window.location.href=r:t.generateQRCode(r)})).catch((function(t){uni.hideLoading(),uni.showToast({title:t.msg||t.data,icon:"none"})}))},jHPay:function(){vart=this,e="";null!=this.good&&null!=this.good.goods&&(e=this.good.goods.alias_name);varr={s:"Order.create",type:this.key||2,machine_id:this.machine_id,goods_id:this.goods_id,works_id:this.works_id,channel_no:this.channel_no,dict_id:null,goods_size:null,works_num:null,shop_id:this.tabletext?this.machine_item.shop_id:null,sn:null,coupon_id:null,language:this._i18n.locale,support_juhe:this.support_juhe,goods_specs:e,terminal:4,create_time:Date.parse(newDate)/1e3};void0!=this.coupon.ids&&null!=this.coupon&&(r.coupon_id=this.coupon.ids.join("-")),uni.showLoading({title:this.$i18n.messages[this.$i18n.locale]["正在生成订单"],mask:!0}),a.default.WorksListPhone(r).then((function(e){uni.hideLoading();varr=e.data.link;r.includes("http")?window.location.href=r:t.generateQRCode(r)})).catch((function(t){uni.hideLoading(),uni.showToast({title:t.msg||t.data,icon:"none"})}))},yGPay:function(){vart=this,e="";null!=this.good&&null!=this.good.goods&&(e=this.good.goods.alias_name);varr={s:"Order.create",type:this.key||2,machine_id:this.machine_id,goods_id:this.goods_id,works_id:this.works_id,channel_no:this.channel_no,dict_id:null,goods_size:null,works_num:null,shop_id:this.tabletext?this.machine_item.shop_id:null,sn:null,coupon_id:null,language:this._i18n.locale,support_yunguanjia:"1",goods_specs:e,terminal:4,create_time:Date.parse(newDate)/1e3};void0!=this.coupon.ids&&null!=this.coupon&&(r.coupon_id=this.coupon.ids.join("-")),uni.showLoading({title:this.$i18n.messages[this.$i18n.locale]["正在生成订单"],mask:!0}),a.default.WorksListPhone(r).then((function(e){uni.hideLoading();varr=e.data.link;r.includes("http")?window.location.href=r:t.generateQRCode(r)})).catch((function(t){uni.hideLoading(),uni.showToast({title:t.msg||t.data,icon:"none"})}))},commitOrder:function(){1==this.support_juhe&&1==this.support_yunguanjia?this.showPayPop():1==this.support_juhe?this.jHPay():1==this.support_yunguanjia&&this.yGPay()},getMachineStock:function(){vare=this;a.default.queryListPhone({s:"Machine.getMachineStock",machine_id:this.machine_id,key:"3"}).then((function(r){t.log(r),e.coupon=r.coupon,e.stock=r.stock,e.sizetext_id=e.$base.lockInventory.id,e.sizetext=e.$base.lockInventory.goods_size,e.sizestock=e.$base.lockInventory.stock,e.channel_no=e.$base.lockInventory.channel_no,e.dict_id=e.$base.lockInventory.dict_id})).catch((function(t){}))},getDetail:function(){vart=this;a.default.WorksListPhone({machine_id:this.machine_id,s:"machine.newDetail"}).then((function(e){e&&(t.machineDetail=e,t.machine_item=t.machineDetail,t.currency=t.machine_item.currency)})).catch((function(t){}))},Worksdetail:function(){vart=this;a.default.WorksListPhone({s:"Works.detail",id:this.works_id,surface_type:this.$base.surfaceData.surface_type,surface_id:this.$base.surfaceData.surface_id}).then((function(e){t.good=e,t.isCustomize&&"undefined"!=t.titleName&&(t.good.goods.alias_name=t.titleName),t.data.editorWidth=e.goods.design_width*t.data.pixelRate,t.data.editorHeight=e.goods.design_height*t.data.pixelRate,t.data.render_cove_width=e.goods.render_cove_width*(e.goods.design_width/e.goods.render_width)*t.data.pixelRate+30,t.data.render_cove_height=e.goods.render_cove_height*(e.goods.design_height/e.goods.render_height)*t.data.pixelRate+30,t.data.render_left=e.goods.render_left*(e.goods.design_width/e.goods.render_width)*t.data.pixelRate,t.data.render_top=e.goods.render_top*(e.goods.design_height/e.goods.render_height)*t.data.pixelRate,t.data.activebrushX=-((t.data.windowWidth-t.data.editorWidth)/2+t.data.editorWidth),t.data.printingStartX=-((t.data.windowWidth-t.data.editorWidth)/2+t.data.editorWidth),t.activebrushX=-((t.data.windowWidth-t.data.editorWidth)/2+t.data.editorWidth),t.$base.mobilePhoneCaseSize=t.data,t.translateX=-t.data.windowWidth,t.activebrushX=0,t.isReady=!0,t.crateactivestate=!1,t.titlestate=!0,t.coordinate.state=!0,uni.stopPullDownRefresh()})).catch((function(t){}))}},onPullDownRefresh:function(){},onReachBottom:function(){},onLoad:function(t){vare=this,r=this;uni.getSystemInfo({success:function(t){r.$tool.isPc()&&(t.windowWidth=r.$base.isPcWidth);vare=t.windowWidth/750;r.data.windowWidth=t.windowWidth,r.data.windowHeight=t.windowHeight,r.data.pixelRate=e}}),this.myheadtext=this.$i18n.messages[this.$i18n.locale]["付款区"],"null"!=t.goods_id&&(this.goods_id=t.goods_id,a.default.queryListPhone({s:"Product.detail",id:this.goods_id}).then((function(t){e.background_surface_image=t.surface_pic})).catch((function(t){}))),"null"!=t.machine_id&&(this.machine_id=t.machine_id),"null"!=t.goodid&&(this.works_id=t.goodid,this.Worksdetail()),"null"!=t.support_juhe&&(this.support_juhe=t.support_juhe),"null"!=t.support_yunguanjia&&(this.support_yunguanjia=t.support_yunguanjia),t.titleName&&(this.titleName=t.titleName),this.getMachineStock(),this.getDetail()},onShow:function(){},onUnload:function(){}};e.default=l}).call(this,r("ba7c")["default"])},"423c":function(t,e,r){"use strict";(function(t){r("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void0,r("64aa"),r("e966"),r("aa9c"),r("5c47"),r("a1c1"),r("8f71"),r("bf0f"),r("1851");varn=window&&(window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame)||function(t){setTimeout(t,1e3/60)},i=uni.getSystemInfoSync(),o=null,a={props:{particleCount:{type:[Number,String],default:80},angle:{type:[Number,String],default:90},spread:{type:[Number,String],default:100},startVelocity:{type:[Number,String],default:45},decay:{type:[Number,String],default:.9},ticks:{type:[Number,String],default:150},zIndex:{type:[Number,String],default:1},colors:{type:Array,default:function(){return["#5BC0EB","#2176AE","#FDE74C","#9BC53D","#E55934","#FA7921","#FF4242"]}},canvasId:{type:String,default:"fireCanvas"},width:{type:[Number,String],default:function(){returni.windowWidth}},height:{type:[Number,String],default:function(){returni.windowHeight}},x:{type:[Number,String],default:function(){returni.windowWidth/2}},y:{type:[Number,String],default:function(){return.4*i.windowHeight}}},data:function(){return{pixelRatio:i.pixelRatio}},onShow:function(){t.log("onShow"),this.initCanvas()},created:function(){t.log("created"),this.initCanvas()},methods:{open:function(){},parseInt16:function(t){returnparseInt(t,16)},canvasIdErrorCallback:function(e){t.error(e.detail.errMsg)},initCanvas:function(){o=null,o=uni.createCanvasContext(this.canvasId,this),o.fillRect(0,0,this.width*this.pixelRatio,this.height*this.pixelRatio),o.scale(this.pixelRatio,this.pixelRatio),o.save(),this.fireworksDraw()},fireworksDraw:function(){for(vart=[],e=this.particleCount,r=null,i=null,a=null,s=null;e--;)r={x:this.x,y:this.y,angle:this.angle,spread:this.spread,startVelocity:this.startVelocity,color:this.colors[e%this.colors.length],ticks:this.ticks,decay:this.decay},s=0,i=r.angle*(Math.PI/180),a=r.spread*(Math.PI/180),t.push({x:r.x,y:r.y,depth:.5*Math.random()+.6,wobble:10*Math.random(),velocity:.5*r.startVelocity+Math.random()*r.startVelocity,angle2D:-i+(.5*a-Math.random()*a),tiltAngle:Math.random()*Math.PI,color:(s=(r.color+"").replace(/[^0-9a-f]/gi,""),s.length<6&&(s=s[0]+s[0]+s[1]+s[1]+s[2]+s[2]),{r:this.parseInt16(s.substring(0,2)),g:this.parseInt16(s.substring(2,4)),b:this.parseInt16(s.substring(4,6))}),tick:0,totalTicks:r.ticks,decay:r.decay,random:Math.random()+5,tiltSin:0,tiltCos:0,wobbleX:0,wobbleY:0});n((functione(){o&&(o.draw(),o.restore(),t=t.filter((function(t){returnt.x+=Math.cos(t.angle2D)*t.velocity,t.y+=Math.sin(t.angle2D)*t.velocity+5*t.depth,t.wobble+=.1,t.velocity*=t.decay,t.tiltAngle+=.02*Math.random()+.12,t.tiltSin=Math.sin(t.tiltAngle),t.tiltCos=Math.cos(t.tiltAngle),t.random=Math.random()+4,t.wobbleX=t.x+10*Math.cos(t.wobble)*t.depth,t.wobbleY=t.y+10*Math.sin(t.wobble)*t.depth,o.fillStyle="rgba("+t.color.r+", "+t.color.g+", "+t.color.b+", "+(1-t.tick++/t.totalTicks)+")",o.beginPath(),o.moveTo(Math.floor(t.x),Math.floor(t.y)),o.lineTo(Math.floor(t.wobbleX),Math.floor(t.y+t.random*t.tiltSin)),o.lineTo(Math.floor(t.wobbleX+t.random*t.tiltCos),Math.floor(t.wobbleY+t.random*t.tiltSin)),o.lineTo(Math.floor(t.x+t.random*t.tiltCos),Math.floor(t.wobbleY)),o.closePath(),o.fill(),t.tick<t.totalTicks})),t.length?n(e):o=null)}))}}};e.default=a}).call(this,r("ba7c")["default"])},4747:function(t,e,r){r("7a76"),r("c9b5");var n=r("63ff");e.render=function(t,e,r){var i=r,o=e;"undefined"!==typeof i||e&&e.getContext||(i=e,e=void 0),e||(o=function(){try{return document.createElement("canvas")}catch(t){throw new Error("You need to specify a canvas element")}}()),i=n.getOptions(i);var a=n.getImageWidth(t.modules.size,i),s=o.getContext("2d"),u=s.createImageData(a,a);return n.qrToImageData(u.data,t,i),function(t,e,r){t.clearRect(0,0,e.width,e.height),e.style||(e.style={}),e.height=r,e.width=r,e.style.height=r+"px",e.style.width=r+"px"}(s,o,a),s.putImageData(u,0,0),o},e.renderToDataURL=function(t,r,n){var i=n;"undefined"!==typeof i||r&&r.getContext||(i=r,r=void 0),i||(i={});var o=e.render(t,r,i),a=i.type||"image/png",s=i.rendererOpts||{};return o.toDataURL(a,s.quality)}},"47d6":function(module,exports,__webpack_require__){(function(process,global,module){var __WEBPACK_AMD_DEFINE_RESULT__,_typeof=__webpack_require__("bdbb").default;__webpack_require__("80e3"),__webpack_require__("4db2"),__webpack_require__("bf0f"),__webpack_require__("c976"),__webpack_require__("4d8f"),__webpack_require__("7b97"),__webpack_require__("668a"),__webpack_require__("c5b7"),__webpack_require__("8ff5"),__webpack_require__("2378"),__webpack_require__("641a"),__webpack_require__("64e0"),__webpack_require__("cce3"),__webpack_require__("efba"),__webpack_require__("d009"),__webpack_require__("bd7d"),__webpack_require__("7edd"),__webpack_require__("d798"),__webpack_require__("f547"),__webpack_require__("5e54"),__webpack_require__("b60a"),__webpack_require__("8c18"),__webpack_require__("12973"),__webpack_require__("f991"),__webpack_require__("198e"),__webpack_require__("8557"),__webpack_require__("63b1"),__webpack_require__("1954"),__webpack_require__("1cf1"),__webpack_require__("295e"),__webpack_require__("c753"),__webpack_require__("c9b5"),__webpack_require__("ab80"),
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-mine-order"],{"0353":function(t,e,r){r("bf0f"),r("2797"),r("4db2"),r("c976"),r("4d8f"),r("7b97"),r("668a"),r("c5b7"),r("8ff5"),r("2378"),r("641a"),r("64e0"),r("cce3"),r("efba"),r("d009"),r("bd7d"),r("7edd"),r("d798"),r("f547"),r("5e54"),r("b60a"),r("8c18"),r("12973"),r("f991"),r("198e"),r("8557"),r("63b1"),r("1954"),r("1cf1"),r("f7a5"),r("7a76"),r("c9b5");varn=r("16b0"),i=r("c48a"),o=r("9b21"),a=r("3a2a"),s=r("71da"),u=r("edfd"),c=r("7ef9"),d=r("0feb"),l=r("8e9f"),f=r("7a49"),h=r("f5db"),p=r("e307"),g=r("9956");function_(t,e,r){varn,i,o=t.size,a=h.getEncodedBits(e,r);for(n=0;n<15;n++)i=1===(a>>n&1),n<6?t.set(n,8,i,!0):n<8?t.set(n+1,8,i,!0):t.set(o-15+n,8,i,!0),n<8?t.set(8,o-n-1,i,!0):n<9?t.set(8,15-n-1+1,i,!0):t.set(8,15-n-1,i,!0);t.set(o-8,8,1,!0)}functionb(t,e,r){vari=newo;r.forEach((function(e){i.put(e.mode.bit,4),i.put(e.getLength(),p.getCharCountIndicator(e.mode,t)),e.write(i)}));vara=n.getSymbolTotalCodewords(t),s=d.getTotalCodewordsCount(t,e),u=8*(a-s);i.getLengthInBits()+4<=u&&i.put(0,4);while(i.getLengthInBits()%8!==0)i.putBit(0);for(varc=(u-i.getLengthInBits())/8,f=0;f<c;f++)i.put(f%2?17:236,8);returnfunction(t,e,r){for(vari=n.getSymbolTotalCodewords(e),o=d.getTotalCodewordsCount(e,r),a=i-o,s=d.getBlocksCount(e,r),u=i%s,c=s-u,f=Math.floor(i/s),h=Math.floor(a/s),p=h+1,g=f-h,_=newl(g),b=0,v=newArray(s),w=newArray(s),y=0,m=newUint8Array(t.buffer),E=0;E<s;E++){varA=E<c?h:p;v[E]=m.slice(b,b+A),w[E]=_.encode(v[E]),b+=A,y=Math.max(y,A)}varx,k,C=newUint8Array(i),R=0;for(x=0;x<y;x++)for(k=0;k<s;k++)x<v[k].length&&(C[R++]=v[k][x]);for(x=0;x<g;x++)for(k=0;k<s;k++)C[R++]=w[k][x];returnC}(i,t,e)}functionv(t,e,r,i){varo;if(Array.isArray(t))o=g.fromArray(t);else{if("string"!==typeoft)thrownewError("Invalid data");vard=e;if(!d){varl=g.rawSplit(t);d=f.getBestVersionForData(l,r)}o=g.fromString(t,d||40)}varh=f.getBestVersionForData(o,r);if(!h)thrownewError("The amount of data is too big to be stored in a QR Code");if(e){if(e<h)thrownewError("\nThe chosen QR Code version cannot contain this amount of data.\nMinimum version required to store current data is: "+h+".\n")}elsee=h;varp=b(e,r,o),v=n.getSymbolSize(e),w=newa(v);returnfunction(t,e){for(varr=t.size,n=u.getPositions(e),i=0;i<n.length;i++)for(varo=n[i][0],a=n[i][1],s=-1;s<=7;s++)if(!(o+s<=-1||r<=o+s))for(varc=-1;c<=7;c++)a+c<=-1||r<=a+c||(s>=0&&s<=6&&(0===c||6===c)||c>=0&&c<=6&&(0===s||6===s)||s>=2&&s<=4&&c>=2&&c<=4?t.set(o+s,a+c,!0,!0):t.set(o+s,a+c,!1,!0))}(w,e),function(t){for(vare=t.size,r=8;r<e-8;r++){varn=r%2===0;t.set(r,6,n,!0),t.set(6,r,n,!0)}}(w),function(t,e){for(varr=s.getPositions(e),n=0;n<r.length;n++)for(vari=r[n][0],o=r[n][1],a=-2;a<=2;a++)for(varu=-2;u<=2;u++)-2===a||2===a||-2===u||2===u||0===a&&0===u?t.set(i+a,o+u,!0,!0):t.set(i+a,o+u,!1,!0)}(w,e),_(w,r,0),e>=7&&function(t,e){for(varr,n,i,o=t.size,a=f.getEncodedBits(e),s=0;s<18;s++)r=Math.floor(s/3),n=s%3+o-8-3,i=1===(a>>s&1),t.set(r,n,i,!0),t.set(n,r,i,!0)}(w,e),function(t,e){for(varr=t.size,n=-1,i=r-1,o=7,a=0,s=r-1;s>0;s-=2){6===s&&s--;while(1){for(varu=0;u<2;u++)if(!t.isReserved(i,s-u)){varc=!1;a<e.length&&(c=1===(e[a]>>>o&1)),t.set(i,s-u,c),o--,-1===o&&(a++,o=7)}if(i+=n,i<0||r<=i){i-=n,n=-n;break}}}}(w,p),isNaN(i)&&(i=c.getBestMask(w,_.bind(null,w,r))),c.applyMask(i,w),_(w,r,i),{modules:w,version:e,errorCorrectionLevel:r,maskPattern:i,segments:o}}e.create=function(t,e){if("undefined"===typeoft||""===t)thrownewError("No input text");varr,o,a=i.M;return"undefined"!==typeofe&&(a=i.from(e.errorCorrectionLevel,i.M),r=f.from(e.version),o=c.from(e.maskPattern),e.toSJISFunc&&n.setToSJISFunction(e.toSJISFunc)),v(t,r,a,o)}},"0b5d":function(t,e,r){"use strict";varn=r("9005f"),i=r.n(n);i.a},"0feb":function(t,e,r){varn=r("c48a"),i=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],o=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];e.getBlocksCount=function(t,e){switch(e){casen.L:returni[4*(t-1)+0];casen.M:returni[4*(t-1)+1];casen.Q:returni[4*(t-1)+2];casen.H:returni[4*(t-1)+3];default:return}},e.getTotalCodewordsCount=function(t,e){switch(e){casen.L:returno[4*(t-1)+0];casen.M:returno[4*(t-1)+1];casen.Q:returno[4*(t-1)+2];casen.H:returno[4*(t-1)+3];default:return}}},"16b0":function(t,e,r){varn;r("7a76"),r("c9b5");vari=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];e.getSymbolSize=function(t){if(!t)thrownewError('"version" cannot be null or undefined');if(t<1||t>40)thrownewError('"version" should be in range from 1 to 40');return4*t+17},e.getSymbolTotalCodewords=function(t){returni[t]},e.getBCHDigit=function(t){vare=0;while(0!==t)e++,t>>>=1;returne},e.setToSJISFunction=function(t){if("function"!==typeoft)thrownewError('"toSJISFunc" is not a valid function.');n=t},e.isKanjiModeEnabled=function(){return"undefined"!==typeofn},e.toSJIS=function(t){returnn(t)}},"1c66":function(t,e,r){"use strict";r.r(e);varn=r("d88c"),i=r("5098");for(varoini)["default"].indexOf(o)<0&&function(t){r.d(e,t,(function(){returni[t]}))}(o);r("5d17");vara=r("828b"),s=Object(a["a"])(i["default"],n["b"],n["c"],!1,null,"9f2666a6",null,!1,n["a"],void0);e["default"]=s.exports},"28d0":function(t,e,r){e.nextTick=function(t){vare=Array.prototype.slice.call(arguments);e.shift(),setTimeout((function(){t.apply(null,e)}),0)},e.platform=e.arch=e.execPath=e.title="browser",e.pid=1,e.browser=!0,e.env={},e.argv=[],e.binding=function(t){thrownewError("No such module. (Possibly not yet loaded)")},function(){vart,n="/";e.cwd=function(){returnn},e.chdir=function(e){t||(t=r("a3fc")),n=t.resolve(e,n)}}(),e.exit=e.kill=e.umask=e.dlopen=e.uptime=e.memoryUsage=e.uvCounters=function(){},e.features={}},"39e2":function(t,e,r){"use strict";r.d(e,"b",(function(){returnn})),r.d(e,"c",(function(){returni})),r.d(e,"a",(function(){}));varn=function(){vart=this,e=t.$createElement,r=t._self._c||e;returnr("v-uni-view",{staticClass:"full-width full-height",staticStyle:{margin:"auto"},style:{width:t.$tool.isPc()?t.$base.isPcWidth+"px":"100%"}},[r("myhead",{attrs:{worksid:0,title:t.myheadtext,color:"#fff",titleShow:!0,backShow:!0,background:"none"}}),t.isReady?r("firework",{ref:"firework",staticStyle:{position:"fixed","z-index":"9999"}}):t._e(),r("v-uni-scroll-view",{staticStyle:{height:"100%","overflow-y":"scroll",position:"relative",background:"#131319"},style:{width:t.$tool.isPc()?t.$base.isPcWidth+"px":"100%"},attrs:{"scroll-y":!0}},[t.good?r("v-uni-view",{staticClass:"crate-wrapper",style:{width:t.$tool.isPc()?t.$base.isPcWidth+"px":"100%"}},[r("v-uni-view",{staticClass:"brush",style:{transform:"translateX("+t.activebrushX+"px) scale("+t.transformscale+")"}},[r("v-uni-view",{staticClass:"crate",class:{crateactive:t.crateactivestate},style:{width:t.data.editorWidth+"px",height:t.data.editorHeight+"px",transform:"rotateX(-15deg) rotateY("+t.coordinate.numberY+"deg)"}},[r("v-uni-view",{staticClass:"side front"},[r("v-uni-image",{staticStyle:{position:"absolute",width:"100%",height:"98%",left:"0",top:"0"},attrs:{src:t.background_surface_image+"?x-oss-process=image/resize,lfit,w_1500",mode:""}}),r("v-uni-image",{staticStyle:{position:"absolute",width:"100%",height:"100%",left:"0",top:"0"},attrs:{src:t.good.icon?t.good.icon:t.good.image,mode:"aspectFit"}}),r("v-uni-image",{staticStyle:{position:"absolute",width:"100%",height:"100%",left:"0",top:"0"},attrs:{src:t.good.goods.front_image_old,mode:"aspectFit"}})],1)],1),r("v-uni-view",{staticStyle:{"text-align":"center"},style:{opacity:t.titlestate?1:0}},[r("v-uni-view",{staticStyle:{"font-size":"35upx","font-weight":"bold"}},[r("v-uni-text",{staticStyle:{color:"#FFFFFF"}},[t._v(t._s(t.good.goods.alias_name||"**"))])],1),r("v-uni-view",{staticStyle:{"margin-top":"8upx"}},[r("v-uni-text",{staticStyle:{color:"#F56364","font-size":"42upx"}},[t._v(t._s(t.currency)),t.good?r("v-uni-text",{staticStyle:{"font-size":"42upx","margin-left":"6upx"}},[t._v(t._s(t.add))]):t._e()],1)],1)],1)],1)],1):t._e()],1),r("v-uni-view",{staticStyle:{background:"#64DD17",height:"100upx",position:"fixed",bottom:"0","z-index":"999"},style:{width:t.$tool.isPc()?t.$base.isPcWidth+"px":"100%"}},[r("v-uni-view",{staticStyle:{background:"#282932",height:"100upx",position:"fixed",width:"100%",bottom:"0","z-index":"999"},style:{width:t.$tool.isPc()?t.$base.isPcWidth+"px":"100%"}},[r("v-uni-view",{staticStyle:{width:"100%",height:"100upx",background:"linear-gradient(-90deg, #64DD17, #64DD17)","font-size":"36upx","font-weight":"400","text-align":"center","line-height":"100upx",float:"right",color:"#FFFFFF"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.commitOrder()}}},[t._v(t._s(t.$i18n.messages[t.$i18n.locale]["支付"]))])],1)],1),r("uni-popup",{ref:"showPayChange",staticStyle:{position:"fixed","z-index":"9999"},attrs:{type:"center"}},[r("v-uni-view",{staticStyle:{"border-radius":"20upx",background:"#fff",width:"480upx","padding-top":"60upx","padding-bottom":"60upx"}},[r("v-uni-view",{staticClass:"experiencebutton",staticStyle:{width:"300upx",height:"90upx","line-height":"90upx","border-radius":"53upx","font-size":"30upx",background:"#64DD17",color:"#fff","text-align":"center","margin-left":"90upx"},attrs:{"hover-class":"loginBtn-hover"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.jHPay()}}},[t._v("jH "+t._s(t.$i18n.messages[t.$i18n.locale]["支付"]))]),r("v-uni-view",{staticClass:"experiencebutton",staticStyle:{width:"300upx",height:"90upx","line-height":"90upx","border-radius":"53upx","font-size":"30upx",background:"#64DD17",color:"#fff","text-align":"center","margin-top":"40upx","margin-left":"90upx"},attrs:{"hover-class":"loginBtn-hover"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.yGPay()}}},[t._v("yG"+t._s(t.$i18n.messages[t.$i18n.locale]["支付"]))])],1)],1),r("uni-popup",{ref:"showPayQRCode",staticStyle:{position:"fixed","z-index":"9999"},attrs:{type:"center"}},[r("v-uni-view",{staticStyle:{"border-radius":"20upx",background:"#fff",width:"550upx",height:"550upx"}},[r("v-uni-view",{staticStyle:{width:"100%","padding-top":"40upx",height:"90upx","font-size":"40upx","font-weight":"bold",color:"#000","text-align":"center",margin:"auto"}},[t._v(t._s(t.$i18n.messages[t.$i18n.locale]["扫码支付"]))]),r("v-uni-image",{staticStyle:{height:"350upx",width:"350upx","margin-left":"100upx"},attrs:{src:t.qrCodeSrc}})],1)],1)],1)},i=[]},"3a2a":function(t,e,r){functionn(t){if(!t||t<1)thrownewError("BitMatrix size must be defined and greater than 0");this.size=t,this.data=newUint8Array(t*t),this.reservedBit=newUint8Array(t*t)}r("7a76"),r("c9b5"),r("4db2"),r("bf0f"),r("c976"),r("4d8f"),r("7b97"),r("668a"),r("c5b7"),r("8ff5"),r("2378"),r("641a"),r("64e0"),r("cce3"),r("efba"),r("d009"),r("bd7d"),r("7edd"),r("d798"),r("f547"),r("5e54"),r("b60a"),r("8c18"),r("12973"),r("f991"),r("198e"),r("8557"),r("63b1"),r("1954"),r("1cf1"),n.prototype.set=function(t,e,r,n){vari=t*this.size+e;this.data[i]=r,n&&(this.reservedBit[i]=!0)},n.prototype.get=function(t,e){returnthis.data[t*this.size+e]},n.prototype.xor=function(t,e,r){this.data[t*this.size+e]^=r},n.prototype.isReserved=function(t,e){returnthis.reservedBit[t*this.size+e]},t.exports=n},"3b6a":function(t,e,r){r("f7a5"),r("7a76"),r("c9b5"),r("bf0f"),r("ab80");varn=r("d38e"),i=r("0353"),o=r("4747"),a=r("a633");functions(t,e,r,o,a){vars=[].slice.call(arguments,1),u=s.length,c="function"===typeofs[u-1];if(!c&&!n())thrownewError("Callback required as last argument");if(!c){if(u<1)thrownewError("Too few arguments provided");return1===u?(r=e,e=o=void0):2!==u||e.getContext||(o=r,r=e,e=void0),newPromise((function(n,a){try{vars=i.create(r,o);n(t(s,e,o))}catch(u){a(u)}}))}if(u<2)thrownewError("Too few arguments provided");2===u?(a=r,r=e,e=o=void0):3===u&&(e.getContext&&"undefined"===typeofa?(a=o,o=void0):(a=o,o=r,r=e,e=void0));try{vard=i.create(r,o);a(null,t(d,e,o))}catch(l){a(l)}}e.create=i.create,e.toCanvas=s.bind(null,o.render),e.toDataURL=s.bind(null,o.renderToDataURL),e.toString=s.bind(null,(function(t,e,r){returna.render(t,r)}))},"3f7e":function(t,e,r){"use strict";(function(t){r("6a54");varn=r("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void0,r("4626"),r("5ac7");vari=n(r("2634")),o=n(r("2fdc")),a=n(r("3ab6")),s=n(r("ddbb")),u=(n(r("92ce")),n(r("47d6")),n(r("1c66"))),c=n(r("cb87")),d=n(r("3b6a")),l={components:{uniPopup:s.default,firework:u.default,myhead:c.default},computed:{add:function(t,e){returnnull!=this.good&&null!=this.coupon?void0!=this.coupon.discount_amount?(Math.round(100*this.good.sales_price)+Math.round(100*this.good.goods.sales_price)-Math.round(100*this.coupon.discount_amount))/100:(Math.round(100*this.good.sales_price)+Math.round(100*this.good.goods.sales_price))/100:""},multiple:function(t,e){returnMath.round(100*t)*Math.round(100*e)/1e4}},data:function(){return{coupon_flag_desc:null,type:"bottom",tabletext:!0,good:null,equipmentlist:[],machine_id:null,machine_item:null,goods_id:null,works_id:null,sizetext_id:null,sizetext:null,give_sizetext:null,give_dict_id:null,sizestock:null,channel_no:null,dict_id:null,coupon:null,stock:null,machine_pages:!0,myadress:{},loading:!1,orderIdone:null,orderIdtwo:null,resultpayone:null,resultpaytwo:null,listtmplIds:[],sn:null,activebrushX:-400,crateactivestate:!1,titlestate:!1,isReady:!1,data:{windowWidth:0,windowHeight:0,pixelRate:0,editorWidth:0,editorHeight:0,render_cove_width:null,render_cove_height:null,render_left:null,render_top:null},teststate:!1,translateX:0,coordinate:{startX:0,startY:0,touchMoveX:0,touchMoveY:0,numberY:0,state:!1},transformscale:.92,key:null,background_surface_image:null,url_pay:"",currency:"$",support_paypal:0,support_oversea:0,userAddressData:null,machineDetail:null,isCustomize:!1,titleName:"",customize_size_id:"",myheadtext:"",support_yunguanjia:0,support_juhe:0,qrCodeSrc:""}},methods:{generateQRCode:function(e){varr=this;return(0,o.default)((0,i.default)().mark((functionn(){varo;return(0,i.default)().wrap((function(n){while(1)switch(n.prev=n.next){case0:returnn.prev=0,n.next=3,d.default.toDataURL(e);case3:o=n.sent,r.qrCodeSrc=o,r.$nextTick((function(){r.$refs["showPayQRCode"].open()})),n.next=11;break;case8:n.prev=8,n.t0=n["catch"](0),t.error("生成二维码失败:",n.t0);case11:case"end":returnn.stop()}}),n,null,[[0,8]])})))()},showPayChangeClose:function(){this.$refs["showPayChange"].close()},showPayPop:function(){vart=this;this.$nextTick((function(){t.$refs["showPayChange"].open()}))},self_help:function(){vart=this,e="";null!=this.good&&null!=this.good.goods&&(e=this.good.goods.alias_name);varr={s:"Order.create",type:this.key||2,machine_id:this.machine_id,goods_id:this.goods_id,works_id:this.works_id,channel_no:null,dict_id:null,goods_size:null,works_num:null,shop_id:this.tabletext?this.machine_item.shop_id:null,sn:null,coupon_id:null,language:this._i18n.locale,support_yunguanjia:this.support_yunguanjia,support_juhe:this.support_juhe,goods_specs:e,terminal:4,create_time:Date.parse(newDate)/1e3};void0!=this.coupon.ids&&null!=this.coupon&&(r.coupon_id=this.coupon.ids.join("-")),uni.showLoading({title:this.$i18n.messages[this.$i18n.locale]["正在生成订单"],mask:!0}),a.default.WorksListPhone(r).then((function(e){uni.hideLoading();varr=e.data.link;r.includes("http")?window.location.href=r:t.generateQRCode(r)})).catch((function(t){uni.hideLoading(),uni.showToast({title:t.msg||t.data,icon:"none"})}))},jHPay:function(){vart=this,e="";null!=this.good&&null!=this.good.goods&&(e=this.good.goods.alias_name);varr={s:"Order.create",type:this.key||2,machine_id:this.machine_id,goods_id:this.goods_id,works_id:this.works_id,channel_no:null,dict_id:null,goods_size:null,works_num:null,shop_id:this.tabletext?this.machine_item.shop_id:null,sn:null,coupon_id:null,language:this._i18n.locale,support_juhe:this.support_juhe,goods_specs:e,terminal:4,create_time:Date.parse(newDate)/1e3};void0!=this.coupon.ids&&null!=this.coupon&&(r.coupon_id=this.coupon.ids.join("-")),uni.showLoading({title:this.$i18n.messages[this.$i18n.locale]["正在生成订单"],mask:!0}),a.default.WorksListPhone(r).then((function(e){uni.hideLoading();varr=e.data.link;r="https://www.baidu.com/",r.includes("http")?window.location.href=r:t.generateQRCode(r)})).catch((function(t){uni.hideLoading(),uni.showToast({title:t.msg||t.data,icon:"none"})}))},yGPay:function(){vart=this,e="";null!=this.good&&null!=this.good.goods&&(e=this.good.goods.alias_name);varr={s:"Order.create",type:this.key||2,machine_id:this.machine_id,goods_id:this.goods_id,works_id:this.works_id,channel_no:null,dict_id:null,goods_size:null,works_num:null,shop_id:this.tabletext?this.machine_item.shop_id:null,sn:null,coupon_id:null,language:this._i18n.locale,support_yunguanjia:"1",goods_specs:e,terminal:4,create_time:Date.parse(newDate)/1e3};void0!=this.coupon.ids&&null!=this.coupon&&(r.coupon_id=this.coupon.ids.join("-")),uni.showLoading({title:this.$i18n.messages[this.$i18n.locale]["正在生成订单"],mask:!0}),a.default.WorksListPhone(r).then((function(e){uni.hideLoading();varr=e.data.link;r.includes("http")?window.location.href=r:t.generateQRCode(r)})).catch((function(t){uni.hideLoading(),uni.showToast({title:t.msg||t.data,icon:"none"})}))},commitOrder:function(){1==this.support_juhe&&1==this.support_yunguanjia?this.showPayPop():1==this.support_juhe?this.jHPay():1==this.support_yunguanjia&&this.yGPay()},getMachineStock:function(){vart=this;a.default.queryListPhone({s:"Machine.getMachineStock",machine_id:this.machine_id,key:"3"}).then((function(e){t.coupon=e.coupon,t.stock=e.stock,t.sizetext_id=t.$base.lockInventory.id,t.sizetext=t.$base.lockInventory.goods_size,t.sizestock=t.$base.lockInventory.stock,t.channel_no=t.$base.lockInventory.channel_no,t.dict_id=t.$base.lockInventory.dict_id})).catch((function(t){}))},getDetail:function(){vart=this;a.default.WorksListPhone({machine_id:this.machine_id,s:"machine.newDetail"}).then((function(e){e&&(t.machineDetail=e,t.machine_item=t.machineDetail,t.currency=t.machine_item.currency)})).catch((function(t){}))},Worksdetail:function(){vart=this;a.default.WorksListPhone({s:"Works.detail",id:this.works_id,surface_type:this.$base.surfaceData.surface_type,surface_id:this.$base.surfaceData.surface_id}).then((function(e){t.good=e,t.isCustomize&&"undefined"!=t.titleName&&(t.good.goods.alias_name=t.titleName),t.data.editorWidth=e.goods.design_width*t.data.pixelRate,t.data.editorHeight=e.goods.design_height*t.data.pixelRate,t.data.render_cove_width=e.goods.render_cove_width*(e.goods.design_width/e.goods.render_width)*t.data.pixelRate+30,t.data.render_cove_height=e.goods.render_cove_height*(e.goods.design_height/e.goods.render_height)*t.data.pixelRate+30,t.data.render_left=e.goods.render_left*(e.goods.design_width/e.goods.render_width)*t.data.pixelRate,t.data.render_top=e.goods.render_top*(e.goods.design_height/e.goods.render_height)*t.data.pixelRate,t.data.activebrushX=-((t.data.windowWidth-t.data.editorWidth)/2+t.data.editorWidth),t.data.printingStartX=-((t.data.windowWidth-t.data.editorWidth)/2+t.data.editorWidth),t.activebrushX=-((t.data.windowWidth-t.data.editorWidth)/2+t.data.editorWidth),t.$base.mobilePhoneCaseSize=t.data,t.translateX=-t.data.windowWidth,t.activebrushX=0,t.isReady=!0,t.crateactivestate=!1,t.titlestate=!0,t.coordinate.state=!0,uni.stopPullDownRefresh()})).catch((function(t){}))}},onPullDownRefresh:function(){},onReachBottom:function(){},onLoad:function(t){vare=this,r=this;uni.getSystemInfo({success:function(t){r.$tool.isPc()&&(t.windowWidth=r.$base.isPcWidth);vare=t.windowWidth/750;r.data.windowWidth=t.windowWidth,r.data.windowHeight=t.windowHeight,r.data.pixelRate=e}}),this.myheadtext=this.$i18n.messages[this.$i18n.locale]["付款区"],"null"!=t.goods_id&&(this.goods_id=t.goods_id,a.default.queryListPhone({s:"Product.detail",id:this.goods_id}).then((function(t){e.background_surface_image=t.surface_pic})).catch((function(t){}))),"null"!=t.machine_id&&(this.machine_id=t.machine_id),"null"!=t.goodid&&(this.works_id=t.goodid,this.Worksdetail()),"null"!=t.support_juhe&&(this.support_juhe=t.support_juhe),"null"!=t.support_yunguanjia&&(this.support_yunguanjia=t.support_yunguanjia),t.titleName&&(this.titleName=t.titleName),this.getMachineStock(),this.getDetail()},onShow:function(){},onUnload:function(){}};e.default=l}).call(this,r("ba7c")["default"])},"423c":function(t,e,r){"use strict";(function(t){r("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void0,r("64aa"),r("e966"),r("aa9c"),r("5c47"),r("a1c1"),r("8f71"),r("bf0f"),r("1851");varn=window&&(window.requestAnimationFrame||window.webkitRequestAnimationFrame||window.mozRequestAnimationFrame||window.oRequestAnimationFrame||window.msRequestAnimationFrame)||function(t){setTimeout(t,1e3/60)},i=uni.getSystemInfoSync(),o=null,a={props:{particleCount:{type:[Number,String],default:80},angle:{type:[Number,String],default:90},spread:{type:[Number,String],default:100},startVelocity:{type:[Number,String],default:45},decay:{type:[Number,String],default:.9},ticks:{type:[Number,String],default:150},zIndex:{type:[Number,String],default:1},colors:{type:Array,default:function(){return["#5BC0EB","#2176AE","#FDE74C","#9BC53D","#E55934","#FA7921","#FF4242"]}},canvasId:{type:String,default:"fireCanvas"},width:{type:[Number,String],default:function(){returni.windowWidth}},height:{type:[Number,String],default:function(){returni.windowHeight}},x:{type:[Number,String],default:function(){returni.windowWidth/2}},y:{type:[Number,String],default:function(){return.4*i.windowHeight}}},data:function(){return{pixelRatio:i.pixelRatio}},onShow:function(){t.log("onShow"),this.initCanvas()},created:function(){t.log("created"),this.initCanvas()},methods:{open:function(){},parseInt16:function(t){returnparseInt(t,16)},canvasIdErrorCallback:function(e){t.error(e.detail.errMsg)},initCanvas:function(){o=null,o=uni.createCanvasContext(this.canvasId,this),o.fillRect(0,0,this.width*this.pixelRatio,this.height*this.pixelRatio),o.scale(this.pixelRatio,this.pixelRatio),o.save(),this.fireworksDraw()},fireworksDraw:function(){for(vart=[],e=this.particleCount,r=null,i=null,a=null,s=null;e--;)r={x:this.x,y:this.y,angle:this.angle,spread:this.spread,startVelocity:this.startVelocity,color:this.colors[e%this.colors.length],ticks:this.ticks,decay:this.decay},s=0,i=r.angle*(Math.PI/180),a=r.spread*(Math.PI/180),t.push({x:r.x,y:r.y,depth:.5*Math.random()+.6,wobble:10*Math.random(),velocity:.5*r.startVelocity+Math.random()*r.startVelocity,angle2D:-i+(.5*a-Math.random()*a),tiltAngle:Math.random()*Math.PI,color:(s=(r.color+"").replace(/[^0-9a-f]/gi,""),s.length<6&&(s=s[0]+s[0]+s[1]+s[1]+s[2]+s[2]),{r:this.parseInt16(s.substring(0,2)),g:this.parseInt16(s.substring(2,4)),b:this.parseInt16(s.substring(4,6))}),tick:0,totalTicks:r.ticks,decay:r.decay,random:Math.random()+5,tiltSin:0,tiltCos:0,wobbleX:0,wobbleY:0});n((functione(){o&&(o.draw(),o.restore(),t=t.filter((function(t){returnt.x+=Math.cos(t.angle2D)*t.velocity,t.y+=Math.sin(t.angle2D)*t.velocity+5*t.depth,t.wobble+=.1,t.velocity*=t.decay,t.tiltAngle+=.02*Math.random()+.12,t.tiltSin=Math.sin(t.tiltAngle),t.tiltCos=Math.cos(t.tiltAngle),t.random=Math.random()+4,t.wobbleX=t.x+10*Math.cos(t.wobble)*t.depth,t.wobbleY=t.y+10*Math.sin(t.wobble)*t.depth,o.fillStyle="rgba("+t.color.r+", "+t.color.g+", "+t.color.b+", "+(1-t.tick++/t.totalTicks)+")",o.beginPath(),o.moveTo(Math.floor(t.x),Math.floor(t.y)),o.lineTo(Math.floor(t.wobbleX),Math.floor(t.y+t.random*t.tiltSin)),o.lineTo(Math.floor(t.wobbleX+t.random*t.tiltCos),Math.floor(t.wobbleY+t.random*t.tiltSin)),o.lineTo(Math.floor(t.x+t.random*t.tiltCos),Math.floor(t.wobbleY)),o.closePath(),o.fill(),t.tick<t.totalTicks})),t.length?n(e):o=null)}))}}};e.default=a}).call(this,r("ba7c")["default"])},4747:function(t,e,r){r("7a76"),r("c9b5");var n=r("63ff");e.render=function(t,e,r){var i=r,o=e;"undefined"!==typeof i||e&&e.getContext||(i=e,e=void 0),e||(o=function(){try{return document.createElement("canvas")}catch(t){throw new Error("You need to specify a canvas element")}}()),i=n.getOptions(i);var a=n.getImageWidth(t.modules.size,i),s=o.getContext("2d"),u=s.createImageData(a,a);return n.qrToImageData(u.data,t,i),function(t,e,r){t.clearRect(0,0,e.width,e.height),e.style||(e.style={}),e.height=r,e.width=r,e.style.height=r+"px",e.style.width=r+"px"}(s,o,a),s.putImageData(u,0,0),o},e.renderToDataURL=function(t,r,n){var i=n;"undefined"!==typeof i||r&&r.getContext||(i=r,r=void 0),i||(i={});var o=e.render(t,r,i),a=i.type||"image/png",s=i.rendererOpts||{};return o.toDataURL(a,s.quality)}},"47d6":function(module,exports,__webpack_require__){(function(process,global,module){var __WEBPACK_AMD_DEFINE_RESULT__,_typeof=__webpack_require__("bdbb").default;__webpack_require__("80e3"),__webpack_require__("4db2"),__webpack_require__("bf0f"),__webpack_require__("c976"),__webpack_require__("4d8f"),__webpack_require__("7b97"),__webpack_require__("668a"),__webpack_require__("c5b7"),__webpack_require__("8ff5"),__webpack_require__("2378"),__webpack_require__("641a"),__webpack_require__("64e0"),__webpack_require__("cce3"),__webpack_require__("efba"),__webpack_require__("d009"),__webpack_require__("bd7d"),__webpack_require__("7edd"),__webpack_require__("d798"),__webpack_require__("f547"),__webpack_require__("5e54"),__webpack_require__("b60a"),__webpack_require__("8c18"),__webpack_require__("12973"),__webpack_require__("f991"),__webpack_require__("198e"),__webpack_require__("8557"),__webpack_require__("63b1"),__webpack_require__("1954"),__webpack_require__("1cf1"),__webpack_require__("295e"),__webpack_require__("c753"),__webpack_require__("c9b5"),__webpack_require__("ab80"),