Parcourir la source

feat: 调整图片

reaper il y a 2 jours
Parent
commit
cc6ede5a6d
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      app/components/home/StatsSection.vue

+ 2 - 2
app/components/home/StatsSection.vue

@@ -3,7 +3,7 @@
     <div class="stats-bg-wrapper">
       <img class="stats-bg" src="/images/home/home-bg.png" alt="首页背景" />
       <section class="stats-section">
-        <NuxtImg class="stats-figure" src="/images/home/home-d.png" alt="游戏盾" />
+        <NuxtImg width="154" class="stats-figure" src="/images/home/home-d.png" alt="游戏盾" />
         <div class="stats-row">
           <div class="stat-item">
             <div class="stat-label">今日攻击次数</div>
@@ -56,7 +56,7 @@ const formatNumber = (num) => {
 .stats-bg-wrapper {
   position: relative;
   width: 100%;
-  height: 800px;
+  height: 824px;
 
   .stats-bg {
     display: flex;