From da9d081c867bcf2ddb277fde6dc9bf8366d20517 Mon Sep 17 00:00:00 2001 From: 陶杰 <1378534974@qq.com> Date: 星期三, 08 一月 2025 09:12:28 +0800 Subject: [PATCH] 1.取消绑定当前微信 --- sub_pages/customer/self/member-center.vue | 26 ++++++++++++++++---------- 1 files changed, 16 insertions(+), 10 deletions(-) diff --git a/sub_pages/customer/self/member-center.vue b/sub_pages/customer/self/member-center.vue index 3a8a593..87ecd10 100644 --- a/sub_pages/customer/self/member-center.vue +++ b/sub_pages/customer/self/member-center.vue @@ -1,6 +1,6 @@ <template> <view class="member-center"> - <image src="../../../static/images/customer/coupon/member/member-level-bg.png" mode="aspectFit" + <image src="https://hmy-flower.oss-cn-shanghai.aliyuncs.com/81/81af45f51aef43f2bf490970e09a51edmember-level-bg.png" mode="aspectFit" class="img100 member-level-image"></image> <view class="banner"> <banner3d @changeIndex="changeIndex" ref="banner3d" v-if="init" :banner-list="bannerList" @@ -28,7 +28,7 @@ <view class="desc-info flex m-t-12" style="padding: 42rpx;"> <view class="m-t-12 flex1"> <image class="m-auto icon img100 " mode="scaleToFill" - src="../../../static/images/customer/coupon/member/icon-member-info-1.png"></image> + src="https://hmy-flower.oss-cn-shanghai.aliyuncs.com/a4/a4adabdf9b1342fb8c3a28f3b8ad5dedicon-member-info-1.png"></image> <view class="desc"> <!-- 积分达到{{currentInfo.customerDTO.userGrowthRecord.currentGrowthValue || '-'}} --> 积分达到{{bannerList[curIndex].point.startPoint || '0'}} @@ -36,7 +36,7 @@ </view> <view class="m-t-12 flex1"> <image class="m-auto icon img100" mode="scaleToFill" - src="../../../static/images/customer/coupon/member/icon-member-info-2.png"></image> + src="https://hmy-flower.oss-cn-shanghai.aliyuncs.com/3a/3a6af67a278d4e46af5c6d802409457ficon-member-info-2.png"></image> <!-- createName: "孙凯悦" createTime: "2024-09-10 14:47:29" @@ -88,10 +88,15 @@ <view class="right-line"></view> </view> <view class="m-t-12 desc-info"> - 每消费1元,即可获得1成长值。 - 成长值将在订单交易完成后,根据实际交易金额进行赠送。 - 消费越多,获得的成长值越多,享受更高等级的会员权益。 - 快来参与消费,累积成长值,解锁更多专属福利吧! + <template v-if="bannerList[curIndex].point.growthValueDesc"> + {{bannerList[curIndex].point.growthValueDesc}} + </template> + <template v-else> + <!-- 每消费1元,即可获得1成长值。 + 成长值将在订单交易完成后,根据实际交易金额进行赠送。 + 消费越多,获得的成长值越多,享受更高等级的会员权益。 + 快来参与消费,累积成长值,解锁更多专属福利吧! --> + </template> </view> </view> <view class="protocol" @click="goto('/pages/help/content?id=会员协议',false)">会员协议 <uni-icons type="right" @@ -182,15 +187,16 @@ } //重新排序,当前等级第一个 + console.log('会员列表v0',this.bannerList) var newBannerSort = [] - for (var i = currentindex; i < 2 * j; i++) { + for (var i = currentindex; i <= 2 * j; i++) { newBannerSort.push(this.bannerList[i % (j + 1)]) if (newBannerSort.length >= this.bannerList.length) { break } } this.bannerList = newBannerSort - + console.log('会员列表',this.bannerList) // if (this.currentInfo.customerDTO.userGrowthRecord.targetMemberInfos) { // var t = -1 // for (var tmp of this.bannerList) { @@ -368,7 +374,7 @@ .protocol { font-weight: 400; - font-size: 24rpx; + font-size: 28rpx; color: #AD790F; line-height: 34rpx; text-align: center; -- Gitblit v1.9.3