style: 服务页容器放宽至 1240px,表单改占 7/12 列

This commit is contained in:
2026-09-02 19:54:08 +08:00
parent 0ed0fcea4d
commit a4642f2274
+3 -3
View File
@@ -141,7 +141,7 @@ export default function ServicesClient({
} }
return ( return (
<article className="mx-auto px-6 py-18 lg:py-24 w-full max-w-[880px]"> <article className="mx-auto px-6 py-18 lg:py-24 w-full max-w-[1240px]">
<header className="pt-[10vh]"> <header className="pt-[10vh]">
<h1 <h1
className="font-bold text-[7.2svw] lg:text-[4.6svw] leading-none text-l1" className="font-bold text-[7.2svw] lg:text-[4.6svw] leading-none text-l1"
@@ -171,7 +171,7 @@ export default function ServicesClient({
{/* 双栏:左服务菜单 / 右表单(lg+ 并排,移动端上下堆叠) */} {/* 双栏:左服务菜单 / 右表单(lg+ 并排,移动端上下堆叠) */}
<div className="mt-12 grid grid-cols-1 lg:grid-cols-12 gap-10 lg:gap-8 items-start"> <div className="mt-12 grid grid-cols-1 lg:grid-cols-12 gap-10 lg:gap-8 items-start">
{/* 服务菜单(左栏) */} {/* 服务菜单(左栏) */}
<section className="lg:col-span-6 xl:col-span-7" aria-label="服务列表"> <section className="lg:col-span-6 xl:col-span-5" aria-label="服务列表">
{services.length === 0 ? ( {services.length === 0 ? (
<p className="font-mono-2 text-sm text-l2 border border-dashed border-line p-8 text-center"> <p className="font-mono-2 text-sm text-l2 border border-dashed border-line p-8 text-center">
服务清单整理中——有需要可直接写邮件给我。 服务清单整理中——有需要可直接写邮件给我。
@@ -229,7 +229,7 @@ export default function ServicesClient({
{/* 留言表单(右栏,lg+ sticky 跟随) */} {/* 留言表单(右栏,lg+ sticky 跟随) */}
<section <section
className="lg:col-span-6 xl:col-span-5 flex flex-col gap-5 lg:sticky lg:top-24" className="lg:col-span-6 xl:col-span-7 flex flex-col gap-5 lg:sticky lg:top-24"
aria-label="咨询表单" aria-label="咨询表单"
> >
<p className="font-mono-2 text-xs text-l3 uppercase tracking-widest"> <p className="font-mono-2 text-xs text-l3 uppercase tracking-widest">