From 21b92f6ddbd95c123583ae048ccdc75047c6a8ba Mon Sep 17 00:00:00 2001 From: Guarp Date: Tue, 4 Mar 2025 19:02:35 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95=E5=8D=9A=E5=AE=A2=E4=B8=8A?= =?UTF-8?q?=E4=BC=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/assets/styles/fonts.css | 4 +- src/components/GeneralRenderer.vue | 2 +- src/pages/About.vue | 1 + src/pages/Blog_home.vue | 1 + src/pages/Demos_home.vue | 1 + src/pages/Editor.vue | 53 +++++++++- src/pages/Home.vue | 99 ++++++++++++------- src/pages/Tools_home.vue | 1 + src/pages/accountPages/Account_draft.vue | 10 +- .../accountPages/Account_worksmanage.vue | 16 +-- .../demoPages/messageBoard/Board_page.vue | 5 +- src/pages/demoPages/podExercise/Quiz.vue | 45 ++++++--- src/pages/errorPages/notFound.vue | 14 +++ src/router/index.js | 43 ++++++-- src/style.css | 15 +++ 15 files changed, 228 insertions(+), 82 deletions(-) create mode 100644 src/pages/errorPages/notFound.vue diff --git a/src/assets/styles/fonts.css b/src/assets/styles/fonts.css index 4148d75..dc337b1 100644 --- a/src/assets/styles/fonts.css +++ b/src/assets/styles/fonts.css @@ -1,13 +1,13 @@ @font-face { font-family: 'Netron'; - src: url('/public/fonts/Netron.ttf') format('truetype'); + src: url('/fonts/Netron.ttf') format('truetype'); font-weight: normal; font-style: normal; font-display: swap; } @font-face { font-family: 'huangkaihua'; - src: url('/public/fonts/huangkaihuaLawyerfont-2.ttf') format('truetype'); + src: url('/fonts/huangkaihuaLawyerfont-2.ttf') format('truetype'); font-weight: normal; font-style: normal; font-display: swap; diff --git a/src/components/GeneralRenderer.vue b/src/components/GeneralRenderer.vue index 74e688d..87eb65c 100644 --- a/src/components/GeneralRenderer.vue +++ b/src/components/GeneralRenderer.vue @@ -3,7 +3,7 @@ - \ No newline at end of file diff --git a/src/pages/Tools_home.vue b/src/pages/Tools_home.vue index f420f51..0f0e614 100644 --- a/src/pages/Tools_home.vue +++ b/src/pages/Tools_home.vue @@ -69,6 +69,7 @@ const filterTools = () => { overflow-y: auto; overflow-x: hidden; display: flex; + justify-content: flex-start; flex-direction: column; align-items: center; padding: 20px 0; diff --git a/src/pages/accountPages/Account_draft.vue b/src/pages/accountPages/Account_draft.vue index f6712f1..65489fb 100644 --- a/src/pages/accountPages/Account_draft.vue +++ b/src/pages/accountPages/Account_draft.vue @@ -1,20 +1,14 @@ diff --git a/src/pages/accountPages/Account_worksmanage.vue b/src/pages/accountPages/Account_worksmanage.vue index 9a46070..674c02f 100644 --- a/src/pages/accountPages/Account_worksmanage.vue +++ b/src/pages/accountPages/Account_worksmanage.vue @@ -1,24 +1,14 @@ diff --git a/src/pages/demoPages/messageBoard/Board_page.vue b/src/pages/demoPages/messageBoard/Board_page.vue index 4bc7f8c..9d8eaaa 100644 --- a/src/pages/demoPages/messageBoard/Board_page.vue +++ b/src/pages/demoPages/messageBoard/Board_page.vue @@ -186,10 +186,11 @@ onBeforeUnmount(() => { display: flex; flex-direction: column; gap: 20px; - width: calc(80%); + width: calc(100% - 60px); + max-width: 1000px; + margin: 0 auto 120px; height: auto; padding: 20px; - margin: 0 auto 150px; border-radius: 15px; background: rgba(128, 128, 128, 0.06); border: cyan solid 1px; diff --git a/src/pages/demoPages/podExercise/Quiz.vue b/src/pages/demoPages/podExercise/Quiz.vue index bb9f540..a8b6085 100644 --- a/src/pages/demoPages/podExercise/Quiz.vue +++ b/src/pages/demoPages/podExercise/Quiz.vue @@ -1,15 +1,16 @@