From f23b6a8dd8aad6b8c7b201f0f2801bde2b67d690 Mon Sep 17 00:00:00 2001
From: 罗广辉 <guanghui.luo@foxmail.com>
Date: Sat, 29 Mar 2025 11:43:06 +0800
Subject: [PATCH] fix: scss路径调整
---
src/styles/font.scss | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/src/styles/font.scss b/src/styles/font.scss
index 71f6f70..889fede 100644
--- a/src/styles/font.scss
+++ b/src/styles/font.scss
@@ -1,20 +1,20 @@
@font-face {
font-family: "Source Han Sans CN";
- src: url("~@/assets/fonts/SourceHanSansCN-Regular.otf") format("opentype");
+ src: url("@/assets/fonts/SourceHanSansCN-Regular.otf") format("opentype");
font-weight: 400;
font-style: normal;
}
@font-face {
font-family: "Source Han Sans CN";
- src: url("~@/assets/fonts/SourceHanSansCN-Medium.otf") format("opentype");
+ src: url("@/assets/fonts/SourceHanSansCN-Medium.otf") format("opentype");
font-weight: 500;
font-style: normal;
}
@font-face {
font-family: "Source Han Sans CN";
- src: url("~@/assets/fonts/SourceHanSansCN-Bold.otf") format("opentype");
+ src: url("@/assets/fonts/SourceHanSansCN-Bold.otf") format("opentype");
font-weight: 700;
font-style: normal;
}
@@ -22,7 +22,7 @@
/* 额外的标题字体 */
@font-face {
font-family: "YouSheBiaoTiHei";
- src: url("~@/assets/fonts/YouSheBiaoTiHei.ttf") format("truetype");
+ src: url("@/assets/fonts/YouSheBiaoTiHei.ttf") format("truetype");
font-weight: normal;
font-style: normal;
}
--
Gitblit v1.9.3