|
@@ -2,6 +2,7 @@ import SubTitle from "@/components/subTitle";
|
|
|
import Image from "next/image";
|
|
import Image from "next/image";
|
|
|
import {serverGet} from "@/utils/request";
|
|
import {serverGet} from "@/utils/request";
|
|
|
import AnimatedSection from "@/components/AnimatedSection";
|
|
import AnimatedSection from "@/components/AnimatedSection";
|
|
|
|
|
+import ServiceFormClient from "./ServiceFormClient";
|
|
|
|
|
|
|
|
export default async function ServicePage() {
|
|
export default async function ServicePage() {
|
|
|
const res = await serverGet("/webSite/getBasicInfo");
|
|
const res = await serverGet("/webSite/getBasicInfo");
|
|
@@ -79,7 +80,7 @@ export default async function ServicePage() {
|
|
|
|
|
|
|
|
{/* Service Consultation Section */}
|
|
{/* Service Consultation Section */}
|
|
|
<AnimatedSection effect="slide" direction="left">
|
|
<AnimatedSection effect="slide" direction="left">
|
|
|
- <section className="bg-[url('/assets/support/3.png')] bg-cover py-16 px-4 relative overflow-hidden">
|
|
|
|
|
|
|
+ <section className="bg-[url('/assets/support/3.png')] bg-no-repeat bg-cover py-10 px-4 relative overflow-hidden">
|
|
|
{/* Background Light Effects */}
|
|
{/* Background Light Effects */}
|
|
|
<div className="absolute right-0 top-1/2 transform -translate-y-1/2 w-96 h-96 opacity-30">
|
|
<div className="absolute right-0 top-1/2 transform -translate-y-1/2 w-96 h-96 opacity-30">
|
|
|
<div
|
|
<div
|
|
@@ -99,23 +100,28 @@ export default async function ServicePage() {
|
|
|
<SubTitle title={"服务咨询"} color={"#fff"}/>
|
|
<SubTitle title={"服务咨询"} color={"#fff"}/>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
- {/* Contact Information */}
|
|
|
|
|
- <div className="space-y-6">
|
|
|
|
|
- <div>
|
|
|
|
|
- <p className="text-gray-300 mb-2">中科盛阳服务热线:</p>
|
|
|
|
|
- <p className="text-4xl font-bold">{basicInfo.telephone}</p>
|
|
|
|
|
- </div>
|
|
|
|
|
-
|
|
|
|
|
- <div className="space-y-2">
|
|
|
|
|
- <p className="text-gray-300">如需自选以下业务,您可以直接拨打相关热线电话:</p>
|
|
|
|
|
- <p className="text-gray-300">24小时产品售前咨询服务热线:{basicInfo.consultationHotline}</p>
|
|
|
|
|
- </div>
|
|
|
|
|
- </div>
|
|
|
|
|
|
|
+ {/* Contact Information & Form */}
|
|
|
|
|
+ <ServiceFormClient />
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
{/* Right Side - Light Effects Area */}
|
|
{/* Right Side - Light Effects Area */}
|
|
|
- <div className="hidden lg:block">
|
|
|
|
|
- {/* This space is for the light effects which are handled by the background */}
|
|
|
|
|
|
|
+ <div className="hidden lg:block space-y-8 pl-12">
|
|
|
|
|
+ <div className="text-white">
|
|
|
|
|
+ <p className="text-gray-300 mb-2">中科盛阳服务热线:</p>
|
|
|
|
|
+ <p className="text-5xl font-black text-blue-400 drop-shadow-lg tracking-tight">
|
|
|
|
|
+ {basicInfo.telephone}
|
|
|
|
|
+ </p>
|
|
|
|
|
+ </div>
|
|
|
|
|
+
|
|
|
|
|
+ <div className="space-y-4">
|
|
|
|
|
+ <p className="text-gray-300 text-lg font-medium leading-relaxed">
|
|
|
|
|
+ 如需自选以下业务,您可以直接拨打相关热线电话:
|
|
|
|
|
+ </p>
|
|
|
|
|
+ <div className="bg-white/5 backdrop-blur-md p-6 rounded-xl border border-white/10 shadow-inner">
|
|
|
|
|
+ <p className="text-gray-400 text-sm mb-1 uppercase tracking-widest font-bold">24小时产品售前咨询服务热线</p>
|
|
|
|
|
+ <p className="text-2xl font-bold text-white tracking-tighter">{basicInfo.consultationHotline}</p>
|
|
|
|
|
+ </div>
|
|
|
|
|
+ </div>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|