zs 11 mesi fa
parent
commit
c585730bb3
2 ha cambiato i file con 13 aggiunte e 4 eliminazioni
  1. 9 0
      src/styles/variables.scss
  2. 4 4
      src/views/journal/index.vue

+ 9 - 0
src/styles/variables.scss

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

+ 4 - 4
src/views/journal/index.vue

@@ -36,22 +36,22 @@ const columns = [
   {
     title: '序号',
     dataIndex: 'id',
-    width: 80
+    width: 70
   },
   {
     title: '名称',
     dataIndex: 'name',
-    width: 300
+    width: 310
   },
   {
     title: '委托方',
     dataIndex: 'client',
-    width: 90
+    width: 100
   },
   {
     title: '合作方',
     dataIndex: 'partner',
-    width: 90
+    width: 100
   },
   {
     title: '研究主旨',