(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-user-shareQrCode"],{"04476":function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=a("0607"),r={data:function(){return{url:"",backImg:"",userInfo:""}},onLoad:function(){this.spread()},computed:{cpSize:function(){return"upx"==this.unit?uni.upx2px(this.size):this.size}},methods:{spread:function(){uni.showLoading({title:"加载中"});var t=this;(0,n.spreadBanner)({type:2}).then((function(e){var a=e.data;console.log(a),t.backImg=a[0].wap_poster,uni.hideLoading()}))},bc_code:function(){var t=this;console.log("保存二维码",this.backImg),uni.downloadFile({url:this.backImg,success:function(e){200==e.statusCode&&uni.saveImageToPhotosAlbum({filePath:e.tempFilePath,success:function(){t.$api.msg("保存成功")},fail:function(){t.$api.msg("保存失败")}})}})}}};e.default=r},"0607":function(t,e,a){"use strict";var n=a("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.orderData=i,e.nickname=d,e.transfer=o,e.getUserInfo=u,e.getSpreadPeople=s,e.spreadBanner=c,e.getAddressList=l,e.addressEdit=f,e.addressDel=p,e.setAddressDefault=h,e.getCartList=g,e.getCartNum=v,e.cartDel=b,e.getcollectList=m,e.delcollect=w;var r=n(a("0e39"));function i(t){return(0,r.default)({url:"/api/order/data",method:"get",data:t})}function d(t){return(0,r.default)({url:"/api/nickname",method:"get",data:t})}function o(t){return(0,r.default)({url:"/api/transfer",method:"post",data:t})}function u(t){return(0,r.default)({url:"/api/userinfo",method:"get",data:t})}function s(t){return(0,r.default)({url:"/api/spread/people",method:"post",data:t})}function c(t){return(0,r.default)({url:"/api/spread/banner",method:"get",data:t})}function l(t){return(0,r.default)({url:"/api/address/list",method:"get",data:t})}function f(t){return(0,r.default)({url:"/api/address/edit",method:"post",data:t})}function p(t){return(0,r.default)({url:"/api/address/del",method:"post",data:t})}function h(t){return(0,r.default)({url:"/api/address/default/set",method:"post",data:t})}function g(t){return(0,r.default)({url:"/api/cart/list",method:"get",data:t})}function v(t){return(0,r.default)({url:"/api/cart/num",method:"post",data:t})}function b(t){return(0,r.default)({url:"/api/cart/del",method:"post",data:t})}function m(t){return(0,r.default)({url:"/api/collect/user",method:"get",data:t})}function w(t){return(0,r.default)({url:"/api/collect/del",method:"post",data:t})}},"1f60":function(t,e,a){var n=a("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-596b490e]{width:100%;min-height:100%}uni-page-body .container[data-v-596b490e]{width:100%;height:100%}.backImg[data-v-596b490e]{position:absolute;width:100%;height:100%}.portrait[data-v-596b490e]{width:100%;text-align:center;padding-top:%?80?%;padding-bottom:%?30?%}.portrait uni-image[data-v-596b490e]{width:%?250?%;height:%?250?%}.text[data-v-596b490e]{text-align:center;width:100%;color:#fff;font-size:%?55?%;letter-spacing:%?15?%}.uid-name[data-v-596b490e]{padding:%?50?% %?0?%;text-align:center;width:100%;color:#fff}.copy-btn[data-v-596b490e]{color:#fff;background-color:#4ba6ed;border-radius:%?50?%;width:%?170?%;line-height:%?70?%;margin:%?0?% auto;text-align:center}.tki-qrcode[data-v-596b490e]{position:fixed;bottom:10%;left:30%}uni-canvas[data-v-596b490e]{width:150px;height:150px;margin:auto}',""]),t.exports=e},2116:function(t,e,a){"use strict";a.r(e);var n=a("8087"),r=a("78f5");for(var i in r)"default"!==i&&function(t){a.d(e,t,(function(){return r[t]}))}(i);a("bd1c");var d,o=a("f0c5"),u=Object(o["a"])(r["default"],n["b"],n["c"],!1,null,"596b490e",null,!1,n["a"],d);e["default"]=u.exports},"78f5":function(t,e,a){"use strict";a.r(e);var n=a("04476"),r=a.n(n);for(var i in n)"default"!==i&&function(t){a.d(e,t,(function(){return n[t]}))}(i);e["default"]=r.a},8087:function(t,e,a){"use strict";var n;a.d(e,"b",(function(){return r})),a.d(e,"c",(function(){return i})),a.d(e,"a",(function(){return n}));var r=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:"container"},[a("v-uni-image",{staticClass:"backImg",attrs:{src:t.backImg},on:{longpress:function(e){arguments[0]=e=t.$handleEvent(e),t.bc_code.apply(void 0,arguments)}}}),a("v-uni-view",{staticClass:"tki-qrcode"},[a("v-uni-canvas",{attrs:{"canvas-id":"qrcode"},on:{longpress:function(e){arguments[0]=e=t.$handleEvent(e),t.bc_code.apply(void 0,arguments)}}})],1)],1)},i=[]},a246:function(t,e,a){var n=a("1f60");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var r=a("4f06").default;r("23d498e5",n,!0,{sourceMap:!1,shadowMode:!1})},bd1c:function(t,e,a){"use strict";var n=a("a246"),r=a.n(n);r.a}}]);