(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-user-shareQrCode"],{"0a6a":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-7d05f4e0]{width:100%;min-height:100%}uni-page-body .container[data-v-7d05f4e0]{width:100%;height:100%}.backImg[data-v-7d05f4e0]{position:absolute;width:100%;height:100%}.portrait[data-v-7d05f4e0]{width:100%;text-align:center;padding-top:%?80?%;padding-bottom:%?30?%}.portrait uni-image[data-v-7d05f4e0]{width:%?250?%;height:%?250?%}.text[data-v-7d05f4e0]{text-align:center;width:100%;color:#fff;font-size:%?55?%;letter-spacing:%?15?%}.uid-name[data-v-7d05f4e0]{padding:%?50?% %?0?%;text-align:center;width:100%;color:#fff}.copy-btn[data-v-7d05f4e0]{color:#fff;background-color:#4ba6ed;border-radius:%?50?%;width:%?170?%;line-height:%?70?%;margin:%?0?% auto;text-align:center}.tki-qrcode[data-v-7d05f4e0]{position:fixed;bottom:10%;left:30%}uni-canvas[data-v-7d05f4e0]{width:150px;height:150px;margin:auto}',""]),t.exports=e},1939:function(t,e,a){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var n=a("ef8a"),i={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=i},"1b22":function(t,e,a){"use strict";a.r(e);var n=a("85b1"),i=a("bb82");for(var d in i)"default"!==d&&function(t){a.d(e,t,(function(){return i[t]}))}(d);a("49a0");var r,u=a("f0c5"),o=Object(u["a"])(i["default"],n["b"],n["c"],!1,null,"7d05f4e0",null,!1,n["a"],r);e["default"]=o.exports},"49a0":function(t,e,a){"use strict";var n=a("ed92"),i=a.n(n);i.a},"85b1":function(t,e,a){"use strict";var n;a.d(e,"b",(function(){return i})),a.d(e,"c",(function(){return d})),a.d(e,"a",(function(){return n}));var i=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)},d=[]},bb82:function(t,e,a){"use strict";a.r(e);var n=a("1939"),i=a.n(n);for(var d in n)"default"!==d&&function(t){a.d(e,t,(function(){return n[t]}))}(d);e["default"]=i.a},ed92:function(t,e,a){var n=a("0a6a");"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var i=a("4f06").default;i("01fecfd1",n,!0,{sourceMap:!1,shadowMode:!1})},ef8a:function(t,e,a){"use strict";var n=a("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.orderData=d,e.getUserInfo=r,e.spreadBanner=u,e.getAddressList=o,e.addressEdit=s,e.addressDel=c,e.setAddressDefault=l,e.getCartList=f,e.getCartNum=p,e.cartDel=h,e.getcollectList=g,e.delcollect=v,e.spread=m,e.article=b,e.details=w,e.edit=x;var i=n(a("85a5"));function d(t){return(0,i.default)({url:"/api/order/data",method:"get",data:t})}function r(t){return(0,i.default)({url:"/api/userinfo",method:"get",data:t})}function u(t){return(0,i.default)({url:"/api/spread/banner",method:"get",data:t})}function o(t){return(0,i.default)({url:"/api/address/list",method:"get",data:t})}function s(t){return(0,i.default)({url:"/api/address/edit",method:"post",data:t})}function c(t){return(0,i.default)({url:"/api/address/del",method:"post",data:t})}function l(t){return(0,i.default)({url:"/api/address/default/set",method:"post",data:t})}function f(t){return(0,i.default)({url:"/api/cart/list",method:"get",data:t})}function p(t){return(0,i.default)({url:"/api/cart/num",method:"post",data:t})}function h(t){return(0,i.default)({url:"/api/cart/del",method:"post",data:t})}function g(t){return(0,i.default)({url:"/api/collect/user",method:"get",data:t})}function v(t){return(0,i.default)({url:"/api/collect/del",method:"post",data:t})}function m(t){return(0,i.default)({url:"/api/spread/people",method:"POST",data:t})}function b(t,e){return(0,i.default)({url:"/api/article/list/"+e,method:"GET",data:t})}function w(t,e){return(0,i.default)({url:"/api/article/details/"+e,method:"GET",data:t})}function x(t){return(0,i.default)({url:"/api/user/edit",method:"post",data:t})}}}]);