From 107a002ead07ab6b312aa00145616d57e74fd67a Mon Sep 17 00:00:00 2001 From: ysn <2126564605@qq.com> Date: Tue, 16 Jun 2026 15:11:03 +0800 Subject: [PATCH] =?UTF-8?q?=E7=B3=BB=E7=BB=9F=E5=AD=97=E4=BD=93=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/styles/index.scss | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/src/assets/styles/index.scss b/src/assets/styles/index.scss index 7c6919a..94833fa 100644 --- a/src/assets/styles/index.scss +++ b/src/assets/styles/index.scss @@ -10,12 +10,27 @@ body { -moz-osx-font-smoothing: grayscale; -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; - font-family: "Source Han Sans CN", "思源黑体", sans-serif; + font-family: + "Microsoft YaHei", "微软雅黑", + "PingFang SC", "苹方", + "NotoSansSC", "思源黑体CN", + "WenQuanYiMicro Hei", "文泉驿微米黑", + sans-serif; } /* 覆盖所有 Element UI 组件字体 */ [class^="el-"] { - font-family: "Source Han Sans CN", "思源黑体", sans-serif !important; + font-family: + // windows首选 + "Microsoft YaHei", "微软雅黑", + // mac苹果电脑 + "PingFang SC", "苹方", + // 麒麟/统信Linux标配,核心兜底 + "NotoSansSC", "思源黑体CN", + // Linux最低配兜底 + "WenQuanYiMicro Hei", "文泉驿微米黑", + // 浏览器原生无衬线终极保底 + sans-serif !important; } label {