Bladeren bron

style(app): 优化会员等级卡片组件样式

- 统一字体名称使用下划线格式:PingFang_SC
- 调整文本样式和布局
EvilDragon 3 weken geleden
bovenliggende
commit
55541de590
1 gewijzigde bestanden met toevoegingen van 4 en 4 verwijderingen
  1. 4 4
      packages/app/src/pages/mine/levels/components/level-card.vue

+ 4 - 4
packages/app/src/pages/mine/levels/components/level-card.vue

@@ -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
         }}积分