From 055b8b9ccc767327cdcf48d0678326bb31888d76 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=BC=A0=E7=BF=94?= Date: Wed, 29 Apr 2026 21:40:14 +0800 Subject: [PATCH] =?UTF-8?q?fix(contact):=20=E4=BF=AE=E5=A4=8D=E6=8F=90?= =?UTF-8?q?=E4=BA=A4=E8=A1=A8=E5=8D=95=E5=AE=BD=E5=BA=A6=E5=BC=82=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit FadeUp 组件缺少 lg:col-span-3 导致在 grid-cols-5 布局中仅占 1 列(153px), 添加后正确占据 3 列(605px) --- src/app/(marketing)/contact/page.tsx | 17 ++++++++--------- 1 file changed, 8 insertions(+), 9 deletions(-) diff --git a/src/app/(marketing)/contact/page.tsx b/src/app/(marketing)/contact/page.tsx index f5a7139..3758e04 100644 --- a/src/app/(marketing)/contact/page.tsx +++ b/src/app/(marketing)/contact/page.tsx @@ -10,8 +10,7 @@ import { Toast } from '@/components/ui/toast'; import { Mail, MapPin, Send, Loader2, Clock, HeadphonesIcon, CheckCircle2 } from 'lucide-react'; import { COMPANY_INFO } from '@/lib/constants'; import { trackContactForm, trackConversion } from '@/lib/analytics'; -import { InkReveal, StaggerContainer, StaggerItem } from '@/lib/animations'; -import { ScrollReveal } from '@/components/ui/scroll-animations'; +import { InkReveal, StaggerContainer, StaggerItem, FadeUp } from '@/lib/animations'; const contactFormSchema = z.object({ name: z.string().min(2, '姓名至少需要2个字符'), @@ -165,7 +164,7 @@ function ContactFormContent() { {/* 标题区 - InkReveal */}
-
+
联系我们

@@ -247,9 +246,9 @@ function ContactFormContent() { - {/* 右侧表单 - ScrollReveal */} - -
+ {/* 右侧表单 - FadeUp */} + +

发送消息

{isSubmitted ? ( @@ -261,7 +260,7 @@ function ContactFormContent() {

感谢您的留言,我们会尽快与您联系!

) : ( -
+
{isSubmitting ? ( @@ -350,7 +349,7 @@ function ContactFormContent() { )}
- +