Ver código fonte

📦 按要求修改首页字

快乐的梦鱼 4 horas atrás
pai
commit
8d48d771b5
1 arquivos alterados com 6 adições e 3 exclusões
  1. 6 3
      src/pages/index.vue

+ 6 - 3
src/pages/index.vue

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