feat(hub): 首屏改 A 类影像片,覆盖 18/20 条路由(OPEN-01 终版)
第一版按 ADR-0011 §4.2 做的 B 类矢量原语(层叠体块 + 水平线)上线前被用户否决: 「右侧的矩形条是什么设计?有出处吗?不太好看呢」。复盘是语义错位——浅底上的 灰阶堆叠读成骨架屏/条形图,不是建筑;建筑感来自透视与材质,矢量剪影给不了。 这与 ADR-0011 §2.4 记的 brand-visuals 抽象几何被弃是同一个坑。 改判走 A 类本地生成影像,并相应修订 ADR-0011 §4.1(A 类允许进首屏引言区的构图位)。 - 新增 ui/hero-plate.tsx + 四张 4:5 建筑静帧(facade/glass/hall/truss, 1000x1250 webp,97–199KB/张),均为抽象结构、无人物/无文字/无标识/无地标 - 覆盖 16 个文件 / 18 条路由:六 hub、四类详情、关于/团队/方法论/联系、ERP 专题、 详情页共享壳;排除 /privacy /terms(法律文本)与 /cases/[slug](零数据 + 大数字构图) - R22 改为守 <HeroPlate 或 <Image>,仍 22/22 + 四向自证 - 撤除 span-field.tsx / span-field.test.tsx - 基线:受影响 24 页 × 5 project 全量重采(157 张),只读复跑 225 passed / 0 failed 门禁:type-check 0 · lint 0 error/88 warning · jest 160 套件/1887 例 (89.90/88.47/89.57/89.90)· grammar 22/22 · accents 违规 0 · a11y 34 页 0 问题 · security 8/8 · e2e:fast 59 passed(firefox 已恢复)· lighthouse 33 次运行全通过 (a11y 11/11 均 100,perf 97–100,SEO 100)
This commit is contained in:
1 parent
a17fd6f4ab
commit
84ac9b2123
186 files changed
+337
-311
No files matched your search
@@ -5,6 +5,7 @@ import { CTAButton } from '@/components/ui/cta-button';
|
||||
import { MetricsBasisNote } from '@/components/ui/metrics-basis-note';
|
||||
import { weakestBasis, type MetricBasis } from '@/lib/constants/metrics-basis';
|
||||
import { ContentUnavailableState } from '@/components/ui/content-unavailable';
|
||||
import { HeroPlate } from '@/components/ui/hero-plate';
|
||||
import {
|
||||
Trophy,
|
||||
Shield, Award, Zap,
|
||||
@@ -52,8 +53,8 @@ function HeroSection({ data }: { data: AboutData }) {
|
||||
|
||||
return (
|
||||
<section className="relative min-h-[60vh] flex items-center overflow-hidden bg-bg-primary">
|
||||
<div className="max-w-container mx-auto px-4 sm:px-6 lg:px-10 relative z-10 w-full py-24 sm:py-32 lg:py-40">
|
||||
<div className="max-w-4xl">
|
||||
<div className="max-w-container mx-auto px-4 sm:px-6 lg:px-10 relative z-10 w-full py-24 sm:py-32 lg:py-40 grid grid-cols-1 lg:grid-cols-12 lg:items-center gap-12 lg:gap-10">
|
||||
<div className="max-w-4xl lg:col-span-7">
|
||||
<motion.div
|
||||
initial={{ opacity: 0, y: 20 }}
|
||||
animate={{ opacity: 1, y: 0 }}
|
||||
@@ -114,6 +115,10 @@ function HeroSection({ data }: { data: AboutData }) {
|
||||
</CTAButton>
|
||||
</motion.div>
|
||||
</div>
|
||||
|
||||
{/* 首屏影像片(A 类,ADR-0011 §4.1):本页的构图支点。
|
||||
移动端是文字下方的一条带,桌面占右 5 列;任何断点都不隐藏。 */}
|
||||
<HeroPlate variant="facade" className="h-40 w-full sm:h-56 lg:col-span-5 lg:h-[30rem]" />
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
|
||||
@@ -8,7 +8,7 @@ import {
|
||||
type CaseStudy,
|
||||
} from '@/lib/constants/cases';
|
||||
import { EARLY_ACCESS } from '@/lib/constants/company';
|
||||
import { SpanField } from '@/components/ui/span-field';
|
||||
import { HeroPlate } from '@/components/ui/hero-plate';
|
||||
import { cn } from '@/lib/utils';
|
||||
|
||||
const EASE_OUT = [0.22, 1, 0.36, 1] as const;
|
||||
@@ -198,13 +198,9 @@ export default function CasesContentV3({
|
||||
</motion.div>
|
||||
</div>
|
||||
|
||||
{/* B 类原语,第四组参数:六层、贴左 —— 案例页首屏此前完全没有视觉支点。 */}
|
||||
<SpanField
|
||||
className="h-40 w-full sm:h-56 lg:col-span-5 lg:h-[30rem]"
|
||||
layers={6}
|
||||
density="regular"
|
||||
align="left"
|
||||
/>
|
||||
{/* 首屏影像片(A 类,ADR-0011 §4.1):本页的构图支点。
|
||||
移动端是文字下方的一条带,桌面占右 5 列;任何断点都不隐藏。 */}
|
||||
<HeroPlate variant="truss" className="h-40 w-full sm:h-56 lg:col-span-5 lg:h-[30rem]" />
|
||||
</div>
|
||||
</section>
|
||||
|
||||
|
||||
@@ -24,6 +24,7 @@ import {
|
||||
import { trackContactForm } from '@/lib/analytics';
|
||||
import { BreadcrumbSchema } from '@/components/seo/structured-data';
|
||||
import { LegacyTooltip as Tooltip } from '@/components/ui/tooltip';
|
||||
import { HeroPlate } from '@/components/ui/hero-plate';
|
||||
|
||||
const EASE_OUT = [0.22, 1, 0.36, 1] as const;
|
||||
|
||||
@@ -242,8 +243,8 @@ function ContactFormContent({ data }: { data: ContactData }) {
|
||||
{/* Hero Section —— critique P2(2026-09-19):80vh 巨幅把转化表单推出首屏,
|
||||
转化页按 DESIGN.md 紧凑档处理:无 min-h、py 收窄,表单回到首屏视野。 */}
|
||||
<section className="relative flex items-center overflow-hidden bg-bg-primary">
|
||||
<div className="max-w-container mx-auto px-4 sm:px-6 lg:px-10 relative z-10 w-full py-16 sm:py-20 lg:py-28">
|
||||
<div className="max-w-4xl">
|
||||
<div className="max-w-container mx-auto px-4 sm:px-6 lg:px-10 relative z-10 w-full py-16 sm:py-20 lg:py-28 grid grid-cols-1 lg:grid-cols-12 lg:items-center gap-12 lg:gap-10">
|
||||
<div className="max-w-4xl lg:col-span-7">
|
||||
{data.heroSubtitle && (
|
||||
<motion.div
|
||||
initial={{ opacity: 0, y: 20 }}
|
||||
@@ -297,6 +298,10 @@ function ContactFormContent({ data }: { data: ContactData }) {
|
||||
</motion.p>
|
||||
)}
|
||||
</div>
|
||||
|
||||
{/* 首屏影像片(A 类,ADR-0011 §4.1):本页的构图支点。
|
||||
移动端是文字下方的一条带,桌面占右 5 列;任何断点都不隐藏。 */}
|
||||
<HeroPlate variant="glass" className="h-40 w-full sm:h-56 lg:col-span-5 lg:h-[30rem]" />
|
||||
</div>
|
||||
</section>
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ import { ScrollReveal } from '@/components/ui/scroll-reveal';
|
||||
import { CTAButton } from '@/components/ui/cta-button';
|
||||
import { COMPANY_INFO } from '@/lib/constants';
|
||||
import { cn } from '@/lib/utils';
|
||||
import { SpanField } from '@/components/ui/span-field';
|
||||
import { HeroPlate } from '@/components/ui/hero-plate';
|
||||
import { ArrowRight } from 'lucide-react';
|
||||
|
||||
export type InsightKind = 'methodology' | 'case' | 'writing';
|
||||
@@ -93,13 +93,9 @@ export default function InsightsContent({ entries }: { entries: InsightEntry[] }
|
||||
</ScrollReveal>
|
||||
</div>
|
||||
|
||||
{/* B 类原语,第六组参数:六层、线密、贴左。 */}
|
||||
<SpanField
|
||||
className="h-40 w-full sm:h-56 lg:col-span-5 lg:h-[24rem]"
|
||||
layers={6}
|
||||
density="dense"
|
||||
align="left"
|
||||
/>
|
||||
{/* 首屏影像片(A 类,ADR-0011 §4.1):本页的构图支点。
|
||||
移动端是文字下方的一条带,桌面占右 5 列;任何断点都不隐藏。 */}
|
||||
<HeroPlate variant="glass" className="h-40 w-full sm:h-56 lg:col-span-5 lg:h-[30rem]" />
|
||||
</div>
|
||||
</section>
|
||||
|
||||
|
||||
@@ -5,6 +5,7 @@ import { ScrollReveal, StaggerReveal } from '@/components/ui/scroll-reveal';
|
||||
import { CTAButton } from '@/components/ui/cta-button';
|
||||
import { CTA_LABELS } from '@/lib/constants/cta-labels';
|
||||
import { EASE_OUT } from '@/components/ui/page-decoration';
|
||||
import { HeroPlate } from '@/components/ui/hero-plate';
|
||||
import { CheckCircle2 } from 'lucide-react';
|
||||
|
||||
interface MethodologyPhase {
|
||||
@@ -30,8 +31,8 @@ export function MethodologyContent({ data }: MethodologyContentProps) {
|
||||
<div>
|
||||
{/* Hero:品牌化定位,轻量 CTA */}
|
||||
<section className="relative min-h-[60vh] flex items-center overflow-hidden bg-bg-primary">
|
||||
<div className="max-w-container mx-auto px-4 sm:px-6 lg:px-10 relative z-10 w-full py-24 sm:py-28 lg:py-32">
|
||||
<div className="max-w-4xl">
|
||||
<div className="max-w-container mx-auto px-4 sm:px-6 lg:px-10 relative z-10 w-full py-24 sm:py-28 lg:py-32 grid grid-cols-1 lg:grid-cols-12 lg:items-center gap-12 lg:gap-10">
|
||||
<div className="max-w-4xl lg:col-span-7">
|
||||
<motion.div
|
||||
initial={{ opacity: 0, y: 30 }}
|
||||
animate={{ opacity: 1, y: 0 }}
|
||||
@@ -57,6 +58,10 @@ export function MethodologyContent({ data }: MethodologyContentProps) {
|
||||
{heroDescription}
|
||||
</motion.p>
|
||||
</div>
|
||||
|
||||
{/* 首屏影像片(A 类,ADR-0011 §4.1):本页的构图支点。
|
||||
移动端是文字下方的一条带,桌面占右 5 列;任何断点都不隐藏。 */}
|
||||
<HeroPlate variant="truss" className="h-40 w-full sm:h-56 lg:col-span-5 lg:h-[30rem]" />
|
||||
</div>
|
||||
</section>
|
||||
|
||||
|
||||
@@ -13,7 +13,7 @@ import { Search, Calendar, ArrowRight, Newspaper, ChevronLeft, ChevronRight } fr
|
||||
import { COMPANY_INFO } from '@/lib/constants';
|
||||
import { type NewsItem } from '@/lib/constants/news';
|
||||
import { SectionLabel, EASE_OUT } from '@/components/ui/page-decoration';
|
||||
import { SpanField } from '@/components/ui/span-field';
|
||||
import { HeroPlate } from '@/components/ui/hero-plate';
|
||||
|
||||
const categories = ['全部', '公司新闻', '研发动态'];
|
||||
const ITEMS_PER_PAGE = 9;
|
||||
@@ -147,13 +147,9 @@ export default function NewsContentV3({ news, pageCopy }: { news?: NewsItem[]; p
|
||||
</ScrollReveal>
|
||||
</div>
|
||||
|
||||
{/* B 类原语,第五组参数:八层、线疏 —— 与其余五页错开,避免六页同一个图章。 */}
|
||||
<SpanField
|
||||
className="h-40 w-full sm:h-56 lg:col-span-5 lg:h-[30rem]"
|
||||
layers={8}
|
||||
density="sparse"
|
||||
align="right"
|
||||
/>
|
||||
{/* 首屏影像片(A 类,ADR-0011 §4.1):本页的构图支点。
|
||||
移动端是文字下方的一条带,桌面占右 5 列;任何断点都不隐藏。 */}
|
||||
<HeroPlate variant="truss" className="h-40 w-full sm:h-56 lg:col-span-5 lg:h-[30rem]" />
|
||||
</div>
|
||||
</section>
|
||||
|
||||
|
||||
@@ -10,6 +10,7 @@ import { SectionLabel, EASE_OUT } from '@/components/ui/page-decoration';
|
||||
import { motion } from 'framer-motion';
|
||||
import { NEWS_RELATED_LINKS, type NewsItem } from '@/lib/constants/news';
|
||||
import { parseArticleBlocks, readingMinutes } from '@/lib/news-article';
|
||||
import { HeroPlate } from '@/components/ui/hero-plate';
|
||||
|
||||
function RelatedNewsCard({ news, index }: { news: NewsItem; index: number }) {
|
||||
return (
|
||||
@@ -67,6 +68,8 @@ export default function NewsDetailContentV3({ news, relatedNews = [] }: NewsDeta
|
||||
{/* Hero Section */}
|
||||
<section className="relative pt-28 sm:pt-32 md:pt-40 pb-16 sm:pb-20 md:pb-24 overflow-hidden">
|
||||
<div className="max-w-container mx-auto px-4 sm:px-6 lg:px-10 relative z-10">
|
||||
<div className="grid grid-cols-1 lg:grid-cols-12 lg:items-start gap-10 lg:gap-12">
|
||||
<div className="lg:col-span-8">
|
||||
<ScrollReveal>
|
||||
<nav aria-label="breadcrumb" className="flex items-center gap-2 text-sm text-text-muted mb-8 sm:mb-10">
|
||||
<StaticLink href="/news" className="hover:text-brand-ink transition-colors duration-normal">
|
||||
@@ -99,6 +102,12 @@ export default function NewsDetailContentV3({ news, relatedNews = [] }: NewsDeta
|
||||
|
||||
<div className="mt-10 h-px bg-gradient-to-r from-brand/50 via-border-primary to-transparent" />
|
||||
</ScrollReveal>
|
||||
</div>
|
||||
|
||||
{/* 首屏影像片(A 类,ADR-0011 §4.1):本页的构图支点。
|
||||
移动端是文字下方的一条带,桌面占右 5 列;任何断点都不隐藏。 */}
|
||||
<HeroPlate variant="truss" className="h-40 w-full sm:h-56 lg:col-span-5 lg:h-[30rem]" />
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
|
||||
@@ -17,6 +17,7 @@ import {
|
||||
} from 'lucide-react';
|
||||
import { cn } from '@/lib/utils';
|
||||
import type { ContentItem } from '@/lib/cms/types';
|
||||
import { HeroPlate } from '@/components/ui/hero-plate';
|
||||
|
||||
interface ErpUpgradeContentV2Props {
|
||||
item: ContentItem;
|
||||
@@ -128,7 +129,8 @@ export default function ErpUpgradeContentV2({ item }: ErpUpgradeContentV2Props)
|
||||
<div className="min-h-screen bg-bg-primary text-ink overflow-x-hidden">
|
||||
{/* Hero Section */}
|
||||
<section className="relative pt-32 pb-32 lg:pt-40 lg:pb-40 overflow-hidden">
|
||||
<div className="max-w-container mx-auto px-6 lg:px-10 relative z-10">
|
||||
<div className="max-w-container mx-auto px-6 lg:px-10 relative z-10 grid grid-cols-1 lg:grid-cols-12 lg:items-center gap-12 lg:gap-10">
|
||||
<div className="lg:col-span-7">
|
||||
<ScrollReveal>
|
||||
<Badge variant="outline" className="mb-8 border-brand/30 text-brand-ink text-sm px-4 py-2">
|
||||
企业数字化升级专题
|
||||
@@ -160,6 +162,11 @@ export default function ErpUpgradeContentV2({ item }: ErpUpgradeContentV2Props)
|
||||
</Button>
|
||||
</div>
|
||||
</ScrollReveal>
|
||||
</div>
|
||||
|
||||
{/* 首屏影像片(A 类,ADR-0011 §4.1):本页的构图支点。
|
||||
移动端是文字下方的一条带,桌面占右 5 列;任何断点都不隐藏。 */}
|
||||
<HeroPlate variant="facade" className="h-40 w-full sm:h-56 lg:col-span-5 lg:h-[30rem]" />
|
||||
</div>
|
||||
</section>
|
||||
|
||||
|
||||
@@ -10,6 +10,7 @@ import { SectionLabel, EASE_OUT } from '@/components/ui/page-decoration';
|
||||
import type { Product } from '@/lib/constants/products';
|
||||
import { MethodologyFramework, TechStackShowcase, FAQSection, DataProofSection } from '@/components/content/sections';
|
||||
import { L3EmptyFallback, CaseStudiesSection, CertificationsSection } from '@/components/detail';
|
||||
import { HeroPlate } from '@/components/ui/hero-plate';
|
||||
|
||||
const PRODUCT_ICONS: Record<string, React.ReactNode> = {
|
||||
'睿新ERP管理系统': <Package className="w-8 h-8" />,
|
||||
@@ -29,7 +30,8 @@ function DetailHero({ product }: DetailHeroProps) {
|
||||
|
||||
return (
|
||||
<section className="relative min-h-[80vh] flex items-center overflow-hidden bg-bg-primary pt-24">
|
||||
<div className="max-w-container mx-auto px-4 sm:px-6 lg:px-10 relative z-10 w-full py-20 sm:py-24 md:py-28 lg:py-32">
|
||||
<div className="max-w-container mx-auto px-4 sm:px-6 lg:px-10 relative z-10 w-full py-20 sm:py-24 md:py-28 lg:py-32 grid grid-cols-1 lg:grid-cols-12 lg:items-center gap-12 lg:gap-10">
|
||||
<div className="lg:col-span-7">
|
||||
<motion.div
|
||||
initial={{ opacity: 0, y: 30 }}
|
||||
animate={{ opacity: 1, y: 0 }}
|
||||
@@ -98,6 +100,11 @@ function DetailHero({ product }: DetailHeroProps) {
|
||||
查看更多产品
|
||||
</CTAButton>
|
||||
</motion.div>
|
||||
</div>
|
||||
|
||||
{/* 首屏影像片(A 类,ADR-0011 §4.1):本页的构图支点。
|
||||
移动端是文字下方的一条带,桌面占右 5 列;任何断点都不隐藏。 */}
|
||||
<HeroPlate variant="facade" className="h-40 w-full sm:h-56 lg:col-span-5 lg:h-[30rem]" />
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
|
||||
@@ -6,7 +6,7 @@ import { EASE_OUT } from '@/components/ui/page-decoration';
|
||||
import { StaticLink } from '@/components/ui/static-link';
|
||||
import { CTAButton } from '@/components/ui/cta-button';
|
||||
import { MetricsBasisNote } from '@/components/ui/metrics-basis-note';
|
||||
import { SpanField } from '@/components/ui/span-field';
|
||||
import { HeroPlate } from '@/components/ui/hero-plate';
|
||||
import { BentoGrid, BentoItem } from '@/components/sections/bento-grid';
|
||||
import { ArrowRight, ArrowUpRight, Package, Cpu, TrendingUp, Users, Settings, FileText } from 'lucide-react';
|
||||
import type { Product } from '@/lib/constants/products';
|
||||
@@ -92,14 +92,9 @@ function HeroSection({ pageCopy }: { pageCopy?: PageCopy | null }) {
|
||||
</motion.div>
|
||||
</div>
|
||||
|
||||
{/* B 类原语:承担首屏构图支点(ADR-0011 §4.2)。移动端是文字下方的一条带,
|
||||
桌面占据右 5 列;任何断点都不隐藏 —— 判据要求它「不能被 CSS 隐藏」。 */}
|
||||
<SpanField
|
||||
className="h-40 w-full sm:h-56 lg:col-span-5 lg:h-[30rem]"
|
||||
layers={5}
|
||||
density="regular"
|
||||
align="right"
|
||||
/>
|
||||
{/* 首屏影像片(A 类,ADR-0011 §4.1):本页的构图支点。
|
||||
移动端是文字下方的一条带,桌面占右 5 列;任何断点都不隐藏。 */}
|
||||
<HeroPlate variant="facade" className="h-40 w-full sm:h-56 lg:col-span-5 lg:h-[30rem]" />
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
|
||||
@@ -15,6 +15,7 @@ import {
|
||||
import type { LucideIcon } from "lucide-react";
|
||||
import type { Service } from "@/lib/constants/services";
|
||||
import { L3EmptyFallback, CaseStudiesSection } from "@/components/detail";
|
||||
import { HeroPlate } from "@/components/ui/hero-plate";
|
||||
|
||||
const EASE_OUT = [0.22, 1, 0.36, 1] as const;
|
||||
|
||||
@@ -34,8 +35,8 @@ function DetailHero({ service }: { service: Service }) {
|
||||
|
||||
return (
|
||||
<section className="relative overflow-hidden bg-bg-primary">
|
||||
<div className="max-w-container mx-auto px-4 sm:px-6 lg:px-10 relative z-10 w-full py-16 sm:py-20 lg:py-28">
|
||||
<div className="max-w-4xl">
|
||||
<div className="max-w-container mx-auto px-4 sm:px-6 lg:px-10 relative z-10 w-full py-16 sm:py-20 lg:py-28 grid grid-cols-1 lg:grid-cols-12 lg:items-center gap-12 lg:gap-10">
|
||||
<div className="max-w-4xl lg:col-span-7">
|
||||
<motion.h1
|
||||
initial={{ opacity: 0, y: 40 }}
|
||||
animate={{ opacity: 1, y: 0 }}
|
||||
@@ -90,6 +91,10 @@ function DetailHero({ service }: { service: Service }) {
|
||||
</CTAButton>
|
||||
</motion.div>
|
||||
</div>
|
||||
|
||||
{/* 首屏影像片(A 类,ADR-0011 §4.1):本页的构图支点。
|
||||
移动端是文字下方的一条带,桌面占右 5 列;任何断点都不隐藏。 */}
|
||||
<HeroPlate variant="hall" className="h-40 w-full sm:h-56 lg:col-span-5 lg:h-[30rem]" />
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
|
||||
@@ -8,7 +8,7 @@ import { MetricsBasisNote } from '@/components/ui/metrics-basis-note';
|
||||
import { CTA_LABELS, canonicalCtaLabel } from '@/lib/constants/cta-labels';
|
||||
import type { Service, ServiceMetric } from '@/lib/constants/services';
|
||||
import { weakestBasis } from '@/lib/constants/metrics-basis';
|
||||
import { SpanField } from '@/components/ui/span-field';
|
||||
import { HeroPlate } from '@/components/ui/hero-plate';
|
||||
|
||||
const EASE_OUT = [0.22, 1, 0.36, 1] as const;
|
||||
|
||||
@@ -140,13 +140,9 @@ function HeroSection({ pageCopy }: { pageCopy?: PageCopy | null }) {
|
||||
</motion.div>
|
||||
</div>
|
||||
|
||||
{/* B 类原语,第三组参数:层数最少、线最疏、贴左 —— 与产品/方案两页拉开差异。 */}
|
||||
<SpanField
|
||||
className="h-40 w-full sm:h-56 lg:col-span-5 lg:h-[30rem]"
|
||||
layers={4}
|
||||
density="sparse"
|
||||
align="left"
|
||||
/>
|
||||
{/* 首屏影像片(A 类,ADR-0011 §4.1):本页的构图支点。
|
||||
移动端是文字下方的一条带,桌面占右 5 列;任何断点都不隐藏。 */}
|
||||
<HeroPlate variant="hall" className="h-40 w-full sm:h-56 lg:col-span-5 lg:h-[30rem]" />
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
|
||||
@@ -10,6 +10,7 @@ import type { Product } from '@/lib/constants/products';
|
||||
import { L3EmptyFallback, CaseStudiesSection, CertificationsSection } from '@/components/detail';
|
||||
import { ResultsSlot } from '@/components/sections/results-slot';
|
||||
import type { CaseStudy } from '@/lib/constants/cases';
|
||||
import { HeroPlate } from '@/components/ui/hero-plate';
|
||||
|
||||
/** 共创阶段的可验证事实 —— 与首页同一份语义,不冒充案例 */
|
||||
const CO_CREATION_STEPS = [
|
||||
@@ -57,7 +58,8 @@ function DetailHero({ solution }: DetailHeroProps) {
|
||||
顺带收成单一容器 primitive:max-w-container + mx-auto + 三档 px 与 .container-x
|
||||
本身重复(它已含 width/max-width/margin/padding),两套 gutter 同时在线是
|
||||
计划 §6.5 点名的病。 */}
|
||||
<div className="container-x relative z-10 w-full py-14 md:py-20">
|
||||
<div className="container-x relative z-10 w-full py-14 md:py-20 grid grid-cols-1 lg:grid-cols-12 lg:items-center gap-12 lg:gap-10">
|
||||
<div className="lg:col-span-7">
|
||||
<motion.div
|
||||
initial={{ opacity: 0, y: 30 }}
|
||||
animate={{ opacity: 1, y: 0 }}
|
||||
@@ -106,6 +108,11 @@ function DetailHero({ solution }: DetailHeroProps) {
|
||||
查看产品
|
||||
</CTAButton>
|
||||
</motion.div>
|
||||
</div>
|
||||
|
||||
{/* 首屏影像片(A 类,ADR-0011 §4.1):本页的构图支点。
|
||||
移动端是文字下方的一条带,桌面占右 5 列;任何断点都不隐藏。 */}
|
||||
<HeroPlate variant="glass" className="h-40 w-full sm:h-56 lg:col-span-5 lg:h-[30rem]" />
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
|
||||
@@ -7,7 +7,7 @@ import { CTAButton } from '@/components/ui/cta-button';
|
||||
import { MetricsBasisNote } from '@/components/ui/metrics-basis-note';
|
||||
import { CTA_LABELS, canonicalCtaLabel } from '@/lib/constants/cta-labels';
|
||||
import { weakestBasis } from '@/lib/constants/metrics-basis';
|
||||
import { SpanField } from '@/components/ui/span-field';
|
||||
import { HeroPlate } from '@/components/ui/hero-plate';
|
||||
import { type Solution } from '@/lib/constants/solutions';
|
||||
import type { Product } from '@/lib/constants/products';
|
||||
|
||||
@@ -88,13 +88,9 @@ function HeroSection({ pageCopy }: { pageCopy?: PageCopy | null }) {
|
||||
</motion.div>
|
||||
</div>
|
||||
|
||||
{/* B 类原语,第二组参数(ADR-0011 §4.2):层数更多、水平线更密。 */}
|
||||
<SpanField
|
||||
className="h-40 w-full sm:h-56 lg:col-span-5 lg:h-[30rem]"
|
||||
layers={7}
|
||||
density="dense"
|
||||
align="right"
|
||||
/>
|
||||
{/* 首屏影像片(A 类,ADR-0011 §4.1):本页的构图支点。
|
||||
移动端是文字下方的一条带,桌面占右 5 列;任何断点都不隐藏。 */}
|
||||
<HeroPlate variant="glass" className="h-40 w-full sm:h-56 lg:col-span-5 lg:h-[30rem]" />
|
||||
</div>
|
||||
</section>
|
||||
);
|
||||
|
||||
@@ -6,6 +6,7 @@ import { CTAButton } from '@/components/ui/cta-button';
|
||||
import { ContentUnavailableState } from '@/components/ui/content-unavailable';
|
||||
import { Shield, Building2, Users, Code, Target, Layers, BookOpen, Sparkles, type LucideIcon } from 'lucide-react';
|
||||
import { EASE_OUT } from '@/components/ui/page-decoration';
|
||||
import { HeroPlate } from '@/components/ui/hero-plate';
|
||||
import { useReducedMotion } from '@/hooks/use-reduced-motion';
|
||||
|
||||
/** Icon name-to-component mapping for CMS string-based icons */
|
||||
@@ -142,8 +143,8 @@ export default function TeamContentV3({ data }: { data: Record<string, unknown>
|
||||
<div className="min-h-screen bg-bg-primary text-ink overflow-x-hidden">
|
||||
{/* ============ L1: Hero 团队情感入口 ============ */}
|
||||
<section className="relative min-h-[60vh] flex items-center overflow-hidden bg-bg-primary">
|
||||
<div className="max-w-container mx-auto px-4 sm:px-6 lg:px-10 relative z-10 w-full py-24 sm:py-32 lg:py-40">
|
||||
<div className="max-w-4xl">
|
||||
<div className="max-w-container mx-auto px-4 sm:px-6 lg:px-10 relative z-10 w-full py-24 sm:py-32 lg:py-40 grid grid-cols-1 lg:grid-cols-12 lg:items-center gap-12 lg:gap-10">
|
||||
<div className="max-w-4xl lg:col-span-7">
|
||||
{/* 眉标 Badge */}
|
||||
<motion.div
|
||||
initial={{ opacity: 0, y: 20 }}
|
||||
@@ -226,6 +227,10 @@ export default function TeamContentV3({ data }: { data: Record<string, unknown>
|
||||
)}
|
||||
</motion.div>
|
||||
</div>
|
||||
|
||||
{/* 首屏影像片(A 类,ADR-0011 §4.1):本页的构图支点。
|
||||
移动端是文字下方的一条带,桌面占右 5 列;任何断点都不隐藏。 */}
|
||||
<HeroPlate variant="hall" className="h-40 w-full sm:h-56 lg:col-span-5 lg:h-[30rem]" />
|
||||
</div>
|
||||
</section>
|
||||
|
||||
|
||||
Reference in new issue
Block a user