diff --git a/public/fonts/huangkaihuaLawyerfont-2.ttf b/public/fonts/huangkaihuaLawyerfont-2.ttf new file mode 100644 index 0000000..298e682 Binary files /dev/null and b/public/fonts/huangkaihuaLawyerfont-2.ttf differ diff --git a/public/log.md b/public/log.md index 6ea9d2e..536bdd8 100644 --- a/public/log.md +++ b/public/log.md @@ -2,6 +2,9 @@ ## 网站更新日志 --- +### 2025/2/17 22:30 - [v0.0.3] 测试效果 +- 新增留言板 - 基本完成 + ### 2025/2/13 16:30 - [v0.0.2] 测试效果 - 优化布局 - 优化双端切换逻辑 diff --git a/src/assets/styles/fonts.css b/src/assets/styles/fonts.css index 2a7166e..6f9f238 100644 --- a/src/assets/styles/fonts.css +++ b/src/assets/styles/fonts.css @@ -4,3 +4,9 @@ font-weight: normal; font-style: normal; } +@font-face { + font-family: 'huangkaihua'; + src: url('/fonts/huangkaihuaLawyerfont-2.ttf') format('truetype'); + font-weight: normal; + font-style: normal; +} \ No newline at end of file diff --git a/src/components/Projects_projectBox.vue b/src/components/Projects_box.vue similarity index 100% rename from src/components/Projects_projectBox.vue rename to src/components/Projects_box.vue diff --git a/src/components/Tools_box.vue b/src/components/Tools_box.vue index 11b5ba0..ce8ac16 100644 --- a/src/components/Tools_box.vue +++ b/src/components/Tools_box.vue @@ -6,30 +6,27 @@ const props = defineProps({ tool: Object }); -const imageURL = (r1, r2) => { - return `https://picsum.photos/${220 + Math.floor(r1 * 500)}/${220 + Math.floor(r2 * 500)}`; -}; - - - const hover = ref(false); diff --git a/src/router/index.js b/src/router/index.js index ba125ab..ed6ae40 100644 --- a/src/router/index.js +++ b/src/router/index.js @@ -15,6 +15,7 @@ import Projects from "../pages/Projects_home.vue"; import Demos_home from "../pages/Demos_home.vue"; import Board_page from "../pages/demoPages/messageBoard/Board_page.vue"; import Tools_home from "../pages/Tools_home.vue"; +import GpaCalculator_page from "../pages/toolPages/gpaCalculator/gpaCalculator_page.vue"; import About from "../pages/About.vue"; const routes = [ @@ -45,7 +46,11 @@ const routes = [ }, { path: '/tools', name: 'Tools', - component: Tools_home + component: Tools_home, + children: [ + {path: "1", component: GpaCalculator_page}, + {path: "gpa", component: GpaCalculator_page}, + ] }, { path: '/about', name: 'About',