From 893eb56580f39a42227d523ab8953dc7376b26f7 Mon Sep 17 00:00:00 2001 From: maochaoying <925670706@qq.com> Date: Thu, 25 May 2023 15:50:23 +0800 Subject: [PATCH] =?UTF-8?q?=E5=85=B3=E4=BA=8E=E6=88=91=E4=BB=AC=E6=95=B4?= =?UTF-8?q?=E4=BD=93=E5=B8=83=E5=B1=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/HeadLine.vue | 10 +++++-- src/components/Header.vue | 3 ++ src/components/about/About.vue | 35 ++++++++++++++++++++++ src/components/about/Intro.vue | 62 +++++++++++++++++++++++++++++++++++++++ src/components/about/Overview.vue | 30 +++++++++++++++++++ src/components/detail/Detail.vue | 5 ++++ src/pages/About.vue | 14 +++++++-- 7 files changed, 155 insertions(+), 4 deletions(-) create mode 100644 src/components/about/About.vue create mode 100644 src/components/about/Intro.vue create mode 100644 src/components/about/Overview.vue diff --git a/src/components/HeadLine.vue b/src/components/HeadLine.vue index 0e5cb51..3b61b4d 100644 --- a/src/components/HeadLine.vue +++ b/src/components/HeadLine.vue @@ -5,7 +5,7 @@
{{ line1 }}
-+
{{ line2 }}
@@ -28,6 +28,9 @@ const props = defineProps({ line2: { type: String, }, + margin: { + type: Boolean, + }, }) onMounted(() => { const observer = new IntersectionObserver(entries => { @@ -82,8 +85,11 @@ const animateCSS = (node, animation, prefix = 'animate__') => font-size: 18px; font-weight: 300; color: #686868; + max-width: 70vw; line-height: 28px; - white-space: nowrap; + } + .mt { + margin-top: 30px; } } diff --git a/src/components/Header.vue b/src/components/Header.vue index dd8af03..b35b0f6 100644 --- a/src/components/Header.vue +++ b/src/components/Header.vue @@ -182,6 +182,9 @@ onMounted(() => { if (path == '/product') { activeTab.value = 2 } + if (path == '/about') { + activeTab.value = 1 + } if (path == '/') { activeTab.value = 0 } diff --git a/src/components/about/About.vue b/src/components/about/About.vue new file mode 100644 index 0000000..b5d41a1 --- /dev/null +++ b/src/components/about/About.vue @@ -0,0 +1,35 @@ + +