cczg-lottery-activity/unpackage/dist/build/web/static/js/pages-simpleshop-usercenter...

1 line
27 KiB
JavaScript
Raw Normal View History

2024-05-30 11:04:54 +08:00
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-simpleshop-usercenter-usercenter"],{"057d":function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return A})),n.d(e,"a",(function(){return a}));var a={uAvatar:n("aa3a").default,uLoadmore:n("7070").default},i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{staticClass:"content"},[n("v-uni-view",{staticClass:"userblock"},[n("u-avatar",{staticClass:"avatar",attrs:{src:t.userinfo.url,size:"60"}}),n("v-uni-view",{staticClass:"userinfo"},[n("v-uni-view",{staticClass:"phone"},[n("v-uni-text",[t._v(t._s(t.userinfo.phone))])],1),n("v-uni-view",{staticClass:"integral"},[n("v-uni-text",[t._v("剩余积分:"+t._s(t.userinfo.integral))])],1)],1)],1),n("v-uni-view",{staticClass:"buy-list"},[n("v-uni-view",{staticClass:"label"},[n("v-uni-text",[t._v("购买记录")])],1),n("v-uni-view",{staticClass:"listcontainer"},[t._l(t.buy_list,(function(t,e){return n("v-uni-view",{key:t.id},[n("couponitem",{attrs:{data:t}})],1)})),n("u-loadmore",{attrs:{status:t.status}})],2)],1)],1)},A=[]},1060:function(t,e,n){"use strict";n("7a82");var a=n("ee27").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=a(n("7661")),A={name:"u-link",mixins:[uni.$u.mpMixin,uni.$u.mixin,i.default],computed:{linkStyle:function(){var t={color:this.color,fontSize:uni.$u.addUnit(this.fontSize),lineHeight:uni.$u.addUnit(uni.$u.getPx(this.fontSize)+2),textDecoration:this.underLine?"underline":"none"};return t}},methods:{openLink:function(){window.open(this.href),this.$emit("click")}}};e.default=A},"1d1d":function(t,e,n){var a=n("24fb");e=a(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场https://ext.dcloud.net.cn上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者建议你使用scss预处理并在插件代码中直接使用这些变量无需 import 这个文件方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者插件使用者你可以通过修改这些变量来定制自己的插件主题实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 文字基本颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */uni-view[data-v-2b5fb029], uni-scroll-view[data-v-2b5fb029], uni-swiper-item[data-v-2b5fb029]{display:flex;flex-direction:column;flex-shrink:0;flex-grow:0;flex-basis:auto;align-items:stretch;align-content:flex-start}.u-link[data-v-2b5fb029]{line-height:1;display:flex;flex-direction:row;flex-wrap:wrap;flex:1}',""]),t.exports=e},"23b3":function(t,e,n){"use strict";n.r(e);var a=n("e2e3"),i=n.n(a);for(var A in a)["default"].indexOf(A)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(A);e["default"]=i.a},"2bb7":function(t,e,n){var a=n("c696");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var i=n("4f06").default;i("b8cbebd4",a,!0,{sourceMap:!1,shadowMode:!1})},"2f7d":function(t,e,n){"use strict";n("7a82");var a=n("ee27").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n("99af"),n("ac1f"),n("00b4"),n("5319");var i=a(n("e3da")),A=a(n("d1fd")),r={data:function(){return{userinfo:{url:n("bfc6"),phone:"",integral:0},buy_list:[],status:"loadmore",list:15,page:1,pagesize:8,total:0}},components:{couponitem:i.default},methods:{getAccountInfo:function(){var t=this;A.default.getAccountInfo().then((function(e){if(200==e.data.code){var n=e.data.data;t.userinfo.phone=t.maskPhoneNumber(n.phone),t.userinfo.integral=n.integral_Count,0==n.flag&&uni.navigateTo({url:"/pages/simpleshop/notinwl/notinwl"})}else uni.showToast({titl