|
@@ -15,7 +15,7 @@
|
|
<text v-if="level == 0">{{userInfo.identity.level_name}}</text>
|
|
<text v-if="level == 0">{{userInfo.identity.level_name}}</text>
|
|
<text v-if="level > 0" class="t-omit member-level-name">{{detail.name}}</text>
|
|
<text v-if="level > 0" class="t-omit member-level-name">{{detail.name}}</text>
|
|
</view>
|
|
</view>
|
|
- <text v-if="level > 0" style="margin-left: 15rpx;" class="t-omit">到期时间:{{userInfo.user_level_date.end_date}}天</text>
|
|
|
|
|
|
+ <text v-if="level > 0" style="margin-left: 15rpx;" class="t-omit">会员剩余天数:{{userInfo.user_level_date.end_date}}天</text>
|
|
<view class="progress" v-if="nextMember.money > 0">
|
|
<view class="progress" v-if="nextMember.money > 0">
|
|
<view class="progress-line">
|
|
<view class="progress-line">
|
|
<view :style="[{'width': prop + `%`}]" class="progress-active"></view>
|
|
<view :style="[{'width': prop + `%`}]" class="progress-active"></view>
|
|
@@ -73,12 +73,12 @@
|
|
<image load-lazy="true" class="memeber-img" :src="item.bg_pic_url ? item.bg_pic_url : item.pic_url"></image>
|
|
<image load-lazy="true" class="memeber-img" :src="item.bg_pic_url ? item.bg_pic_url : item.pic_url"></image>
|
|
<view class="memeber-other">
|
|
<view class="memeber-other">
|
|
<view class="member-name t-omit">{{item.name}}</view>
|
|
<view class="member-name t-omit">{{item.name}}</view>
|
|
- <view class="discount">
|
|
|
|
|
|
+ <!-- <view class="discount">
|
|
<text>{{item.discount}}</text>折
|
|
<text>{{item.discount}}</text>折
|
|
</view>
|
|
</view>
|
|
- <view>会员折扣</view>
|
|
|
|
|
|
+ <view>会员折扣</view> -->
|
|
<view @click="toMore(item.level)">
|
|
<view @click="toMore(item.level)">
|
|
- <button class="update-btn">立即升级</button>
|
|
|
|
|
|
+ <button class="update-btn">{{item.level == userInfo.identity.member_level?'立即续费':'立即升级' }}</button>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
@@ -88,12 +88,12 @@
|
|
<image load-lazy="true" class="level-img" :src="nextList[0].bg_pic_url ? nextList[0].bg_pic_url : nextList[0].pic_url "></image>
|
|
<image load-lazy="true" class="level-img" :src="nextList[0].bg_pic_url ? nextList[0].bg_pic_url : nextList[0].pic_url "></image>
|
|
<view class="level-right">
|
|
<view class="level-right">
|
|
<view class="level-name t-omit">{{ nextList[0].name }}</view>
|
|
<view class="level-name t-omit">{{ nextList[0].name }}</view>
|
|
- 会员折扣
|
|
|
|
|
|
+ <!-- 会员折扣
|
|
<text class="discount">
|
|
<text class="discount">
|
|
<text>{{nextList[0].discount}}</text>折
|
|
<text>{{nextList[0].discount}}</text>折
|
|
- </text>
|
|
|
|
|
|
+ </text> -->
|
|
<view @click="toMore(nextList[0].level)">
|
|
<view @click="toMore(nextList[0].level)">
|
|
- <button class="level-btn">立即升级</button>
|
|
|
|
|
|
+ <button class="level-btn">{{nextList[0].level == userInfo.identity.member_level?'立即续费':'立即升级' }}</button>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
@@ -303,6 +303,7 @@
|
|
that.nextMember = that.list.next_consume_upgrade_member;
|
|
that.nextMember = that.list.next_consume_upgrade_member;
|
|
that.member_pic_url = that.list.member_pic_url;
|
|
that.member_pic_url = that.list.member_pic_url;
|
|
that.nextList = that.list.next_mall_member;
|
|
that.nextList = that.list.next_mall_member;
|
|
|
|
+ console.log(this.nextList,"===============")
|
|
if (that.recharge) {
|
|
if (that.recharge) {
|
|
that.balance = that.list.user_info.balance
|
|
that.balance = that.list.user_info.balance
|
|
}
|
|
}
|
|
@@ -669,6 +670,9 @@
|
|
border-top: 0;
|
|
border-top: 0;
|
|
border-bottom-left-radius: #{16rpx};
|
|
border-bottom-left-radius: #{16rpx};
|
|
border-bottom-right-radius: #{16rpx};
|
|
border-bottom-right-radius: #{16rpx};
|
|
|
|
+ display: flex;
|
|
|
|
+ justify-content: center;
|
|
|
|
+ flex-direction: column;
|
|
}
|
|
}
|
|
|
|
|
|
.memeber-img {
|
|
.memeber-img {
|
|
@@ -682,7 +686,8 @@
|
|
.member-name {
|
|
.member-name {
|
|
color: #353535;
|
|
color: #353535;
|
|
font-size: #{32rpx};
|
|
font-size: #{32rpx};
|
|
- width: 90%;
|
|
|
|
|
|
+ width: 100%;
|
|
|
|
+ text-align: center;
|
|
}
|
|
}
|
|
|
|
|
|
.member-price {
|
|
.member-price {
|
|
@@ -873,6 +878,10 @@
|
|
padding: #{20rpx} 0;
|
|
padding: #{20rpx} 0;
|
|
border-top-right-radius: #{16rpx};
|
|
border-top-right-radius: #{16rpx};
|
|
border-bottom-right-radius: #{16rpx};
|
|
border-bottom-right-radius: #{16rpx};
|
|
|
|
+ display: flex;
|
|
|
|
+ flex-direction: column;
|
|
|
|
+ align-items: center;
|
|
|
|
+ justify-content: center;
|
|
}
|
|
}
|
|
|
|
|
|
.level-right .discount {
|
|
.level-right .discount {
|