(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-my-pay-pay"],{"03dc":function(t,e,n){"use strict";n.d(e,"b",(function(){return r})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){}));var r=function(){var t=this.$createElement,e=this._self._c||t;return e("v-uni-view",{staticClass:"tki-barcode"},[e("v-uni-canvas",{staticClass:"tki-barcode-canvas",style:{width:this.canvasWidth+"px",height:this.canvasHeight+"px"},attrs:{"canvas-id":this.cid}}),e("v-uni-image",{directives:[{name:"show",rawName:"v-show",value:this.show,expression:"show"}],style:{width:this.canvasWidth+"px",height:this.canvasHeight+"px"},attrs:{src:this.result}})],1)},o=[]},"0481":function(t,e,n){"use strict";var r=n("23e7"),o=n("a2bf"),i=n("7b0b"),a=n("07fa"),u=n("5926"),c=n("65f0");r({target:"Array",proto:!0},{flat:function(){var t=arguments.length?arguments[0]:void 0,e=i(this),n=a(e),r=c(e,0);return r.length=o(r,e,e,n,0,void 0===t?1:u(t)),r}})},"0958":function(t,e,n){"use strict";var r=n("7037").default;n("7a82"),n("d9e2"),n("d401"),n("131a"),n("3410"),n("0481"),n("4069"),Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var n=0;n10*n.width?10*n.width:n.fontSize,o.guardHeight=n.height+o.fontSize/2+n.textMargin,o}return function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+r(e));t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),o(e,[{key:"encode",value:function(){return this.options.flat?this.encodeFlat():this.encodeGuarded()}},{key:"leftText",value:function(t,e){return this.text.substr(t,e)}},{key:"leftEncode",value:function(t,e){return(0,u.default)(t,e)}},{key:"rightText",value:function(t,e){return this.text.substr(t,e)}},{key:"rightEncode",value:function(t,e){return(0,u.default)(t,e)}},{key:"encodeGuarded",value:function(){var t={fontSize:this.fontSize},e={height:this.guardHeight};return[{data:i.SIDE_BIN,options:e},{data:this.leftEncode(),text:this.leftText(),options:t},{data:i.MIDDLE_BIN,options:e},{data:this.rightEncode(),text:this.rightText(),options:t},{data:i.SIDE_BIN,options:e}]}},{key:"encodeFlat",value:function(){var t=[i.SIDE_BIN,this.leftEncode(),i.MIDDLE_BIN,this.rightEncode(),i.SIDE_BIN];return{data:t.join(""),text:this.text}}}]),e}(f.default);e.default=l},"16c8":function(t,e,n){"use strict";n("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.MSI1110=e.MSI1010=e.MSI11=e.MSI10=e.MSI=void 0;var r=n("ed9d"),o=p(r),i=n("9875"),a=p(i),u=n("311a"),c=p(u),f=n("8dd3"),s=p(f),l=n("8c508"),d=p(l);function p(t){return t&&t.__esModule?t:{default:t}}e.MSI=o.default,e.MSI10=a.default,e.MSI11=c.default,e.MSI1010=s.default,e.MSI1110=d.default},"171a":function(t,e,n){var r=n("24fb");e=r(!1),e.push([t.i,".tki-barcode[data-v-11529e7c]{position:relative}.tki-barcode-canvas[data-v-11529e7c]{position:fixed;top:%?-99999?%;left:%?-99999?%;z-index:-99999}.content-main-barcode uni-image[data-v-11529e7c]{width:%?600?%!important}",""]),t.exports=e},2192:function(t,e,n){var r=n("fbaf");r.__esModule&&(r=r.default),"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var o=n("4f06").default;o("1bc1a102",r,!0,{sourceMap:!1,shadowMode:!1})},"2bc0":function(t,e,n){"use strict";n("7a82");var r=n("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n("a620")),i=r(n("8854")),a=r(n("e89f")),u=r(n("6128")),c={data:function(){return{opations:{width:4,height:120,displayValue:!1,text:"",background:"#FFFFFF",margin:0},img_path:"",my_data:{id:0}}},components:{tkiQrcode:u.default},onLoad:function(){},onShow:function(){o.default.routeSonHook();var t=this;setTimeout((function(){t.$refs.barcode._makeCode()}),2e3),uni.$on("data_user_info",(function(e){t.my_data=e})),t.my_data=i.default.data("user_info")},computed:{getVal:function(){var t={};return t.user_id=this.my_data.id,a.default.qrAction.toPage("/pages/my/pay/collect_amount",t)},qrPhoto:function(){return i.default.data("cache").local_photo},myPhoto:function(){return i.default.staticPhoto()+this.my_data.photo}},methods:{qrR:function(t){return this.img_path=t,t},barresult:function(t){return t},goPath:function(t){t&&uni.navigateTo({url:t})},result:function(t){return t}}};e.default=c},"2fc5":function(t,e,n){"use strict";var r=n("7037").default;n("7a82"),n("d9e2"),n("d401"),n("131a"),n("ac1f"),n("841c"),n("3410"),n("5319"),n("14d9"),Object.defineProperty(e,"__esModule",{value:!0}),e.codabar=void 0;var o=function(){function t(t,e){for(var n=0;n=i(t);return e+String.fromCharCode(r?206:205)+u(t,r)}e.default=function(t){var e=void 0,n=a(t).length;if(n>=2)e=r.C_START_CHAR+c(t);else{var f=o(t)>i(t);e=(f?r.A_START_CHAR:r.B_START_CHAR)+u(t,f)}return e.replace(/[\xCD\xCE]([^])[\xCD\xCE]/,(function(t,e){return String.fromCharCode(203)+e}))}},"96ea":function(t,e,n){"use strict";var r=n("7037").default;n("7a82"),n("d9e2"),n("d401"),n("131a"),n("3410"),n("ac1f"),n("00b4"),n("4d63"),n("c607"),n("2c3e"),n("25f0"),Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var n=0;n0?e.fontSize+e.textMargin:0)+e.marginTop+e.marginBottom:r[o].height=n=e.height+(e.displayValue&&(r[o].text?r[o].text:"").length>0?e.fontSize+e.textMargin:0)+e.marginTop+e.marginBottom})),{encodings:r,width:i,height:n}}(c,u);d({width:h.width,height:h.height}),setTimeout((function(){b.render(u,h)}),50);var b={render:function(t,e){var n=this;this.prepare(t,e),e.encodings.forEach((function(e,r){n.barcode(t,e),n.text(t,e),n.move(e)})),this.draw(t,e)},barcode:function(t,e){var n,r=e.data;n="top"==t.textPosition?t.marginTop+t.fontSize+t.textMargin:t.marginTop,s.fillStyle=t.lineColor;for(var o=0;o0?(n=0,s.setTextAlign("left")):"right"==o?(n=e.width-1,s.setTextAlign("right")):(n=e.width/2,s.setTextAlign("center")),s.fillStyle=t.fontColor,void 0!=e.text&&s.fillText(e.text,n,r))},move:function(t){s.translate(t.width,0)},prepare:function(t,e){t.background&&(s.fillStyle=t.background,s.fillRect(0,0,e.width,e.height)),s.translate(t.marginLeft,0)},draw:function(t,e){var n=this;s.draw(!1,(function(){n.toImgs(t,e)}))},toImgs:function(t,e){setTimeout((function(){uni.canvasToTempFilePath({width:e.width,height:e.height,destWidth:e.width,destHeight:e.height,canvasId:l,fileType:"png",success:function(t){p(t.tempFilePath)},fail:function(t){p(t)},complete:function(){uni.hideLoading()}},f)}),t.text.length+100)}}}})();var u=a;e.default=u},"9db6":function(t,e,n){"use strict";var r=n("7037").default;n("7a82"),n("d9e2"),n("d401"),n("131a"),n("ac1f"),n("00b4"),n("3410"),Object.defineProperty(e,"__esModule",{value:!0});var o=n("d20f"),i=c(o),a=n("9538"),u=c(a);function c(t){return t&&t.__esModule?t:{default:t}}function f(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!==r(e)&&"function"!==typeof e?t:e}var s=function(t){function e(t,n){if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),/^[\x00-\x7F\xC8-\xD3]+$/.test(t))var r=f(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,(0,u.default)(t),n));else r=f(this,(e.__proto__||Object.getPrototypeOf(e)).call(this,t,n));return f(r)}return function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+r(e));t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),e}(i.default);e.default=s},a2bf:function(t,e,n){"use strict";var r=n("e8b5"),o=n("07fa"),i=n("3511"),a=n("0366"),u=function(t,e,n,c,f,s,l,d){var p,h,b=f,v=0,y=!!l&&a(l,d);while(v0&&r(p)?(h=o(p),b=u(t,e,p,h,b,s-1)-1):(i(b+1),t[b]=p),b++),v++;return b};t.exports=u},a410:function(t,e,n){"use strict";var r=n("7037").default;n("7a82"),n("d9e2"),n("d401"),n("131a"),n("3410"),n("e25e"),n("fb6a"),Object.defineProperty(e,"__esModule",{value:!0}),e.pharmacode=void 0;var o=function(){function t(t,e){for(var n=0;n=3&&this.number<=131070}}]),e}(a.default);e.pharmacode=u},a620:function(t,e,n){"use strict";n("7a82");var r=n("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var o=r(n("c44c")),i={routeTabBarHook:function(){o.default.routeTool(),o.default.setStatusTips(),o.default.getWebUrl()},routeSonHook:function(){o.default.routeTool()}};e.default=i},ae35:function(t,e,n){"use strict";var r=n("7037").default;n("7a82"),n("d9e2"),n("d401"),n("131a"),n("3410"),n("ac1f"),n("841c"),n("0481"),n("4069"),n("14d9"),n("e25e"),Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var n=0;n10*n.width?r.fontSize=10*n.width:r.fontSize=n.fontSize,r.guardHeight=n.height+r.fontSize/2+n.textMargin,r}return function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+r(e));t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),o(e,[{key:"valid",value:function(){return this.isValid}},{key:"encode",value:function(){return this.options.flat?this.flatEncoding():this.guardedEncoding()}},{key:"flatEncoding",value:function(){var t="";return t+="101",t+=this.encodeMiddleDigits(),t+="010101",{data:t,text:this.text}}},{key:"guardedEncoding",value:function(){var t=[];return this.displayValue&&t.push({data:"00000000",text:this.text[0],options:{textAlign:"left",fontSize:this.fontSize}}),t.push({data:"101",options:{height:this.guardHeight}}),t.push({data:this.encodeMiddleDigits(),text:this.text.substring(1,7),options:{fontSize:this.fontSize}}),t.push({data:"010101",options:{height:this.guardHeight}}),this.displayValue&&t.push({data:"00000000",text:this.text[7],options:{textAlign:"right",fontSize:this.fontSize}}),t}},{key:"encodeMiddleDigits",value:function(){var t=this.upcA[0],e=this.upcA[this.upcA.length-1],n=p[parseInt(e)][parseInt(t)];return(0,a.default)(this.middleDigits,n)}}]),e}(c.default);function b(t,e){for(var n=parseInt(t[t.length-1]),r=d[n],o="",i=0,a=0;a10*n.width?o.fontSize=10*n.width:o.fontSize=n.fontSize,o.guardHeight=n.height+o.fontSize/2+n.textMargin,o}return function(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+r(e));t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,t),o(e,[{key:"valid",value:function(){return-1!==this.data.search(/^[0-9]{12}$/)&&this.data[11]==l(this.data)}},{key:"encode",value:function(){return this.options.flat?this.flatEncoding():this.guardedEncoding()}},{key:"flatEncoding",value:function(){var t="";return t+="101",t+=(0,a.default)(this.data.substr(0,6),"LLLLLL"),t+="01010",t+=(0,a.default)(this.data.substr(6,6),"RRRRRR"),t+="101",{data:t,text:this.text}}},{key:"guardedEncoding",value:function(){var t=[];return this.displayValue&&t.push({data:"00000000",text:this.text.substr(0,1),options:{textAlign:"left",fontSize:this.fontSize}}),t.push({data:"101"+(0,a.default)(this.data[0],"L"),options:{height:this.guardHeight}}),t.push({data:(0,a.default)(this.data.substr(1,5),"LLLLL"),text:this.text.substr(1,5),options:{fontSize:this.fontSize}}),t.push({data:"01010",options:{height:this.guardHeight}}),t.push({data:(0,a.default)(this.data.substr(6,5),"RRRRR"),text:this.text.substr(6,5),options:{fontSize:this.fontSize}}),t.push({data:(0,a.default)(this.data[11],"R")+"101",options:{height:this.guardHeight}}),this.displayValue&&t.push({data:"00000000",text:this.text.substr(11,1),options:{textAlign:"right",fontSize:this.fontSize}}),t}}]),e}(c.default);function l(t){var e,n=0;for(e=1;e<11;e+=2)n+=parseInt(t[e]);for(e=0;e<11;e+=2)n+=3*parseInt(t[e]);return(10-n%10)%10}e.default=s},d017:function(t,e,n){"use strict";var r=n("7037").default;n("7a82"),n("d9e2"),n("d401"),n("131a"),n("3410"),n("ac1f"),n("841c"),n("d81d"),n("466d"),Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var n=0;n=200){i=t.shift()-105;var a=u.SWAP[i];void 0!==a?o=e.next(t,n+1,a):(r!==u.SET_A&&r!==u.SET_B||i!==u.SHIFT||(t[0]=r===u.SET_A?t[0]>95?t[0]-96:t[0]:t[0]<32?t[0]+96:t[0]),o=e.next(t,n+1,r))}else i=e.correctIndex(t,r),o=e.next(t,n+1,r);var c=e.getBar(i),f=i*n;return{result:c+o.result,checksum:f+o.checksum}}}]),e}(a.default);e.default=c},d42a:function(t,e,n){"use strict";n("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.UPCE=e.UPC=e.EAN2=e.EAN5=e.EAN8=e.EAN13=void 0;var r=n("4379"),o=b(r),i=n("fa9a"),a=b(i),u=n("c430d"),c=b(u),f=n("dd0f"),s=b(f),l=n("ca2c"),d=b(l),p=n("ae35"),h=b(p);function b(t){return t&&t.__esModule?t:{default:t}}e.EAN13=o.default,e.EAN8=a.default,e.EAN5=c.default,e.EAN2=s.default,e.UPC=d.default,e.UPCE=h.default},dcd2:function(t,e,n){"use strict";n("7a82");var r=n("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n("e9c4");var o,i=r(n("ade3")),a=r(n("53ca")),u=r(n("9cd1")),c={width:4,height:120,displayValue:!0,textAlign:"center",textPosition:"bottom",textMargin:0,fontSize:24,fontColor:"#000000",lineColor:"#000000",background:"#FFFFFF",margin:0,marginTop:void 0,marginBottom:void 0,marginLeft:void 0,marginRight:void 0},f={name:"tkiBarcode",props:{show:{type:Boolean,default:!0},cid:{type:String,default:"tki-barcode-canvas"},unit:{type:String,default:"upx"},val:{type:String,default:"1234567890128"},format:{type:String,default:"CODE128"},opations:{type:Object,default:function(){return{}}},onval:{type:Boolean,default:!1},loadMake:{type:Boolean,default:!0}},data:function(){return{result:"",canvasWidth:0,canvasHeight:0,defaultOpations:Object.assign({},c)}},onUnload:function(){},methods:(o={_makeCode:function(){var t=this;Object.assign(this.defaultOpations,this.opations),"upx"==t.unit&&(t.defaultOpations.width&&(t.defaultOpations.width=uni.upx2px(t.defaultOpations.width)),t.defaultOpations.height&&(t.defaultOpations.height=uni.upx2px(t.defaultOpations.height)),t.defaultOpations.fontSize&&(t.defaultOpations.fontSize=uni.upx2px(t.defaultOpations.fontSize))),t._empty(t.defaultOpations.text)&&(t.defaultOpations.text=t.val),t._empty(t.defaultOpations.format)&&(t.defaultOpations.format=t.format),new u.default(t,t.cid,t.defaultOpations,(function(e){t.canvasWidth=e.width,t.canvasHeight=e.height}),(function(e){t._result(e),t.defaultOpations=c}))},_clearCode:function(){this._result("")},_saveCode:function(){""!=this.result&&uni.saveImageToPhotosAlbum({filePath:this.result,success:function(){uni.showToast({title:"条形码保存成功",icon:"success",duration:2e3})}})},_result:function(t){this.result=t,this.$emit("result",t)}},(0,i.default)(o,"_result",(function(t){this.result=t,this.$emit("result",t)})),(0,i.default)(o,"_empty",(function(t){var e=(0,a.default)(t),n=!1;return"number"==e&&""==String(t)||"undefined"==e?n=!0:"object"==e?"{}"!=JSON.stringify(t)&&"[]"!=JSON.stringify(t)&&null!=t||(n=!0):"string"==e?""!=t&&"undefined"!=t&&"null"!=t&&"{}"!=t&&"[]"!=t||(n=!0):"function"==e&&(n=!1),n})),o),watch:{val:function(t,e){var n=this;this.onval&&(t==e||this._empty(t)||setTimeout((function(){n._makeCode()}),0))},opations:{handler:function(t,e){var n=this;this.onval&&(this._empty(t)||setTimeout((function(){n._makeCode()}),0))},deep:!0}},mounted:function(){var t=this;this.loadMake&&(this._empty(this.val)||setTimeout((function(){t._makeCode()}),0))}};e.default=f},dd0f:function(t,e,n){"use strict";var r=n("7037").default;n("7a82"),n("d9e2"),n("d401"),n("131a"),n("3410"),n("ac1f"),n("841c"),n("e25e"),Object.defineProperty(e,"__esModule",{value:!0});var o=function(){function t(t,e){for(var n=0;n