Browse Source

修改封面字体大小

zs 11 months ago
parent
commit
8093d6b3e2

+ 1 - 0
src/styles/variables.scss

@@ -11,6 +11,7 @@ $global-font-size-23: 23px;
 $global-font-size-24: 24px;
 $global-font-size-25: 25px;
 $global-font-size-26: 26px;
+$global-font-size-30: 30px;
 /* 全局覆盖antd表格表头样式 */
 .ant-table-thead > tr > th {
   font-size: 18px; /* 设置表头字体大小 */

+ 7 - 5
src/views/index/index.vue

@@ -170,7 +170,7 @@ const toLogout = () => {
       .content {
         .title {
           margin: 0 0 5px 0;
-          font-size: $global-font-size-25;
+          font-size: $global-font-size-26;
           font-weight: bold;
         }
 
@@ -211,8 +211,8 @@ const toLogout = () => {
     height: 60vh;
     .two_1 {
       .image {
-        width: 400px;
-        height: 400px;
+        width: 500px;
+        height: 500px;
         animation: animationName 5s linear infinite;
       }
       @keyframes animationName {
@@ -223,9 +223,11 @@ const toLogout = () => {
     }
     .two_2 {
       position: absolute;
-      left: 38%;
+      left: 39.6%;
+      width: 250px;
+      text-align: center;
       text {
-        font-size: $global-font-size-22;
+        font-size: $global-font-size-30;
         color: #ffffff;
         text-align: center;
       }

+ 5 - 5
src/views/innovation/detail.vue

@@ -391,11 +391,11 @@ provide('submitForm', submitForm)
             padding-left: 4px;
             padding-right: 4px;
             height: 22px;
-            line-height: $global-font-size-20;
+            line-height: $global-font-size-18;
             background: #f8f9fc;
             border-radius: 1px;
             border: 1px solid #dde2e7;
-            font-size: $global-font-size-14;
+            font-size: $global-font-size-16;
             font-family:
               PingFangSC-Regular,
               PingFang SC;
@@ -418,12 +418,12 @@ provide('submitForm', submitForm)
               PingFang SC;
             font-weight: 500;
             color: #222;
-            line-height: $global-font-size-24;
+            line-height: $global-font-size-18;
           }
         }
         .right_2 {
           padding: 5px 0;
-          font-size: $global-font-size-14;
+          font-size: $global-font-size-16;
           font-family:
             PingFangSC-Regular,
             PingFang SC;
@@ -435,7 +435,7 @@ provide('submitForm', submitForm)
           display: flex;
           justify-content: space-between;
           .right_3Left {
-            font-size: $global-font-size-14;
+            font-size: $global-font-size-16;
             font-family:
               PingFangSC-Regular,
               PingFang SC;

+ 1 - 0
src/views/innovation/index.vue

@@ -15,6 +15,7 @@
               </el-col>
               <el-col :span="12" class="oneRight">
                 <el-input
+                  size="large"
                   clearable
                   v-model="input"
                   placeholder="请输入赛题名称搜索..."