liyongli 2 tahun lalu
induk
melakukan
af626c556e
3 mengubah file dengan 12 tambahan dan 1 penghapusan
  1. TEMPAT SAMPAH
      src/assets/img/banner1.jpg
  2. 1 1
      src/config/page.json
  3. 11 0
      src/view/motorVehicle/components/one.vue

TEMPAT SAMPAH
src/assets/img/banner1.jpg


+ 1 - 1
src/config/page.json

@@ -39,7 +39,7 @@
         "title": "2023“我心中的黄帝陵”青少年书画活动"
     },
     "motorVehicle":{
-        "title": "机动车"
+        "title": "AU,500万!"
     },
     "chatQh":{
         "title": "ChatGLM"

+ 11 - 0
src/view/motorVehicle/components/one.vue

@@ -22,6 +22,10 @@
         万大关
       </div>
     </div>
+
+    <span class="bigTitle500">
+      <countTo :startVal="4987654" :endVal="5000000" :duration="2000"></countTo>
+    </span>
   </div>
 </template>
 <script setup>
@@ -76,4 +80,11 @@ import countTo from '@/components/counto/vue-countTo.vue';
 .bigTitle {
   font-size: 23px;
 }
+.bigTitle500{
+    font-size: 84px;
+    position: absolute;
+    top: 350px;
+    left: 50%;
+    transform: translateX(-50%)
+}
 </style>