| 1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-money-chongzhi"],{"172e":function(t,e,o){"use strict";var n=o("ff50"),r=o.n(n);r.a},"2d1d":function(t,e,o){"use strict";var n;o.d(e,"b",(function(){return r})),o.d(e,"c",(function(){return i})),o.d(e,"a",(function(){return n}));var r=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=[]},"3bcf":function(t,e,o){"use strict";o.r(e);var n=o("8946"),r=o.n(n);for(var i in n)"default"!==i&&function(t){o.d(e,t,(function(){return n[t]}))}(i);e["default"]=r.a},"41d9":function(t,e,o){"use strict";var n=o("6d56"),r=o.n(n);r.a},"41f9":function(t,e,o){"use strict";o.r(e);var n=o("6ddb"),r=o("bf8f");for(var i in r)"default"!==i&&function(t){o.d(e,t,(function(){return r[t]}))}(i);o("41d9");var a,u=o("f0c5"),s=Object(u["a"])(r["default"],n["b"],n["c"],!1,null,"0b53f9ba",null,!1,n["a"],a);e["default"]=s.exports},4597:function(t,e,o){"use strict";o("cb29"),o("a9e3"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n={};(function(){function t(t){var e,o,n;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),n=128+(63&t),[e,o,n])}function e(e){for(var o=[],n=0;n<e.length;n++)for(var r=e.charCodeAt(n),i=t(r),a=0;a<i.length;a++)o.push(i[a]);return o}function o(t,o){this.typeNumber=-1,this.errorCorrectLevel=o,this.modules=null,this.moduleCount=0,this.dataCache=null,this.rsBlocks=null,this.totalDataCount=-1,this.data=t,this.utf8bytes=e(t),this.make()}o.prototype={constructor:o,getModuleCount:function(){return this.moduleCount},make:function(){this.getRightType(),this.dataCache=this.createData(),this.createQrcode()},makeImpl:function(t){this.moduleCount=4*this.typeNumber+17,this.modules=new Array(this.moduleCount);for(var e=0;e<this.moduleCount;e++)this.modules[e]=new Array(this.moduleCount);this.setupPositionProbePattern(0,0),this.setupPositionProbePattern(this.moduleCount-7,0),this.setupPositionProbePattern(0,this.moduleCount-7),this.setupPositionAdjustPattern(),this.setupTimingPattern(),this.setupTypeInfo(!0,t),this.typeNumber>=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 n=-1;n<=7;n++)e+n<=-1||this.moduleCount<=e+n||(this.modules[t+o][e+n]=0<=o&&o<=6&&(0==n||6==n)||0<=n&&n<=6&&(0==o||6==o)||2<=o&&o<=4&&2<=n&&n<=4)},createQrcode:function(){for(var t=0,e=0,o=null,n=0;n<8;n++){this.makeImpl(n);var r=a.getLostPoint(this);(0==n||t>r)&&(t=r,e=n,o=this.modules)}this.modules=o,this.setupTypeInfo(!1,e),this.typeNumber>=7&&this.setupTypeNumber(!1)},setupTimingPattern:function(){for(var t=8;t<this.moduleCount-8;t++)null==this.modules[t][6]&&(this.modules[t][6]=t%2==0,null==this.modules[6][t]&&(this.modules[6][t]=t%2==0))},setupPositionAdjustPattern:function(){for(var t=a.getPatternPosition(this.typeNumber),e=0;e<t.length;e++)for(var o=0;o<t.length;o++){var n=t[e],r=t[o];if(null==this.modules[n][r])for(var i=-2;i<=2;i++)for(var u=-2;u<=2;u++)this.modules[n+i][r+u]=-2==i||2==i||-2==u||2==u||0==i&&0==u}},setupTypeNumber:function(t){for(var e=a.getBCHTypeNumber(this.typeNumber),o=0;o<18;o++){var n=!t&&1==(e>>o&1);this.modules[Math.floor(o/3)][o%3+this.moduleCount-8-3]=n,this.modules[o%3+this.moduleCount-8-3][Math.floor(o/3)]=n}},setupTypeInfo:function(t,e){for(var o=r[this.errorCorrectLevel]<<3|e,n=a.getBCHTypeInfo(o),i=0;i<15;i++){var u=!t&&1==(n>>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==(n>>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 n=0,r=this.utf8bytes.length;n<r;n++)t.put(this.utf8bytes[n],8);t.length+4<=8*this.totalDataCount&&t.put(0,4);while(t.length%8!=0)t.putBit(!1);while(1){if(t.length>=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,n=0,r=this.rsBlock.length/3,i=new Array,u=0;u<r;u++)for(var s=this.rsBlock[3*u+0],l=this.rsBlock[3*u+1],c=this.rsBlock[3*u+2],f=0;f<s;f++)i.push([c,l]);for(var h=new Array(i.length),p=new Array(i.length),g=0;g<i.length;g++){var m=i[g][0],v=i[g][1]-m;o=Math.max(o,m),n=Math.max(n,v),h[g]=new Array(m);for(u=0;u<h[g].length;u++)h[g][u]=255&t.buffer[u+e];e+=m;var b=a.getErrorCorrectPolynomial(v),y=new d(h[g],b.getLength()-1),w=y.mod(b);p[g]=new Array(b.getLength()-1);for(u=0;u<p[g].length;u++){var T=u+w.getLength()-p[g].length;p[g][u]=T>=0?w.get(T):0}}var C=new Array(this.totalDataCount),x=0;for(u=0;u<o;u++)for(g=0;g<i.length;g++)u<h[g].length&&(C[x++]=h[g][u]);for(u=0;u<n;u++)for(g=0;g<i.length;g++)u<p[g].length&&(C[x++]=p[g][u]);return C},mapData:function(t,e){for(var o=-1,n=this.moduleCount-1,r=7,i=0,u=this.moduleCount-1;u>0;u-=2){6==u&&u--;while(1){for(var s=0;s<2;s++)if(null==this.modules[n][u-s]){var d=!1;i<t.length&&(d=1==(t[i]>>>r&1));var l=a.getMask(e,n,u-s);l&&(d=!d),this.modules[n][u-s]=d,r--,-1==r&&(i++,r=7)}if(n+=o,n<0||this.moduleCount<=n){n-=o,o=-o;break}}}}},o.PAD0=236,o.PAD1=17;for(var r=[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<<a.getBCHDigit(e)-a.getBCHDigit(a.G15);return(t<<10|e)^a.G15_MASK},getBCHTypeNumber:function(t){var e=t<<12;while(a.getBCHDigit(e)-a.getBCHDigit(a.G18)>=0)e^=a.G18<<a.getBCHDigit(e)-a.getBCHDigit(a.G18);return t<<12|e},getBCHDigit:function(t){var e=0;while(0!=t)e++,t>>>=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;o<t;o++)e=e.multiply(new d([1,u.gexp(o)],0));return e},getLostPoint:function(t){for(var e=t.getModuleCount(),o=0,n=0,r=0;r<e;r++)for(var i=0,a=t.modules[r][0],u=0;u<e;u++){var s=t.modules[r][u];if(u<e-6&&s&&!t.modules[r][u+1]&&t.modules[r][u+2]&&t.modules[r][u+3]&&t.modules[r][u+4]&&!t.modules[r][u+5]&&t.modules[r][u+6]&&(u<e-10?t.modules[r][u+7]&&t.modules[r][u+8]&&t.modules[r][u+9]&&t.modules[r][u+10]&&(o+=40):u>3&&t.modules[r][u-1]&&t.modules[r][u-2]&&t.modules[r][u-3]&&t.modules[r][u-4]&&(o+=40)),r<e-1&&u<e-1){var d=0;s&&d++,t.modules[r+1][u]&&d++,t.modules[r][u+1]&&d++,t.modules[r+1][u+1]&&d++,0!=d&&4!=d||(o+=3)}a^s?i++:(a=s,i>=5&&(o+=3+i-5),i=1),s&&n++}for(u=0;u<e;u++)for(i=0,a=t.modules[0][u],r=0;r<e;r++){s=t.modules[r][u];r<e-6&&s&&!t.modules[r+1][u]&&t.modules[r+2][u]&&t.modules[r+3][u]&&t.modules[r+4][u]&&!t.modules[r+5][u]&&t.modules[r+6][u]&&(r<e-10?t.modules[r+7][u]&&t.modules[r+8][u]&&t.modules[r+9][u]&&t.modules[r+10][u]&&(o+=40):r>3&&t.modules[r-1][u]&&t.modules[r-2][u]&&t.modules[r-3][u]&&t.modules[r-4][u]&&(o+=40)),a^s?i++:(a=s,i>=5&&(o+=3+i-5),i=1)}var l=Math.abs(100*n/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<<s;for(s=8;s<256;s++)u.EXP_TABLE[s]=u.EXP_TABLE[s-4]^u.EXP_TABLE[s-5]^u.EXP_TABLE[s-6]^u.EXP_TABLE[s-8];for(s=0;s<255;s++)u.LOG_TABLE[u.EXP_TABLE[s]]=s;function d(t,e){if(void 0==t.length)throw new Error(t.length+"/"+e);var o=0;while(o<t.length&&0==t[o])o++;this.num=new Array(t.length-o+e);for(var n=0;n<t.length-o;n++)this.num[n]=t[n+o]}d.prototype={get:function(t){return this.num[t]},getLength:function(){return this.num.length},multiply:function(t){for(var e=new Array(this.getLength()+t.getLength()-1),o=0;o<this.getLength();o++)for(var n=0;n<t.getLength();n++)e[o+n]^=u.gexp(u.glog(this.get(o))+u.glog(t.get(n)));return new d(e,0)},mod:function(t){var e=this.getLength(),o=t.getLength();if(e-o<0)return this;for(var n=new Array(e),r=0;r<e;r++)n[r]=this.get(r);while(n.length>=o){var i=u.glog(n[0])-u.glog(t.get(0));for(r=0;r<t.getLength();r++)n[r]^=u.gexp(u.glog(t.get(r))+i);while(0==n[0])n.shift()}return new d(n,0)}};var l=[[1,26,19],[1,26,16],[1,26,13],[1,26,9],[1,44,34],[1,44,28],[1,44,22],[1,44,16],[1,70,55],[1,70,44],[2,35,17],[2,35,13],[1,100,80],[2,50,32],[2,50,24],[4,25,9],[1,134,108],[2,67,43],[2,33,15,2,34,16],[2,33,11,2,34,12],[2,86,68],[4,43,27],[4,43,19],[4,43,15],[2,98,78],[4,49,31],[2,32,14,4,33,15],[4,39,13,1,40,14],[2,121,97],[2,60,38,2,61,39],[4,40,18,2,41,19],[4,40,14,2,41,15],[2,146,116],[3,58,36,2,59,37],[4,36,16,4,37,17],[4,36,12,4,37,13],[2,86,68,2,87,69],[4,69,43,1,70,44],[6,43,19,2,44,20],[6,43,15,2,44,16],[4,101,81],[1,80,50,4,81,51],[4,50,22,4,51,23],[3,36,12,8,37,13],[2,116,92,2,117,93],[6,58,36,2,59,37],[4,46,20,6,47,21],[7,42,14,4,43,15],[4,133,107],[8,59,37,1,60,38],[8,44,20,4,45,21],[12,33,11,4,34,12],[3,145,115,1,146,116],[4,64,40,5,65,41],[11,36,16,5,37,17],[11,36,12,5,37,13],[5,109,87,1,110,88],[5,65,41,5,66,42],[5,54,24,7,55,25],[11,36,12],[5,122,98,1,123,99],[7,73,45,3,74,46],[15,43,19,2,44,20],[3,45,15,13,46,16],[1,135,107,5,136,108],[10,74,46,1,75,47],[1,50,22,15,51,23],[2,42,14,17,43,15],[5,150,120,1,151,121],[9,69,43,4,70,44],[17,50,22,1,51,23],[2,42,14,19,43,15],[3,141,113,4,142,114],[3,70,44,11,71,45],[17,47,21,4,48,22],[9,39,13,16,40,14],[3,135,107,5,136,108],[3,67,41,13,68,42],[15,54,24,5,55,25],[15,43,15,10,44,16],[4,144,116,4,145,117],[17,68,42],[17,50,22,6,51,23],[19,46,16,6,47,17],[2,139,111,7,140,112],[17,74,46],[7,54,24,16,55,25],[34,37,13],[4,151,121,5,152,122],[4,75,47,14,76,48],[11,54,24,14,55,25],[16,45,15,14,46,16],[6,147,117,4,148,118],[6,73,45,14,74,46],[11,54,24,16,55,25],[30,46,16,2,47,17],[8,132,106,4,133,107],[8,75,47,13,76,48],[7,54,24,22,55,25],[22,45,15,13,46,16],[10,142,114,2,143,115],[19,74,46,4,75,47],[28,50,22,6,51,23],[33,46,16,4,47,17],[8,152,122,4,153,123],[22,73,45,3,74,46],[8,53,23,26,54,24],[12,45,15,28,46,16],[3,147,117,10,148,118],[3,73,45,23,74,46],[4,54,24,31,55,25],[11,45,15,31,46,16],[7,146,116,7,147,117],[21,73,45,7,74,46],[1,53,23,37,54,24],[19,45,15,26,46,16],[5,145,115,10,146,116],[19,75,47,10,76,48],[15,54,24,25,55,25],[23,45,15,25,46,16],[13,145,115,3,146,116],[2,74,46,29,75,47],[42,54,24,1,55,25],[23,45,15,28,46,16],[17,145,115],[10,74,46,23,75,47],[10,54,24,35,55,25],[19,45,15,35,46,16],[17,145,115,1,146,116],[14,74,46,21,75,47],[29,54,24,19,55,25],[11,45,15,46,46,16],[13,145,115,6,146,116],[14,74,46,23,75,47],[44,54,24,7,55,25],[59,46,16,1,47,17],[12,151,121,7,152,122],[12,75,47,26,76,48],[39,54,24,14,55,25],[22,45,15,41,46,16],[6,151,121,14,152,122],[6,75,47,34,76,48],[46,54,24,10,55,25],[2,45,15,64,46,16],[17,152,122,4,153,123],[29,74,46,14,75,47],[49,54,24,10,55,25],[24,45,15,46,46,16],[4,152,122,18,153,123],[13,74,46,32,75,47],[48,54,24,14,55,25],[42,45,15,32,46,16],[20,147,117,4,148,118],[40,75,47,7,76,48],[43,54,24,22,55,25],[10,45,15,67,46,16],[19,148,118,6,149,119],[18,75,47,31,76,48],[34,54,24,34,55,25],[20,45,15,61,46,16]];function c(){this.buffer=new Array,this.length=0}o.prototype.getRightType=function(){for(var t=1;t<41;t++){var e=l[4*(t-1)+this.errorCorrectLevel];if(void 0==e)throw new Error("bad rs block @ typeNumber:"+t+"/errorCorrectLevel:"+this.errorCorrectLevel);for(var o=e.length/3,n=0,r=0;r<o;r++){var i=e[3*r+0],a=e[3*r+2];n+=a*i}var u=t>9?2:1;if(this.utf8bytes.length+u<n||40==t){this.typeNumber=t,this.rsBlock=e,this.totalDataCount=n;break}}},c.prototype={get:function(t){var e=Math.floor(t/8);return this.buffer[e]>>>7-t%8&1},put:function(t,e){for(var o=0;o<e;o++)this.putBit(t>>>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=[];n=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 n=null,r=(e=0,f.length);e<r;e++)if(f[e].text==this.options.text&&f[e].text.correctLevel==this.options.correctLevel){n=f[e].obj;break}e==r&&(n=new o(this.options.text,this.options.correctLevel),f.push({text:this.options.text,correctLevel:this.options.correctLevel,obj:n}));var i=function(t){var e=t.options;return e.pdground&&(t.row>1&&t.row<5&&t.col>1&&t.col<5||t.row>t.count-6&&t.row<t.count-2&&t.col>1&&t.col<5||t.row>1&&t.row<5&&t.col>t.count-6&&t.col<t.count-2)?e.pdground:e.foreground},a=function(t){t.showLoading&&uni.showLoading({title:t.loadingText,mask:!0});for(var e=uni.createCanvasContext(t.canvasId,t.context),o=n.getModuleCount(),r=t.size,a=t.imageSize,u=(r/o).toPrecision(4),s=(r/o).toPrecision(4),d=0;d<o;d++)for(var l=0;l<o;l++){var c=Math.ceil((l+1)*u)-Math.floor(l*u),f=Math.ceil((d+1)*u)-Math.floor(d*u),h=i({row:d,col:l,count:o,options:t});e.setFillStyle(n.modules[d][l]?h:t.background),e.fillRect(Math.round(l*u),Math.round(d*s),c,f)}if(t.image){var p=function(e,o,n,r,i,a,u,s,d){e.setLineWidth(u),e.setFillStyle(t.background),e.setStrokeStyle(t.background),e.beginPath(),e.moveTo(o+a,n),e.arcTo(o+r,n,o+r,n+a,a),e.arcTo(o+r,n+i,o+r-a,n+i,a),e.arcTo(o,n+i,o,n+i-a,a),e.arcTo(o,n,o+a,n,a),e.closePath(),s&&e.fill(),d&&e.stroke()},g=Number(((r-a)/2).toFixed(2)),m=Number(((r-a)/2).toFixed(2));p(e,g,m,a,a,2,6,!0,!0),e.drawImage(t.image,g,m,a,a)}setTimeout((function(){e.draw(!0,(function(){setTimeout((function(){uni.canvasToTempFilePath({width:t.width,height:t.height,destWidth:t.width,destHeight:t.height,canvasId:t.canvasId,quality:Number(1),success:function(e){t.cbResult&&t.cbResult(e.tempFilePath)},fail:function(e){t.cbResult&&t.cbResult(e)},complete:function(){t.showLoading&&uni.hideLoading()}},t.context)}),t.text.length+100)}))}),t.usingComponents?0:150)};a(this.options)},n.prototype.clear=function(t){var e=uni.createCanvasContext(this.options.canvasId,this.options.context);e.clearRect(0,0,this.options.size,this.options.size),e.draw(!1,(function(){t&&t()}))}})();var r=n;e.default=r},"561d":function(t,e,o){"use strict";o.r(e);var n=o("2d1d"),r=o("3bcf");for(var i in r)"default"!==i&&function(t){o.d(e,t,(function(){return r[t]}))}(i);o("172e");var a,u=o("f0c5"),s=Object(u["a"])(r["default"],n["b"],n["c"],!1,null,"6560465a",null,!1,n["a"],a);e["default"]=s.exports},"67c9":function(t,e,o){t.exports=o.p+"static/img/add.7d26cf79.png"},"6d56":function(t,e,o){var n=o("87a2");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var r=o("4f065").default;r("0919d0f3",n,!0,{sourceMap:!1,shadowMode:!1})},"6ddb":function(t,e,o){"use strict";o.d(e,"b",(function(){return r})),o.d(e,"c",(function(){return i})),o.d(e,"a",(function(){return n}));var n={tkiQrcode:o("561d").default},r=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{staticClass:"content"},[n("v-uni-view",{staticClass:"trc-tit"},[t._v("一、TRC20充值地址")]),n("v-uni-view",{staticClass:"code-content"},[n("tki-qrcode",{ref:"qrcode",attrs:{cid:t.cid,val:t.val,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),n("v-uni-text",{staticStyle:{"padding-left":"15rpx",display:"inline-block","word-break":"break-all","text-align":"center"}}),n("v-uni-view",{staticStyle:{width:"750rpx","text-align":"center"}},[t._v(t._s(t.val))]),n("v-uni-view",{staticClass:"trc-dz flex",staticStyle:{"justify-content":"flex-start","align-items":"flex-start"}}),n("v-uni-view",{staticClass:"copy-btn",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.comfirm(t.val)}}},[t._v("复制地址")]),n("v-uni-view",{staticClass:"trc-tit",staticStyle:{"margin-top":"50rpx"}},[t._v("二、上传支付凭证")]),n("v-uni-view",{staticClass:"up-img",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.imgsub.apply(void 0,arguments)}}},[t.upimg?n("v-uni-image",{attrs:{src:t.upimg,mode:""}}):n("v-uni-image",{attrs:{src:o("67c9"),mode:""}})],1),n("v-uni-input",{staticStyle:{"text-align":"center",display:"block",width:"350rpx",margin:"20rpx auto 40rpx",border:"1rpx solid #d9ad7c","line-height":"70rpx",height:"70rpx","border-radius":"10rpx"},attrs:{type:"text",placeholder:"请输入充值金额"},model:{value:t.payNum,callback:function(e){t.payNum=e},expression:"payNum"}}),n("v-uni-view",{staticClass:"up-btn",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.upPz.apply(void 0,arguments)}}},[t._v("提交凭证")])],1)},i=[]},"87a2":function(t,e,o){var n=o("24fb");e=n(!1),e.push([t.i,'@charset "UTF-8";\n/* 页面左右间距 */\n/* 文字尺寸 */\n/*文字颜色*/\n/* 边框颜色 */\n/*颜色*/\n/* 图片加载中颜色 */\n/* 行为相关颜色 */\n/* 功能栏字体大小 */\n/*功能栏左侧小图标*/uni-page-body[data-v-0b53f9ba]{background:#fff;height:100%}.copy-btn[data-v-0b53f9ba]{width:%?200?%;border-radius:%?50?%;height:%?50?%;border:%?1?% solid #eccca2;margin:auto;text-align:center;color:#d9ad7c;font-size:%?32?%;line-height:%?50?%}.content[data-v-0b53f9ba]{background-color:#fff}.code-content[data-v-0b53f9ba]{width:%?300?%;height:%?300?%;margin:0 auto}.trc-tit[data-v-0b53f9ba]{padding:%?30?% 0 %?30?% %?20?%;text-align:left;font-size:%?38?%;font-weight:700}.trc-dz[data-v-0b53f9ba]{padding:0 %?20?%;text-align:justify;line-height:%?50?%;font-size:%?32?%;padding-top:%?20?%}.up-btn[data-v-0b53f9ba]{width:%?200?%;border-radius:%?50?%;height:%?50?%;border:%?1?% solid #eccca2;margin:auto;text-align:center;color:#fff;background-color:#eccca2;font-size:%?32?%;line-height:%?50?%}.up-img[data-v-0b53f9ba]{width:%?300?%;height:%?300?%;margin:%?50?% auto %?60?%}.up-img uni-image[data-v-0b53f9ba]{width:%?300?%;height:%?300?%}body.?%PAGE?%[data-v-0b53f9ba]{background:#fff}',""]),t.exports=e},8946:function(t,e,o){"use strict";var n=o("4ea4");o("a9e3"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r,i=n(o("4597")),a={name:"tki-qrcode",props:{cid:{type:String,default:"tki-qrcode-canvas"},size:{type:Number,default:200},unit:{type:String,default:"upx"},show:{type:Boolean,default:!0},val:{type:String,default:""},background:{type:String,default:"#ffffff"},foreground:{type:String,default:"#000000"},pdground:{type:String,default:"#000000"},icon:{type:String,default:""},iconSize:{type:Number,default:40},lv:{type:Number,default:3},onval:{type:Boolean,default:!1},loadMake:{type:Boolean,default:!1},usingComponents:{type:Boolean,default:!0},showLoading:{type:Boolean,default:!0},loadingText:{type:String,default:"二维码生成中"}},data:function(){return{result:""}},methods:{_makeCode:function(){var t=this;this._empty(this.val)?uni.showToast({title:"二维码内容不能为空",icon:"none",duration:2e3}):r=new i.default({context:t,canvasId:t.cid,usingComponents:t.usingComponents,showLoading:t.showLoading,loadingText:t.loadingText,text:t.val,size:t.cpSize,background:t.background,foreground:t.foreground,pdground:t.pdground,correctLevel:t.lv,image:t.icon,imageSize:t.iconSize,cbResult:function(e){t._result(e)}})},_clearCode:function(){this._result(""),r.clear()},_saveCode:function(){var t=this;""!=this.result&&uni.saveImageToPhotosAlbum({filePath:t.result,success:function(){uni.showToast({title:"二维码保存成功",icon:"success",duration:2e3})}})},_result:function(t){this.result=t,this.$emit("result",t)},_empty:function(t){var e=typeof t,o=!1;return"number"==e&&""==String(t)||"undefined"==e?o=!0:"object"==e?"{}"!=JSON.stringify(t)&&"[]"!=JSON.stringify(t)&&null!=t||(o=!0):"string"==e?""!=t&&"undefined"!=t&&"null"!=t&&"{}"!=t&&"[]"!=t||(o=!0):"function"==e&&(o=!1),o}},watch:{size:function(t,e){var o=this;t==e||this._empty(t)||(this.cSize=t,this._empty(this.val)||setTimeout((function(){o._makeCode()}),100))},val:function(t,e){var o=this;this.onval&&(t==e||this._empty(t)||setTimeout((function(){o._makeCode()}),0))}},computed:{cpSize:function(){return"upx"==this.unit?uni.upx2px(this.size):this.size}},mounted:function(){var t=this;this.loadMake&&(this._empty(this.val)||setTimeout((function(){t._makeCode()}),0))}};e.default=a},a1f1:function(t,e,o){"use strict";var n=o("dbce");Object.defineProperty(e,"__esModule",{value:!0}),e.groom4=i,e.groom1=a,e.groom3=u,e.loadIndexs=s,e.getChangCi=d,e.subscribe=l,e.advance=c,e.section=f,e.purchase=h,e.zfpay=p,e.hanging_sale=g,e.see_order=m,e.product=v,e.transaction=b,e.upPz=y,e.getQr=w,e.upload=T;var r=n(o("351d"));function i(t){return(0,r.default)({url:"/api/groom/list/4",method:"get",data:t})}function a(t){return(0,r.default)({url:"/api/groom/list/1",method:"get",data:t})}function u(t){return(0,r.default)({url:"/api/groom/list/3",method:"get",data:t})}function s(t){return(0,r.default)({url:"/api/index",method:"get",data:t})}function d(t){return(0,r.default)({url:"/api/auction",method:"get",data:t})}function l(t){return(0,r.default)({url:"/api/subscribe",method:"post",data:t})}function c(t){return(0,r.default)({url:"/api/advance",method:"get",data:t})}function f(t){return(0,r.default)({url:"/api/section",method:"get",data:t})}function h(t){return(0,r.default)({url:"/api/purchase",method:"get",data:t})}function p(t){return(0,r.default)({url:"/api/zfpay",method:"post",data:t})}function g(t){return(0,r.default)({url:"/api/hanging_sale",method:"post",data:t})}function m(t){return(0,r.default)({url:"/api/auction/see_order",method:"get",data:t})}function v(t){return(0,r.default)({url:"/api/auction/product",method:"get",data:t})}function b(t){return(0,r.default)({url:"/api/edit_pas",method:"post",data:t})}function y(t){return(0,r.default)({url:"/api/examine",method:"post",data:t})}function w(t){return(0,r.default)({url:"/api/brc",method:"get",data:t})}function T(t){return(0,r.upFilse)({url:"/api/upload",method:"post",data:t})}},ae21:function(t,e,o){"use strict";var n=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=p,e.orderDel=g,e.refund=m,e.refundReason=v,e.orderTake=b,e.orderPay=y,e.createOrderkey=w,e.computedOrderkey=T,e.user_auction_order=C,e.seller=x,e.up_image=P,e.cancel=k,e.untreated=_;var r=n(o("351d"));function i(t){return(0,r.default)({url:"/api/order/confirm",method:"post",data:t})}function a(t,e){return(0,r.default)({url:"/api/coupons/order/"+e,method:"get",data:t})}function u(t,e){return(0,r.default)({url:"/api/coupons/user/"+e,method:"get",data:t})}function s(t){return(0,r.default)({url:"/api/order/comment",method:"post",data:t})}function d(t){return(0,r.default)({url:"/api/order/product",method:"post",data:t})}function l(t){return(0,r.default)({url:"/api/order/express_query",method:"get",data:t})}function c(t){return(0,r.upFilse)({url:"/api/upload/image",method:"post",data:t})}function f(t){return(0,r.default)({url:"/api/order/list",method:"get",data:t})}function h(t,e){return(0,r.default)({url:"/api/order/detail/"+e,method:"get",data:t})}function p(t){return(0,r.default)({url:"/api/order/cancel",method:"post",data:t})}function g(t){return(0,r.default)({url:"/api/order/del",method:"get",data:t})}function m(t){return(0,r.default)({url:"/api/order/refund/verify",method:"post",data:t})}function v(t){return(0,r.default)({url:"/api/order/refund/reason",method:"get",data:t})}function b(t){return(0,r.default)({url:"/api/order/take",method:"post",data:t})}function y(t){return(0,r.default)({url:"/api/order/pay",method:"post",data:t})}function w(t,e){return(0,r.default)({url:"/api/order/create/"+e,method:"post",data:t})}function T(t){return(0,r.default)({url:"/api/order/computed/"+t.orderkey,method:"post",data:t})}function C(t){return(0,r.default)({url:"/api/user_auction_order",method:"get",data:t})}function x(t){return(0,r.default)({url:"/api/seller",method:"get",data:t})}function P(t){return(0,r.default)({url:"/api/auction/up_image",method:"post",data:t})}function k(t){return(0,r.default)({url:"/api/auction/cancel",method:"post",data:t})}function _(t){return(0,r.default)({url:"/api/auction/untreated",method:"get",data:t})}},bf8f:function(t,e,o){"use strict";o.r(e);var n=o("d0ce"),r=o.n(n);for(var i in n)"default"!==i&&function(t){o.d(e,t,(function(){return n[t]}))}(i);e["default"]=r.a},cb29:function(t,e,o){var n=o("23e7"),r=o("81d5"),i=o("44d2");n({target:"Array",proto:!0},{fill:r}),i("fill")},d0ce:function(t,e,o){"use strict";var n=o("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(o("ade3")),i=n(o("561d")),a=o("ae21"),u=o("a1f1"),s={comments:{tkiQrcode:i.default},data:function(){return(0,r.default)({cid:"tki-qrcode-canvas",size:300,unit:"upx",show:!0,val:"",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,canHeight:"",canWeidth:"",upimg:"",payNum:""},"loading",!1)},onLoad:function(){this.getQr()},onShow:function(){},onReachBottom:function(){},onReady:function(){},methods:{imgsub:function(){var t=this;console.log("imgsub"),(0,a.upload)({filename:""}).then((function(e){t.upimg=e[0].url,console.log(e[0].url)}))},comfirm:function(t){console.log(t);var e=this.uniCopy(t);!1===e?uni.showToast({title:"不支持"}):uni.showToast({title:"复制成功",icon:"none"}),this.$refs.popupkf.close()},uniCopy:function(t){if(!document.queryCommandSupported("copy"))return!1;var e=document.createElement("textarea");e.value=t,e.readOnly="readOnly",document.body.appendChild(e),e.select(),e.setSelectionRange(0,t.length);var o=document.execCommand("copy");return e.remove(),o},getQr:function(){var t=this;(0,u.getQr)().then((function(e){console.log(e),t.val=e.data[0]}))},qrR:function(){},upPz:function(){var t=this;return""==t.upimg?t.$api.msg("请选择要上传的凭证"):""==t.payNum?t.$api.msg("请输入充值金额"):void(t.loading||(t.loading=!0,(0,u.upPz)({image:t.upimg,money:t.payNum}).then((function(e){console.log(e),uni.showToast({title:"提交成功",duration:2e3}),t.loading=!1}))))}}};e.default=s},d314:function(t,e,o){var n=o("24fb");e=n(!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},ff50:function(t,e,o){var n=o("d314");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var r=o("4f065").default;r("5b7b8b59",n,!0,{sourceMap:!1,shadowMode:!1})}}]);
|