|
@@ -50,13 +50,13 @@ const isLowerThanCurrent = computed(() => {
|
|
|
<!-- {{ userInfo.level.point }}-->
|
|
|
<!-- {{ percentage }}-->
|
|
|
<template v-if="isHigherThanCurrent">
|
|
|
- <div class="text-[#61311b] text-xs font-normal font-['PingFang SC'] leading-relaxed">
|
|
|
+ <div class="text-[#61311b] text-xs font-normal font-['PingFang_SC'] leading-relaxed">
|
|
|
<!-- 还差{{ props.option[props.index]?.points - userInfo.level.point }}积分升级-->
|
|
|
当前高于该等级
|
|
|
</div>
|
|
|
</template>
|
|
|
<template v-else-if="isLowerThanCurrent">
|
|
|
- <div class="text-[#61311b] text-xs font-normal font-['PingFang SC'] leading-relaxed">
|
|
|
+ <div class="text-[#61311b] text-xs font-normal font-['PingFang_SC'] leading-relaxed">
|
|
|
<!-- 还差{{ props.option[props.index]?.points - userInfo.level.point }}积分升级-->
|
|
|
距{{ option[index].memberLevelName }}会员还需{{
|
|
|
option[index].points - userInfo.level.point
|
|
@@ -65,12 +65,12 @@ const isLowerThanCurrent = computed(() => {
|
|
|
<wd-progress :percentage="(userInfo.level.point / option[index].points) * 100" hide-text />
|
|
|
</template>
|
|
|
<template v-else-if="isMaxLevel">
|
|
|
- <div class="text-[#61311b] text-xs font-normal font-['PingFang SC'] leading-relaxed">
|
|
|
+ <div class="text-[#61311b] text-xs font-normal font-['PingFang_SC'] leading-relaxed">
|
|
|
当前积分{{ userInfo.level.point }}
|
|
|
</div>
|
|
|
</template>
|
|
|
<template v-else>
|
|
|
- <div class="text-[#61311b] text-xs font-normal font-['PingFang SC'] leading-relaxed">
|
|
|
+ <div class="text-[#61311b] text-xs font-normal font-['PingFang_SC'] leading-relaxed">
|
|
|
距{{ option[index + 1].memberLevelName }}会员还需{{
|
|
|
option[index + 1].points - userInfo.level.point
|
|
|
}}积分
|