Commit 59c8e7fa by zhangzhen

细节优化

parent 0877e0b4
...@@ -23,14 +23,13 @@ ...@@ -23,14 +23,13 @@
<text class="text-1">LV {{item.membershipLevel?item.levelName: '0'}}</text> <text class="text-1">LV {{item.membershipLevel?item.levelName: '0'}}</text>
<view v-if="item.discountRatio < 100" class="discount-ratio"> <view v-if="item.discountRatio < 100" class="discount-ratio">
<text class="text-white"><text class="text-white text-xl text-bold">{{item.discountRatio}}</text></text> <text class="text-white"><text class="text-white text-xl text-bold">{{item.discountRatio}}</text></text>
</view> </view>
</view> </view>
<view class="member-config"> <view v-if="userInfo.memberConfig && userInfo.memberConfig.nextMembershipLevel" class="member-config">
<text v-if=" userInfo.memberConfig && userInfo.consumerMember && item.membershipLevel === userInfo.memberConfig.membershipLevel && ( (userInfo.consumerMember.isRights && index ==1) || (userInfo.consumerMember.isRecharge && index === 0)) " class="text-2">还差 {{userInfo.memberConfig.nextLimitRequirements - userInfo.consumerWallet.remainingIntegral}} 积分可升级为{{userInfo.memberConfig.nextMembershipName}}</text> <text v-if="userInfo.consumerMember && item.membershipLevel === userInfo.memberConfig.membershipLevel && ( (userInfo.consumerMember.isRights && index ==1) || (userInfo.consumerMember.isRecharge && index === 0)) " class="text-2">还差 {{userInfo.memberConfig.nextLimitRequirements - userInfo.consumerWallet.remainingIntegral}} 积分可升级为{{userInfo.memberConfig.nextMembershipName}}</text>
</view> </view>
<view class="flex-row"> <view v-if="userInfo.memberConfig && userInfo.memberConfig.nextMembershipLevel" class="flex-row">
<text class="text-3">升级所需积分</text> <text class="text-3">升级所需积分</text>
<text class="text-4">{{item.limitRequirements}}</text> <text class="text-4">{{item.limitRequirements}}</text>
</view> </view>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment