From dfd566e3897284758fa375372648bb302b56f380 Mon Sep 17 00:00:00 2001 From: "X1627315083@163.com" <1627315083@qq.com> Date: Thu, 14 May 2026 15:31:34 +0800 Subject: [PATCH] fix --- src/assets/css/style.css | 14 ++++ src/assets/css/style.less | 9 ++- src/main.ts | 3 +- src/pages/about-us/ecosystem.vue | 65 +++++++++++++++++++ src/pages/about-us/index.vue | 24 +++++-- src/pages/about-us/{product.vue => title.vue} | 27 ++++++-- src/pages/about-us/video.vue | 25 ------- src/routes.ts | 4 +- 8 files changed, 130 insertions(+), 41 deletions(-) create mode 100644 src/pages/about-us/ecosystem.vue rename src/pages/about-us/{product.vue => title.vue} (55%) delete mode 100644 src/pages/about-us/video.vue diff --git a/src/assets/css/style.css b/src/assets/css/style.css index 81beb9e..919ac55 100644 --- a/src/assets/css/style.css +++ b/src/assets/css/style.css @@ -6,6 +6,7 @@ li, h1, h2, h3, +h4, p { margin: 0; padding: 0; @@ -13,6 +14,19 @@ p { * { box-sizing: border-box; } +h1, +h2, +h3, +h4, +h5, +h6, +.products-title { + font-family: Poppins, sans-serif; + font-weight: 600; + letter-spacing: 2px; + color: #222222; + text-transform: capitalize; +} html, body, #app { diff --git a/src/assets/css/style.less b/src/assets/css/style.less index 23f75a9..2d607f0 100644 --- a/src/assets/css/style.less +++ b/src/assets/css/style.less @@ -6,6 +6,7 @@ li, h1, h2, h3, +h4, p { margin: 0; padding: 0; @@ -14,7 +15,13 @@ p { * { box-sizing: border-box; } - +h1, h2, h3, h4, h5, h6, .products-title{ + font-family: Poppins, sans-serif; + font-weight: 600; + letter-spacing: 2px; + color: #222222; + text-transform: capitalize; +} html, body, #app { diff --git a/src/main.ts b/src/main.ts index 1052f22..28ef66f 100644 --- a/src/main.ts +++ b/src/main.ts @@ -1,7 +1,8 @@ import { ViteSSG } from 'vite-ssg' import App from './App.vue' import { routes } from './routes' -import './style.css' +// import './style.css' +import '@/assets/css/style.less' import directives from './directives/index' export const createApp = ViteSSG(App, { diff --git a/src/pages/about-us/ecosystem.vue b/src/pages/about-us/ecosystem.vue new file mode 100644 index 0000000..7df44ec --- /dev/null +++ b/src/pages/about-us/ecosystem.vue @@ -0,0 +1,65 @@ + + + \ No newline at end of file diff --git a/src/pages/about-us/index.vue b/src/pages/about-us/index.vue index 89fd017..6752135 100644 --- a/src/pages/about-us/index.vue +++ b/src/pages/about-us/index.vue @@ -1,7 +1,7 @@