Преглед изворни кода

feat: 员工姓名按设计稿字体属性实现

font-size: 48px, color: rgba(31,135,232,1)=#1F87E8,
font-family: YSBiaoTiHei-bold(有设备按设计稿渲染,无则降级 PingFang SC/YaHei),
line-height: 68px。

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
simonlll пре 1 месец
родитељ
комит
1a90cd3dbb
1 измењених фајлова са 5 додато и 3 уклоњено
  1. 5 3
      src/views/portraitManagement/employeeProfile/index.vue

+ 5 - 3
src/views/portraitManagement/employeeProfile/index.vue

@@ -480,9 +480,11 @@ onBeforeUnmount(() => {
480 480
     display: flex;
481 481
     align-items: center;
482 482
     .person-name {
483
-      font-size: 20px;
484
-      font-weight: bold;
485
-      color: #1a6aff;
483
+      font-size: 48px;
484
+      font-weight: normal;
485
+      color: rgba(31, 135, 232, 1);
486
+      font-family: 'YSBiaoTiHei-bold', 'YouSheBiaoTiHei', 'PingFang SC', 'Microsoft YaHei', sans-serif;
487
+      line-height: 68px;
486 488
     }
487 489
   }
488 490