Browse Source

feat: 大屏幕字体样式修改

珍珍 2 weeks ago
parent
commit
e91e598548
1 changed files with 5 additions and 2 deletions
  1. 5 2
      src/views/pac/entranceScreen.vue

+ 5 - 2
src/views/pac/entranceScreen.vue

@@ -25,14 +25,14 @@
         </div>
       </div>
       <div class="right">
-        <div class="env-box" v-for="item in envlist">
+        <div class="env-box" v-for="(item,index) in envlist">
           <div class="title-box">
             <img class="icon" :src="item.img" />
             <div class="title">{{ item.name }}</div>
           </div>
           <div class="index-box">
             <div class="num">{{ item.num }}</div>
-            <div class="text">{{ item.levelTxt }}</div>
+            <div class="text" :class="index>1?'temp-text':''">{{ item.levelTxt }}</div>
           </div>
         </div>
       </div>
@@ -467,6 +467,9 @@ export default defineComponent({
         overflow: hidden;
         text-overflow: ellipsis;
       }
+      .temp-text{
+        font-family:Montserrat;
+      }
     }
   }
 }