pages-user-shareQrCode.e4a12171.js 5.8 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-user-shareQrCode"],{"30d1":function(t,e,a){"use strict";a("7a82");var n=a("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=n(a("5530")),d=a("26cb"),o=a("d9e9"),u=a("4311"),i=(a("de25"),{data:function(){return{rwmListArr:[],current:0,imgSrc:""}},onLoad:function(t){uni.showLoading({title:"邀请图生成中",mask:!0}),this.loadCodeList()},onShow:function(){this.loginInterceptor&&!this.hasLogin&&((0,u.saveUrl)(),(0,u.interceptor)())},onPullDownRefresh:function(){var t=this;setTimeout((function(){t.loadCodeList(),uni.stopPullDownRefresh()}),1e3)},computed:(0,r.default)((0,r.default)({},(0,d.mapState)(["weichatObj","baseURL","urlFile"])),(0,d.mapState)("user",["userInfo","orderInfo","hasLogin"])),methods:{comfirm:function(t){console.log(t);var e=this.uniCopy(t);!1===e?uni.showToast({title:"不支持"}):uni.showToast({title:"复制成功",icon:"none"})},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 a=document.execCommand("copy");return e.remove(),a},loadCodeList:function(){var t=this;(0,o.spreadBanner)({type:2}).then((function(e){200==e.status&&(console.log(e.data),t.rwmListArr=e.data,t.imgSrc=t.rwmListArr[0].wap_poster),uni.hideLoading()}))},currentChange:function(t){this.current=t.detail.current}}});e.default=i},5691:function(t,e,a){"use strict";var n=a("8c42"),r=a.n(n);r.a},"8c42":function(t,e,a){var n=a("ec30");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var r=a("4f06").default;r("3a10100a",n,!0,{sourceMap:!1,shadowMode:!1})},d9e9:function(t,e,a){"use strict";a("7a82");var n=a("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.addressDel=function(t){return(0,r.default)({url:"/api/address/del",method:"post",data:t})},e.addressEdit=function(t){return(0,r.default)({url:"/api/address/edit",method:"post",data:t})},e.cartDel=function(t){return(0,r.default)({url:"/api/cart/del",method:"post",data:t})},e.delcollect=function(t){return(0,r.default)({url:"/api/collect/del",method:"post",data:t})},e.details=function(t,e){return(0,r.default)({url:"/api/article/details/"+e,method:"get",data:t})},e.getAddressList=function(t){return(0,r.default)({url:"/api/address/list",method:"get",data:t})},e.getCartList=function(t){return(0,r.default)({url:"/api/cart/list",method:"get",data:t})},e.getCartNum=function(t){return(0,r.default)({url:"/api/cart/num",method:"post",data:t})},e.getCommissionInfo=function(t){return(0,r.default)({url:"/api/brokerage/list",method:"get",data:t})},e.getUserInfo=function(t){return(0,r.default)({url:"/api/userinfo",method:"get",data:t})},e.getcollectList=function(t){return(0,r.default)({url:"/api/collect/user",method:"get",data:t})},e.jfzz=function(t){return(0,r.default)({url:"/api/user/transfer_account",method:"post",data:t})},e.myspread=function(t){return(0,r.default)({url:"/api/spread/people",method:"POST",data:t})},e.orderData=function(t){return(0,r.default)({url:"/api/order/data",method:"get",data:t})},e.setAddressDefault=function(t){return(0,r.default)({url:"/api/address/default/set",method:"post",data:t})},e.spreadBanner=function(t){return(0,r.default)({url:"/api/spread/banner",method:"get",data:t})},e.sqdl=function(t){return(0,r.default)({url:"/api/user/apply",method:"POST",data:t})},e.yjzye=function(t){return(0,r.default)({url:"/api/user/transformation",method:"post",data:t})};var r=n(a("559e"))},e465:function(t,e,a){"use strict";a.d(e,"b",(function(){return n})),a.d(e,"c",(function(){return r})),a.d(e,"a",(function(){}));var n=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("v-uni-view",{staticClass:"andr-shQ-padL30 andr-shQ-padR30 andr-shQ-Flex andr-shQ-FlexDirC"},[a("v-uni-view",{staticClass:"andr-shQ-w100B andr-shQ-Flex andr-shQ-JusCC"},[a("v-uni-swiper",{staticClass:"imgw750h375 matop",attrs:{"indicator-dots":!1,current:t.current},on:{change:function(e){arguments[0]=e=t.$handleEvent(e),t.currentChange.apply(void 0,arguments)}}},t._l(t.rwmListArr,(function(t,e){return a("v-uni-swiper-item",{key:e},[a("v-uni-image",{staticClass:"imgw750h375",attrs:{src:t.wap_poster,mode:"aspectFit"}})],1)})),1)],1)],1)},r=[]},ec30: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-6d5bc992]{height:100%}.imgw750h375[data-v-6d5bc992]{width:100%;height:%?958?%}.andr-shQ-FlexDirC[data-v-6d5bc992]{flex-direction:column}.andr-shQ-JusCC[data-v-6d5bc992]{justify-content:center}.andr-shQ-bgc06B163[data-v-6d5bc992]{background-color:#ff4e4a}.andr-shQ-cFFF[data-v-6d5bc992]{color:#fff}.andr-shQ-bdR50[data-v-6d5bc992]{border-radius:%?50?%}.andr-shQ-h86[data-v-6d5bc992]{height:%?86?%}.andr-shQ-AIC[data-v-6d5bc992]{align-items:center}.baocun[data-v-6d5bc992]{color:#fff;background:#ff4e4a;text-align:center;width:80%;margin:%?50?% auto;font-size:%?28?%;padding:%?25?% %?0?%;border-radius:%?50?%}.btn[data-v-6d5bc992]{padding:%?0?% %?0?%!important;margin:%?0?% auto;margin-bottom:%?100?%}.cbnagan[data-v-6d5bc992]{width:80%;background:#ff4e4a;margin:%?50?% auto;font-size:%?28?%;text-align:center}',""]),t.exports=e},f125:function(t,e,a){"use strict";a.r(e);var n=a("e465"),r=a("ff80");for(var d in r)["default"].indexOf(d)<0&&function(t){a.d(e,t,(function(){return r[t]}))}(d);a("5691");var o=a("f0c5"),u=Object(o["a"])(r["default"],n["b"],n["c"],!1,null,"6d5bc992",null,!1,n["a"],void 0);e["default"]=u.exports},ff80:function(t,e,a){"use strict";a.r(e);var n=a("30d1"),r=a.n(n);for(var d in n)["default"].indexOf(d)<0&&function(t){a.d(e,t,(function(){return n[t]}))}(d);e["default"]=r.a}}]);