Browse Source

1.修改全局默认字体为16px; 2.修改井史简介字体样式;

da-xian 3 months ago
parent
commit
cf24c01c98
2 changed files with 4 additions and 2 deletions
  1. 1 0
      vue/src/main.ts
  2. 3 2
      vue/src/views/wellinfo/detail.vue

+ 1 - 0
vue/src/main.ts

@@ -10,6 +10,7 @@ import { setupRouter } from './router';
 import { setupStore } from '@/store';
 import { setupI18n } from '@/locales';
 import { setupAntd, setupAssets, setupGlobalMethods, setupCustomComponents } from '@/plugins';
+import 'ant-design-vue/dist/antd.css';
 
 if (process.env.NODE_ENV === 'production') {
   const { mockXHR } = require('./mock');

+ 3 - 2
vue/src/views/wellinfo/detail.vue

@@ -696,7 +696,7 @@ export default defineComponent({
     .ant-card-head-title {
       font-weight: bold;
       color: #40a9ff;
-      font-size: larger;
+      font-size: 20px;
     }
 
     .ant-card-head {
@@ -733,11 +733,12 @@ export default defineComponent({
   }
 
   .info-body {
-    line-height: 30px;
+    line-height: 40px;
 
     span {
       color: #1890ff;
       font-weight: 600;
+      font-size: 25px;
     }
   }