Browse Source

📦 按要求修改首页字

快乐的梦鱼 1 hour ago
parent
commit
8d48d771b5
1 changed files with 6 additions and 3 deletions
  1. 6 3
      src/pages/index.vue

+ 6 - 3
src/pages/index.vue

@@ -445,8 +445,11 @@ onMounted(() => {
 @use "sass:math";
 
 .banner-title {
+
+  $height: 65px;
+
   font-family: "STSongtiSC", "Microsoft YaHei", sans-serif;
-  font-size: 36px;
+  font-size: $height;
   font-weight: bold;
   letter-spacing: 10px;
   color: #fff;
@@ -460,9 +463,9 @@ onMounted(() => {
   width: 100%;
   text-align: center;
   z-index: 10;
-  min-height: 36px;
+  min-height: $height;
   background-image: url('@/assets/images/index-title.png');
-  background-size: auto 36px;
+  background-size: auto $height;
   background-repeat: no-repeat;
   background-position: center center;
 }