From 8a4a7052540cdca7a0de0d91000385ae97d8b42b Mon Sep 17 00:00:00 2001 From: Guarp Date: Tue, 18 Feb 2025 15:33:18 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E6=88=90=E7=95=99=E8=A8=80=E6=9D=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/styles/fonts.css | 4 ++-- src/pages/Demos_home.vue | 3 --- src/pages/demoPages/messageBoard/Message.vue | 14 +++++++------- 3 files changed, 9 insertions(+), 12 deletions(-) diff --git a/src/assets/styles/fonts.css b/src/assets/styles/fonts.css index 6f9f238..2607e97 100644 --- a/src/assets/styles/fonts.css +++ b/src/assets/styles/fonts.css @@ -1,12 +1,12 @@ @font-face { font-family: 'Netron'; - src: url('/fonts/Netron.ttf') format('truetype'); + src: url('../../../public/fonts/Netron.ttf') format('truetype'); font-weight: normal; font-style: normal; } @font-face { font-family: 'huangkaihua'; - src: url('/fonts/huangkaihuaLawyerfont-2.ttf') format('truetype'); + src: url('../../../public/fonts/huangkaihuaLawyerfont-2.ttf') format('truetype'); font-weight: normal; font-style: normal; } \ No newline at end of file diff --git a/src/pages/Demos_home.vue b/src/pages/Demos_home.vue index 02d2190..22ec57f 100644 --- a/src/pages/Demos_home.vue +++ b/src/pages/Demos_home.vue @@ -1,9 +1,6 @@