1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-dailishang-invite-invite"],{"00b6":function(t,e,a){"use strict";a.r(e);var i=a("1c7a"),n=a.n(i);for(var o in i)"default"!==o&&function(t){a.d(e,t,(function(){return i[t]}))}(o);e["default"]=n.a},"1c7a":function(t,e,a){"use strict";var i=a("4ea4");a("99af"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=i(a("5530")),o={data:function(){return{code:"",qrcodeUrl:""}},computed:{shareUrl:function(){var t="".concat(location.origin,"/pages/dailishang/invitelanding/invitelanding?code=").concat(this.code,"&config_id=").concat(this.userInfo.config_id);return this.userInfo.source_id&&-1!=this.userInfo.source_id?"".concat(t,"&source_id=").concat(this.userInfo.source_id):t}},methods:{toShareDetail:function(){console.log(location.origin),uni.setClipboardData({data:this.shareUrl,success:function(){uni.showToast({title:"复制链接成功,快去分享给好友吧~"})}})},showQrcode:function(){uni.previewImage({urls:[this.qrcodeUrl]})},copy:function(t){uni.setClipboardData({data:t.currentTarget.dataset.text,success:function(){uni.showToast({title:"复制成功"})}})},download:function(){uni.previewImage({urls:[this.qrcodeUrl]})},loadInvite:function(){var t=this;this.reqByuser({url:"service/agent/?l=my.invite",success:function(e){1==e.data.status?(t.code=e.data.data.code,t.$refs.uqrcode.make({mode:"canvas",size:97,text:t.shareUrl}).then((function(e){console.log(e),t.qrcodeUrl=e.tempFilePath}))):uni.showToast({icon:"error",title:e.data.msg})}})}},onLoad:function(t){var e=this;this.userInfo.config_id?this.loadInvite():this.reqByuser({url:"service/agent/?l=my.getInfo",method:"GET",data:{},success:function(t){if(1==t.data.status){var a=t.data.data;e.user=a.user,e.setUserInfo((0,n.default)((0,n.default)({},e.userInfo),e.user)),e.config=a.config,getApp().globalData.config=a.config,e.loadInvite()}else uni.showToast({icon:"error",title:t.data.msg})}})}};e.default=o},"23f7":function(t,e,a){var i=a("24fb");e=i(!1),e.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */uni-page-body[data-v-136acf84]{height:100%;display:flex;flex-direction:column}.app[data-v-136acf84]{flex:1;display:flex;flex-direction:column;justify-content:space-between;align-items:center;box-sizing:border-box;padding:0 %?86?%}.app .dl[data-v-136acf84]{flex:1;height:33%;display:flex;flex-direction:column;justify-content:center;align-items:center}.app .dl .h3[data-v-136acf84]{font-size:%?34?%;font-family:PingFangSC-Medium,PingFang SC}.app .dl > *[data-v-136acf84]{margin:%?10?% 0}.app .dl .qrcode[data-v-136acf84]{width:%?194?%;height:%?194?%}.app .dl .code[data-v-136acf84]{color:#00ab78;font-size:%?88?%;font-family:FZJUNH_CUJW--GB1-0,FZJUNH_CUJW--GB1}',""]),t.exports=e},"4a5e":function(t,e,a){"use strict";var i=a("4ea4");a("d3b7"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=i(a("5530")),o={};(function(){function t(t){this.mode=a.MODE_8BIT_BYTE,this.data=t}function e(t,e){this.typeNumber=t,this.errorCorrectLevel=e,this.modules=null,this.moduleCount=0,this.dataCache=null,this.dataList=new Array}t.prototype={getLength:function(t){return this.data.length},write:function(t){for(var e=0;e<this.data.length;e++)t.put(this.data.charCodeAt(e),8)}},e.prototype={addData:function(e){var a=new t(e);this.dataList.push(a),this.dataCache=null},isDark:function(t,e){if(t<0||this.moduleCount<=t||e<0||this.moduleCount<=e)throw new Error(t+","+e);return this.modules[t][e]},getModuleCount:function(){return this.moduleCount},make:function(){if(this.typeNumber<1){var t=1;for(t=1;t<40;t++){for(var e=u.getRSBlocks(t,this.errorCorrectLevel),a=new f,i=0,n=0;n<e.length;n++)i+=e[n].dataCount;for(n=0;n<this.dataList.length;n++){var o=this.dataList[n];a.put(o.mode,4),a.put(o.getLength(),s.getLengthInBits(o.mode,t)),o.write(a)}if(a.getLengthInBits()<=8*i)break}this.typeNumber=t}this.makeImpl(!1,this.getBestMaskPattern())},makeImpl:function(t,a){this.moduleCount=4*this.typeNumber+17,this.modules=new Array(this.moduleCount);for(var i=0;i<this.moduleCount;i++){this.modules[i]=new Array(this.moduleCount);for(var n=0;n<this.moduleCount;n++)this.modules[i][n]=null}this.setupPositionProbePattern(0,0),this.setupPositionProbePattern(this.moduleCount-7,0),this.setupPositionProbePattern(0,this.moduleCount-7),this.setupPositionAdjustPattern(),this.setupTimingPattern(),this.setupTypeInfo(t,a),this.typeNumber>=7&&this.setupTypeNumber(t),null==this.dataCache&&(this.dataCache=e.createData(this.typeNumber,this.errorCorrectLevel,this.dataList)),this.mapData(this.dataCache,a)},setupPositionProbePattern:function(t,e){for(var a=-1;a<=7;a++)if(!(t+a<=-1||this.moduleCount<=t+a))for(var i=-1;i<=7;i++)e+i<=-1||this.moduleCount<=e+i||(this.modules[t+a][e+i]=0<=a&&a<=6&&(0==i||6==i)||0<=i&&i<=6&&(0==a||6==a)||2<=a&&a<=4&&2<=i&&i<=4)},getBestMaskPattern:function(){for(var t=0,e=0,a=0;a<8;a++){this.makeImpl(!0,a);var i=s.getLostPoint(this);(0==a||t>i)&&(t=i,e=a)}return e},createMovieClip:function(t,e,a){var i=t.createEmptyMovieClip(e,a),n=1;this.make();for(var o=0;o<this.modules.length;o++)for(var r=o*n,s=0;s<this.modules[o].length;s++){var c=s*n,d=this.modules[o][s];d&&(i.beginFill(0,100),i.moveTo(c,r),i.lineTo(c+n,r),i.lineTo(c+n,r+n),i.lineTo(c,r+n),i.endFill())}return i},setupTimingPattern:function(){for(var t=8;t<this.moduleCount-8;t++)null==this.modules[t][6]&&(this.modules[t][6]=t%2==0);for(var e=8;e<this.moduleCount-8;e++)null==this.modules[6][e]&&(this.modules[6][e]=e%2==0)},setupPositionAdjustPattern:function(){for(var t=s.getPatternPosition(this.typeNumber),e=0;e<t.length;e++)for(var a=0;a<t.length;a++){var i=t[e],n=t[a];if(null==this.modules[i][n])for(var o=-2;o<=2;o++)for(var r=-2;r<=2;r++)this.modules[i+o][n+r]=-2==o||2==o||-2==r||2==r||0==o&&0==r}},setupTypeNumber:function(t){for(var e=s.getBCHTypeNumber(this.typeNumber),a=0;a<18;a++){var i=!t&&1==(e>>a&1);this.modules[Math.floor(a/3)][a%3+this.moduleCount-8-3]=i}for(a=0;a<18;a++){i=!t&&1==(e>>a&1);this.modules[a%3+this.moduleCount-8-3][Math.floor(a/3)]=i}},setupTypeInfo:function(t,e){for(var a=this.errorCorrectLevel<<3|e,i=s.getBCHTypeInfo(a),n=0;n<15;n++){var o=!t&&1==(i>>n&1);n<6?this.modules[n][8]=o:n<8?this.modules[n+1][8]=o:this.modules[this.moduleCount-15+n][8]=o}for(n=0;n<15;n++){o=!t&&1==(i>>n&1);n<8?this.modules[8][this.moduleCount-n-1]=o:n<9?this.modules[8][15-n-1+1]=o:this.modules[8][15-n-1]=o}this.modules[this.moduleCount-8][8]=!t},mapData:function(t,e){for(var a=-1,i=this.moduleCount-1,n=7,o=0,r=this.moduleCount-1;r>0;r-=2){6==r&&r--;while(1){for(var c=0;c<2;c++)if(null==this.modules[i][r-c]){var d=!1;o<t.length&&(d=1==(t[o]>>>n&1));var l=s.getMask(e,i,r-c);l&&(d=!d),this.modules[i][r-c]=d,n--,-1==n&&(o++,n=7)}if(i+=a,i<0||this.moduleCount<=i){i-=a,a=-a;break}}}}},e.PAD0=236,e.PAD1=17,e.createData=function(t,a,i){for(var n=u.getRSBlocks(t,a),o=new f,r=0;r<i.length;r++){var c=i[r];o.put(c.mode,4),o.put(c.getLength(),s.getLengthInBits(c.mode,t)),c.write(o)}var d=0;for(r=0;r<n.length;r++)d+=n[r].dataCount;if(o.getLengthInBits()>8*d)throw new Error("code length overflow. ("+o.getLengthInBits()+">"+8*d+")");o.getLengthInBits()+4<=8*d&&o.put(0,4);while(o.getLengthInBits()%8!=0)o.putBit(!1);while(1){if(o.getLengthInBits()>=8*d)break;if(o.put(e.PAD0,8),o.getLengthInBits()>=8*d)break;o.put(e.PAD1,8)}return e.createBytes(o,n)},e.createBytes=function(t,e){for(var a=0,i=0,n=0,o=new Array(e.length),r=new Array(e.length),c=0;c<e.length;c++){var d=e[c].dataCount,u=e[c].totalCount-d;i=Math.max(i,d),n=Math.max(n,u),o[c]=new Array(d);for(var f=0;f<o[c].length;f++)o[c][f]=255&t.buffer[f+a];a+=d;var h=s.getErrorCorrectPolynomial(u),g=new l(o[c],h.getLength()-1),p=g.mod(h);r[c]=new Array(h.getLength()-1);for(f=0;f<r[c].length;f++){var v=f+p.getLength()-r[c].length;r[c][f]=v>=0?p.get(v):0}}var m=0;for(f=0;f<e.length;f++)m+=e[f].totalCount;var b=new Array(m),w=0;for(f=0;f<i;f++)for(c=0;c<e.length;c++)f<o[c].length&&(b[w++]=o[c][f]);for(f=0;f<n;f++)for(c=0;c<e.length;c++)f<r[c].length&&(b[w++]=r[c][f]);return b};for(var a={MODE_NUMBER:1,MODE_ALPHA_NUM:2,MODE_8BIT_BYTE:4,MODE_KANJI:8},i={L:1,M:0,Q:3,H:2},r={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7},s={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(s.getBCHDigit(e)-s.getBCHDigit(s.G15)>=0)e^=s.G15<<s.getBCHDigit(e)-s.getBCHDigit(s.G15);return(t<<10|e)^s.G15_MASK},getBCHTypeNumber:function(t){var e=t<<12;while(s.getBCHDigit(e)-s.getBCHDigit(s.G18)>=0)e^=s.G18<<s.getBCHDigit(e)-s.getBCHDigit(s.G18);return t<<12|e},getBCHDigit:function(t){var e=0;while(0!=t)e++,t>>>=1;return e},getPatternPosition:function(t){return s.PATTERN_POSITION_TABLE[t-1]},getMask:function(t,e,a){switch(t){case r.PATTERN000:return(e+a)%2==0;case r.PATTERN001:return e%2==0;case r.PATTERN010:return a%3==0;case r.PATTERN011:return(e+a)%3==0;case r.PATTERN100:return(Math.floor(e/2)+Math.floor(a/3))%2==0;case r.PATTERN101:return e*a%2+e*a%3==0;case r.PATTERN110:return(e*a%2+e*a%3)%2==0;case r.PATTERN111:return(e*a%3+(e+a)%2)%2==0;default:throw new Error("bad maskPattern:"+t)}},getErrorCorrectPolynomial:function(t){for(var e=new l([1],0),a=0;a<t;a++)e=e.multiply(new l([1,c.gexp(a)],0));return e},getLengthInBits:function(t,e){if(1<=e&&e<10)switch(t){case a.MODE_NUMBER:return 10;case a.MODE_ALPHA_NUM:return 9;case a.MODE_8BIT_BYTE:return 8;case a.MODE_KANJI:return 8;default:throw new Error("mode:"+t)}else if(e<27)switch(t){case a.MODE_NUMBER:return 12;case a.MODE_ALPHA_NUM:return 11;case a.MODE_8BIT_BYTE:return 16;case a.MODE_KANJI:return 10;default:throw new Error("mode:"+t)}else{if(!(e<41))throw new Error("type:"+e);switch(t){case a.MODE_NUMBER:return 14;case a.MODE_ALPHA_NUM:return 13;case a.MODE_8BIT_BYTE:return 16;case a.MODE_KANJI:return 12;default:throw new Error("mode:"+t)}}},getLostPoint:function(t){for(var e=t.getModuleCount(),a=0,i=0;i<e;i++)for(var n=0;n<e;n++){for(var o=0,r=t.isDark(i,n),s=-1;s<=1;s++)if(!(i+s<0||e<=i+s))for(var c=-1;c<=1;c++)n+c<0||e<=n+c||0==s&&0==c||r==t.isDark(i+s,n+c)&&o++;o>5&&(a+=3+o-5)}for(i=0;i<e-1;i++)for(n=0;n<e-1;n++){var d=0;t.isDark(i,n)&&d++,t.isDark(i+1,n)&&d++,t.isDark(i,n+1)&&d++,t.isDark(i+1,n+1)&&d++,0!=d&&4!=d||(a+=3)}for(i=0;i<e;i++)for(n=0;n<e-6;n++)t.isDark(i,n)&&!t.isDark(i,n+1)&&t.isDark(i,n+2)&&t.isDark(i,n+3)&&t.isDark(i,n+4)&&!t.isDark(i,n+5)&&t.isDark(i,n+6)&&(a+=40);for(n=0;n<e;n++)for(i=0;i<e-6;i++)t.isDark(i,n)&&!t.isDark(i+1,n)&&t.isDark(i+2,n)&&t.isDark(i+3,n)&&t.isDark(i+4,n)&&!t.isDark(i+5,n)&&t.isDark(i+6,n)&&(a+=40);var l=0;for(n=0;n<e;n++)for(i=0;i<e;i++)t.isDark(i,n)&&l++;var u=Math.abs(100*l/e/e-50)/5;return a+=10*u,a}},c={glog:function(t){if(t<1)throw new Error("glog("+t+")");return c.LOG_TABLE[t]},gexp:function(t){while(t<0)t+=255;while(t>=256)t-=255;return c.EXP_TABLE[t]},EXP_TABLE:new Array(256),LOG_TABLE:new Array(256)},d=0;d<8;d++)c.EXP_TABLE[d]=1<<d;for(d=8;d<256;d++)c.EXP_TABLE[d]=c.EXP_TABLE[d-4]^c.EXP_TABLE[d-5]^c.EXP_TABLE[d-6]^c.EXP_TABLE[d-8];for(d=0;d<255;d++)c.LOG_TABLE[c.EXP_TABLE[d]]=d;function l(t,e){if(void 0==t.length)throw new Error(t.length+"/"+e);var a=0;while(a<t.length&&0==t[a])a++;this.num=new Array(t.length-a+e);for(var i=0;i<t.length-a;i++)this.num[i]=t[i+a]}function u(t,e){this.totalCount=t,this.dataCount=e}function f(){this.buffer=new Array,this.length=0}function h(t){for(var e,a="",i=0;i<t.length;i++)e=t.charCodeAt(i),e>=1&&e<=127?a+=t.charAt(i):e>2047?(a+=String.fromCharCode(224|e>>12&15),a+=String.fromCharCode(128|e>>6&63),a+=String.fromCharCode(128|e>>0&63)):(a+=String.fromCharCode(192|e>>6&31),a+=String.fromCharCode(128|e>>0&63));return a}l.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),a=0;a<this.getLength();a++)for(var i=0;i<t.getLength();i++)e[a+i]^=c.gexp(c.glog(this.get(a))+c.glog(t.get(i)));return new l(e,0)},mod:function(t){if(this.getLength()-t.getLength()<0)return this;for(var e=c.glog(this.get(0))-c.glog(t.get(0)),a=new Array(this.getLength()),i=0;i<this.getLength();i++)a[i]=this.get(i);for(i=0;i<t.getLength();i++)a[i]^=c.gexp(c.glog(t.get(i))+e);return new l(a,0).mod(t)}},u.RS_BLOCK_TABLE=[[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]],u.getRSBlocks=function(t,e){var a=u.getRsBlockTable(t,e);if(void 0==a)throw new Error("bad rs block @ typeNumber:"+t+"/errorCorrectLevel:"+e);for(var i=a.length/3,n=new Array,o=0;o<i;o++)for(var r=a[3*o+0],s=a[3*o+1],c=a[3*o+2],d=0;d<r;d++)n.push(new u(s,c));return n},u.getRsBlockTable=function(t,e){switch(e){case i.L:return u.RS_BLOCK_TABLE[4*(t-1)+0];case i.M:return u.RS_BLOCK_TABLE[4*(t-1)+1];case i.Q:return u.RS_BLOCK_TABLE[4*(t-1)+2];case i.H:return u.RS_BLOCK_TABLE[4*(t-1)+3];default:return}},f.prototype={get:function(t){var e=Math.floor(t/8);return 1==(this.buffer[e]>>>7-t%8&1)},put:function(t,e){for(var a=0;a<e;a++)this.putBit(1==(t>>>e-a-1&1))},getLengthInBits:function(){return this.length},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++}},o={errorCorrectLevel:i,defaults:{size:354,margin:0,backgroundColor:"#FFFFFF",foregroundColor:"#000000",fileType:"png",errorCorrectLevel:i.H,typeNumber:-1},getModules:function(t){t=(0,n.default)((0,n.default)({},this.defaults),t);var a=new e(t.typeNumber,t.errorCorrectLevel);return a.addData(h(t.text)),a.make(),a.modules},make:function(t,e){var a=this;return new Promise((function(i,o){if(t=(0,n.default)((0,n.default)({},a.defaults),t),!t.canvasId)throw new Error("uQRCode: Please set canvasId!");var r=a.getModules(t),s=(t.size-2*t.margin)/r.length,c=s,d=Date.now(),l=uni.createCanvasContext(t.canvasId,e);l.setFillStyle(t.backgroundColor),l.fillRect(0,0,t.size,t.size);for(var u=0;u<r.length;u++)for(var f=0;f<r.length;f++){var h=Math.round(f*s)+t.margin,g=Math.round(u*c)+t.margin,p=Math.ceil((f+1)*s)-Math.floor(f*s),v=Math.ceil((u+1)*s)-Math.floor(u*s),m=r[u][f]?t.foregroundColor:t.backgroundColor;l.setFillStyle(m),l.fillRect(h,g,p,v)}var b=t.drawDelay?t.drawDelay:2*t.size;setTimeout((function(){l.draw(!1,(function(){var a=Date.now()-d,n=t.toFileDelay?t.toFileDelay:a+2*t.size+2*r.length;setTimeout((function(){uni.canvasToTempFilePath({canvasId:t.canvasId,fileType:t.fileType,width:t.size,height:t.size,destWidth:t.size,destHeight:t.size,success:function(t){i(Object.assign(t,{time:Date.now()-d}))},fail:function(t){o(t)}},e)}),n)}))}),b)}))}}})();var r=o;e.default=r},"517e":function(t,e,a){"use strict";var i=a("6918"),n=a.n(i);n.a},"542e":function(t,e,a){"use strict";a.r(e);var i=a("95ab"),n=a("00b6");for(var o in n)"default"!==o&&function(t){a.d(e,t,(function(){return n[t]}))}(o);a("517e"),a("c7e5");var r,s=a("f0c5"),c=Object(s["a"])(n["default"],i["b"],i["c"],!1,null,"136acf84",null,!1,i["a"],r);e["default"]=c.exports},6918:function(t,e,a){var i=a("7515");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("4f06").default;n("69453db8",i,!0,{sourceMap:!1,shadowMode:!1})},"6ae2":function(t,e,a){var i=a("ea44");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("4f06").default;n("0836455e",i,!0,{sourceMap:!1,shadowMode:!1})},7515:function(t,e,a){var i=a("24fb"),n=a("1de5"),o=a("e516"),r=a("2457"),s=a("d5ae"),c=a("71c5"),d=a("be44"),l=a("d3a1"),u=a("6464"),f=a("af09"),h=a("68b2"),g=a("c1b7"),p=a("d609"),v=a("b275"),m=a("24a3"),b=a("2350"),w=a("d186"),y=a("f546"),k=a("f3d6"),x=a("9b34"),C=a("356a"),T=a("74ea"),E=a("5134"),_=a("5a97");e=i(!1);var A=n(o),B=n(r),P=n(s),L=n(c),z=n(d),D=n(l),M=n(u),I=n(f),N=n(h),R=n(g),O=n(p),S=n(v),j=n(m),F=n(b),H=n(w),U=n(y),q=n(k),G=n(x),K=n(C),J=n(T),X=n(E),$=n(_);e.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */uni-page-head[data-v-136acf84]{display:none}uni-page-body[data-v-136acf84]{color:#111;font-size:%?28?%;font-family:PingFangSC-Regular,PingFang SC}[data-v-136acf84]::-webkit-scrollbar{display:none}.button[data-v-136acf84]{background-color:#00ae75;border-radius:%?32?%;font-size:%?32?%;line-height:%?64?%;color:#fff;padding:0 %?30?%;text-align:center;position:relative}.button.border[data-v-136acf84]{border:%?2?% solid #cecece;background-color:#fff;color:#333}.button.border-g[data-v-136acf84]{border:%?2?% solid #00ae75;background-color:initial;color:#00ae75}.button.gray[data-v-136acf84]{border:%?2?% solid #eee;background-color:#fff;color:#888}.button.disabled[data-v-136acf84]{border:%?2?% solid #ccc;background-color:#ccc;color:#fff}.button.mini[data-v-136acf84]{display:inline-block;padding:0 %?16?%;font-size:%?26?%;line-height:%?48?%}.button.big[data-v-136acf84]{line-height:%?80?%;border-radius:%?80?%}.button uni-button[data-v-136acf84]{opacity:0;position:absolute;width:100%;height:100%;left:0;top:0}.addr[data-v-136acf84]{display:flex;align-items:center}.addr[data-v-136acf84]:before{content:"";background:url('+A+') no-repeat 50%;background-size:contain;display:inline-block;width:%?18?%;height:%?26?%;margin-right:%?8?%;flex-shrink:0}.price[data-v-136acf84]{font-family:PingFangSC-Semibold,PingFang SC;display:flex;font-size:%?30?%}.price[data-v-136acf84]:before{content:"¥";margin-right:%?10?%}.icon-eye[data-v-136acf84]{background:url('+B+") no-repeat 50%;background-size:%?38?% %?28?%;display:inline-block;width:%?44?%;height:%?44?%}.icon-checkbox[data-v-136acf84]{display:inline-block;width:%?30?%;height:%?30?%;border:%?2?% solid #979797;border-radius:50%}.icon-checkbox.checked[data-v-136acf84]{background:url("+P+") no-repeat;background-size:%?34?% %?34?%;border:0;width:%?34?%;height:%?34?%}.icon-arrow-down[data-v-136acf84]{background:url("+L+") no-repeat 50%;background-size:%?24?% %?18?%;display:inline-block;width:%?44?%;height:%?44?%}.icon-arrow-right[data-v-136acf84]{flex-shrink:0;width:%?10?%;height:%?18?%;background:url("+z+") no-repeat;background-size:contain;margin-left:%?12?%}.icon-person[data-v-136acf84]{background:url("+D+") no-repeat 50%;background-size:contain;display:inline-block;width:%?36?%;height:%?36?%}.icon-auth[data-v-136acf84]{background:url("+M+") no-repeat 50%;background-size:contain;display:inline-block;width:%?36?%;height:%?36?%}.icon-addr1[data-v-136acf84]{background:url("+I+") no-repeat 50%;background-size:contain;display:inline-block;width:%?36?%;height:%?36?%}.icon-coupon[data-v-136acf84]{background:url("+N+") no-repeat 50%;background-size:contain;display:inline-block;width:%?36?%;height:%?36?%}.icon-card1[data-v-136acf84]{background:url("+R+") no-repeat 50%;background-size:contain;display:inline-block;width:%?36?%;height:%?36?%}.icon-help[data-v-136acf84]{background:url("+O+") no-repeat 50%;background-size:contain;display:inline-block;width:%?36?%;height:%?36?%}.icon-about[data-v-136acf84]{background:url("+S+") no-repeat 50%;background-size:contain;display:inline-block;width:%?36?%;height:%?36?%}.icon-customer[data-v-136acf84]{background:url("+j+") no-repeat 50%;background-size:contain;display:inline-block;width:%?36?%;height:%?36?%}.icon-setting[data-v-136acf84]{background:url("+F+") no-repeat 50%;background-size:contain;display:inline-block;width:%?36?%;height:%?36?%}.icon-edit[data-v-136acf84]{background:url("+H+") no-repeat 50%;background-size:contain;display:inline-block;width:%?40?%;height:%?40?%}.icon-minus[data-v-136acf84]{background:url("+U+") no-repeat 50%;background-size:contain;display:inline-block;width:%?40?%;height:%?40?%}.icon-add[data-v-136acf84]{background:url("+q+") no-repeat 50%;background-size:contain;display:inline-block;width:%?40?%;height:%?40?%}.icon-address[data-v-136acf84]{background:url("+G+") no-repeat 50%;background-size:auto %?28?%;display:inline-block;width:%?24?%;height:%?28?%}.icon-address-b[data-v-136acf84]{background:url("+A+") no-repeat 50%;background-size:auto %?28?%;display:inline-block;width:%?24?%;height:%?28?%}.icon-right[data-v-136acf84]{background:url("+z+") no-repeat 50%;background-size:contain;display:inline-block;width:%?10?%;height:%?18?%}.tags[data-v-136acf84]{margin-top:%?12?%;display:flex}.tag[data-v-136acf84]{border:%?1?% solid #00ab78;line-height:%?28?%;font-size:%?20?%;padding:0 %?8?%;border-radius:%?4?%;margin-right:%?8?%;color:#00ab78}.tag.orange[data-v-136acf84]{border-color:#ff5000;color:#ff5000}.tag.light[data-v-136acf84]{border-color:#1fb588;color:#1fb588;opacity:.5}.tag.disabled[data-v-136acf84]{border-color:#f6f6f6;background-color:#f6f6f6;color:#777}.tag.border[data-v-136acf84]{border-color:#999;color:#333}.btn-page-back[data-v-136acf84], .btn-page-home[data-v-136acf84]{position:fixed;background:url("+K+") no-repeat 50% rgba(0,0,0,.3);background-size:%?44?%;width:%?44?%;height:%?44?%;z-index:999;left:0}.btn-page-home[data-v-136acf84]{background-image:url("+J+')}.btns-buygroup[data-v-136acf84]{display:flex;align-items:center}.btns-buygroup uni-text[data-v-136acf84]{margin:0 %?15?%}.topinfo[data-v-136acf84]{position:relative;display:flex;background-color:#fff;flex-direction:column;padding:%?32?% %?32?% %?22?%;z-index:3}.topinfo.flex1[data-v-136acf84]{flex:1}.topinfo .address[data-v-136acf84]{display:flex;justify-content:space-between;align-items:center}.topinfo .address > uni-view[data-v-136acf84]:first-child{width:%?500?%}.topinfo .address .adr-shop[data-v-136acf84]{display:flex;align-items:center}.topinfo .address .adr-shop .sp-name[data-v-136acf84]{margin:0 %?16?%;color:#333;font-size:%?28?%;line-height:%?40?%;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.topinfo .address .adr-shop .icon-address[data-v-136acf84]{flex-shrink:0}.topinfo .address .range[data-v-136acf84]{font-size:%?22?%;line-height:%?32?%;color:#666;margin-top:%?12?%;display:inline-block}.topinfo .address .switch[data-v-136acf84]{background-color:#00ab78;border-radius:%?30?%;padding:%?6?%;display:flex;align-items:center;flex-shrink:0}.topinfo .address .switch uni-text[data-v-136acf84]{font-size:%?24?%;color:#fff;padding:0 %?18?%;border-radius:%?30?%;line-height:%?38?%;display:inline-block}.topinfo .address .switch uni-text.active[data-v-136acf84]{background-color:#fff;color:#00ab78}.topinfo .msg[data-v-136acf84]{margin-top:%?12?%;display:flex;font-size:%?22?%;line-height:%?32?%;justify-content:space-between;align-items:center}.topinfo .msg > uni-text[data-v-136acf84]:first-child{display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;height:%?36?%}.topinfo .msg .more[data-v-136acf84]{font-size:%?20?%;line-height:%?28?%;color:#999;display:flex;align-items:center;flex-shrink:0}.topinfo .msg .more[data-v-136acf84]:after{content:"";background:url('+X+') no-repeat 50%;background-size:contain;display:inline-block;width:%?10?%;height:%?6?%;margin-left:%?8?%}.topinfo .msg.showmore > uni-text[data-v-136acf84]:first-child{opacity:0}.topinfo .msg.showmore .more[data-v-136acf84]:after{-webkit-transform:rotate(180deg);transform:rotate(180deg)}.topinfo .shop-desc-box[data-v-136acf84]{position:relative;width:100%}.topinfo .shop-desc-layer[data-v-136acf84]{position:absolute;left:%?-32?%;right:%?-32?%;background-color:#fff;top:0;padding:%?32?%}.topinfo .shop-desc-layer .desc[data-v-136acf84]{margin-top:%?32?%;color:#666;font-size:%?22?%}.topinfo .shop-desc-layer uni-navigator[data-v-136acf84]{margin-top:%?32?%}.topinfo .shop-desc-layer .h3[data-v-136acf84]{display:block;font-size:%?26?%;color:#00ab78}.topinfo .shop-desc-layer .section[data-v-136acf84]{display:flex;flex-direction:column;margin-top:%?32?%;font-size:%?22?%;color:#666;line-height:%?34?%}.topinfo .shop-desc-layer .section .h3[data-v-136acf84]{margin-bottom:%?8?%}.nav-item[data-v-136acf84]{display:flex;justify-content:space-between;align-items:center;padding:%?20?% 0;font-size:%?28?%;color:#111}.nav-item .icon[data-v-136acf84]{width:%?36?%;height:%?36?%;min-width:auto;margin-right:%?16?%}.nav-item > uni-text[data-v-136acf84]{min-width:%?104?%;flex-shrink:0}.nav-item > uni-view[data-v-136acf84]{display:flex;align-items:baseline;color:#333;flex:1;margin-left:%?12?%;justify-content:flex-end;text-align:right}.nav-item > uni-view[data-v-136acf84]:after{flex-shrink:0;content:"";width:%?10?%;height:%?18?%;background:url('+z+') no-repeat;background-size:contain;margin-left:%?12?%}.nav-item > uni-view .tip[data-v-136acf84]{color:#999;font-size:%?24?%}.nav-item > uni-view .gray[data-v-136acf84]{color:#999}.nav-item[data-v-136acf84]:last-child{margin-bottom:0}.nav-item.noright > uni-view[data-v-136acf84]:after{display:none}.nav-item.help[data-v-136acf84]{padding:%?31?% 0;font-size:%?30?%}.nav-item.help > uni-text[data-v-136acf84]{flex-shrink:1;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.goods-item[data-v-136acf84]{display:flex;margin-bottom:%?40?%;align-items:center}.goods-item uni-image[data-v-136acf84]{width:%?174?%;height:%?174?%;border-radius:%?10?%;margin-right:%?16?%;flex-shrink:0}.goods-item > uni-view[data-v-136acf84]{flex:1;display:flex;flex-direction:column;justify-content:space-between;box-sizing:border-box}.goods-item .title[data-v-136acf84]{font-size:%?28?%;line-height:%?40?%;text-align:justify}.goods-item .tips[data-v-136acf84]{font-size:%?22?%;color:#999;display:flex;justify-content:space-between}.goods-item .ctrls[data-v-136acf84]{display:flex;justify-content:space-between;margin-top:%?14?%}.goods-item.mini uni-image[data-v-136acf84], .goods-item.inorder uni-image[data-v-136acf84]{width:%?124?%;height:%?124?%}.goods-item.inorder .title[data-v-136acf84]{display:flex;justify-content:space-between;margin-right:0}.goods-item.inorder .title .price[data-v-136acf84]{align-items:flex-end}.goods-item.inorder > uni-view[data-v-136acf84]{flex:1;display:flex;flex-direction:column;justify-content:space-between;height:%?124?%}.swiper-cont[data-v-136acf84]{position:relative}.swiper-cont .swiper[data-v-136acf84]{width:100%;height:%?494?%}.swiper-cont .swiper .videoposter[data-v-136acf84], .swiper-cont .swiper uni-image[data-v-136acf84]{width:100%;height:100%}.swiper-cont .swiper .videoposter[data-v-136acf84]:after{content:"";position:absolute;background-color:rgba(0,0,0,.3);top:0;left:0;right:0;bottom:0}.swiper-cont .swiper .videoposter .btn-play[data-v-136acf84]{background:url('+$+") no-repeat;background-size:contain;width:%?100?%;height:%?100?%;position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%,-50%);transform:translate(-50%,-50%);z-index:1}.swiper-cont .swiper .videoposter uni-video[data-v-136acf84]{display:none}.swiper-cont .swiper .videoposter.playing uni-image[data-v-136acf84], .swiper-cont .swiper .videoposter.playing[data-v-136acf84]:after, .swiper-cont .swiper .videoposter.playing .btn-play[data-v-136acf84]{display:none}.swiper-cont .swiper .videoposter.playing uni-video[data-v-136acf84]{display:block}.swiper-cont .dots[data-v-136acf84]{position:absolute;display:flex;justify-content:center;width:100%;left:0;bottom:%?24?%}.swiper-cont .dots uni-text[data-v-136acf84]{width:%?8?%;height:%?8?%;background-color:#aeaeae;margin:0 %?6?%;border-radius:%?5?%}.swiper-cont .dots uni-text.active[data-v-136acf84]{background-color:#fff;width:%?36?%}.form[data-v-136acf84]{display:flex;flex-direction:column;padding:0 %?36?%;box-sizing:border-box}.form .form-item[data-v-136acf84]{display:flex;align-items:center;padding:%?32?% 0;border-bottom:%?1?% solid #eee}.form .form-item[data-v-136acf84]:last-child{border-bottom:0}.form .form-item .label[data-v-136acf84]{font-size:%?30?%;min-width:%?176?%;flex-shrink:0;white-space:nowrap}.form .form-item .content[data-v-136acf84]{flex:1;display:flex;align-items:center;font-size:%?30?%;justify-content:space-between}.form .form-item .content uni-input[data-v-136acf84]{flex:1}.form .form-item .content .disabled[data-v-136acf84]{color:#999}.form .form-item .link[data-v-136acf84]{color:#00ab78}.form .form-item .checkboxgroup[data-v-136acf84]{display:flex}.form .form-item .checkboxgroup > uni-view[data-v-136acf84]{display:flex;align-items:center;margin-right:%?60?%}.form .form-item .checkboxgroup > uni-view .icon-checkbox[data-v-136acf84]{display:inline-block;margin-right:%?8?%}.form.mini .label[data-v-136acf84], .form.mini .content[data-v-136acf84]{font-size:%?24?%}.form.mini .form-item[data-v-136acf84]{padding-bottom:%?8?%}",""]),t.exports=e},"8b17":function(t,e,a){"use strict";a.r(e);var i=a("fe65"),n=a("c214");for(var o in n)"default"!==o&&function(t){a.d(e,t,(function(){return n[t]}))}(o);a("fe6b");var r,s=a("f0c5"),c=Object(s["a"])(n["default"],i["b"],i["c"],!1,null,"4e9c5622",null,!1,i["a"],r);e["default"]=c.exports},9261:function(t,e,a){var i=a("23f7");"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var n=a("4f06").default;n("0e420043",i,!0,{sourceMap:!1,shadowMode:!1})},"95ab":function(t,e,a){"use strict";a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return o})),a.d(e,"a",(function(){return i}));var i={uqrcode:a("8b17").default},n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:"app"},[a("v-uni-view",{staticClass:"dl"},[a("v-uni-text",{staticClass:"h3"},[t._v("邀请方式一")]),a("v-uni-text",{staticClass:"msg"},[t._v("将如下邀请码告知被邀请人,申请时输入即可")]),a("v-uni-view",{staticClass:"code",attrs:{"data-text":t.code},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.copy.apply(void 0,arguments)}}},[t._v(t._s(t.code))]),a("v-uni-text",{staticClass:"button mini",attrs:{"data-text":t.code},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.copy.apply(void 0,arguments)}}},[t._v("复制邀请码")])],1),a("v-uni-view",{staticClass:"dl"},[a("v-uni-text",{staticClass:"h3"},[t._v("邀请方式二")]),a("v-uni-text",{staticClass:"msg"},[t._v("将如下邀请码告知被邀请人,申请时输入即可")]),a("v-uni-view",{staticClass:"qrcode",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.showQrcode.apply(void 0,arguments)}}},[a("uqrcode",{ref:"uqrcode"})],1),a("v-uni-text",{staticClass:"button mini",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.download.apply(void 0,arguments)}}},[t._v("下载图片")])],1),a("v-uni-view",{staticClass:"dl"},[a("v-uni-text",{staticClass:"h3"},[t._v("邀请方式三")]),a("v-uni-text",{staticClass:"button",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.toShareDetail.apply(void 0,arguments)}}},[t._v("点击分享给好友")])],1)],1)},o=[]},c214:function(t,e,a){"use strict";a.r(e);var i=a("f9ca"),n=a.n(i);for(var o in i)"default"!==o&&function(t){a.d(e,t,(function(){return i[t]}))}(o);e["default"]=n.a},c7e5:function(t,e,a){"use strict";var i=a("9261"),n=a.n(i);n.a},ea44:function(t,e,a){var i=a("24fb");e=i(!1),e.push([t.i,".uqrcode-view[data-v-4e9c5622]{\ndisplay:flex;box-sizing:border-box;\nflex-direction:column}.uqrcode-view-row[data-v-4e9c5622]{\ndisplay:flex;box-sizing:border-box;\nflex-direction:row}.uqrcode-view-col[data-v-4e9c5622]{\ndisplay:flex;box-sizing:border-box\n}",""]),t.exports=e},f9ca:function(t,e,a){"use strict";var i=a("4ea4");a("d3b7"),a("ac1f"),a("1276"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=i(a("5530")),o=i(a("4a5e")),r={name:"uqrcode",data:function(){return{options:o.default.defaults,modules:[],result:{}}},computed:{colSize:function(){return(this.options.size-2*this.options.margin)/this.modules.length}},methods:{make:function(t){var e=this;if(t=(0,n.default)((0,n.default)({},this.options),t),t.mode||(t.mode="view"),t.canvasId||(t.canvasId=this.uuid()),this.options=t,"view"===t.mode)this.modules=o.default.getModules(t);else if("canvas"===t.mode)return new Promise((function(a,i){o.default.make(t,e).then((function(t){e.result=t,a((0,n.default)({},t))})).catch((function(t){i(t)}))}))},save:function(){"view"===this.options.mode?uni.showToast({icon:"none",title:"view模式不支持保存,请提示用户使用截屏保存"}):"canvas"===this.options.mode&&uni.showToast({icon:"none",title:"canvas H5不支持保存,请将二维码放置在image组件,再提示用户长按image保存"})},uuid:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:32,e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:null,i="0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz".split(""),n=[];if(a=a||i.length,t)for(var o=0;o<t;o++)n[o]=i[0|Math.random()*a];else{var r;n[8]=n[13]=n[18]=n[23]="-",n[14]="4";for(var s=0;s<36;s++)n[s]||(r=0|16*Math.random(),n[s]=i[19==s?3&r|8:r])}return e?(n.shift(),"u"+n.join("")):n.join("")}}};e.default=r},fe65:function(t,e,a){"use strict";var i;a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return o})),a.d(e,"a",(function(){return i}));var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:"uqrcode"},["view"===t.options.mode?a("v-uni-view",{staticClass:"uqrcode-view",style:{width:t.options.size+"px",height:t.options.size+"px",padding:t.options.margin+"px","background-color":t.options.backgroundColor}},t._l(t.modules.length,(function(e,i){return a("v-uni-view",{key:i,staticClass:"uqrcode-view-row"},t._l(t.modules.length,(function(e,n){return a("v-uni-view",{key:n,staticClass:"uqrcode-view-col",style:{width:t.colSize+"px",height:t.colSize+"px","background-color":t.modules[i][n]?t.options.foregroundColor:t.options.backgroundColor}})})),1)})),1):"canvas"===t.options.mode?a("v-uni-canvas",{staticClass:"uqrcode-canvas",style:{width:t.options.size+"px",height:t.options.size+"px"},attrs:{id:t.options.canvasId,"canvas-id":t.options.canvasId}}):t._e()],1)},o=[]},fe6b:function(t,e,a){"use strict";var i=a("6ae2"),n=a.n(i);n.a}}]);
|