refactor(marketing): 营销面影像整批退役,正文改内容图、首屏改纯排版
四次否决指向同一件事:照片不承担语义。抽象几何(无出处)、建筑混凝土(与业务无关)、 技术静物(与文案无关)、首屏建筑四图(同上)——每次都不是题材没选好,而是「先立密度指标 再去为指标找图」这个顺序错了。参考站的影像密度来自真实项目摄影,本仓没有这类素材, 零编造也不许造,任何替代品都只能是装饰。 正文(R23 改判载体): - 新增 ui/stage-index.tsx:条目按序号排成脊线,withDetail 时拆「标题:说明」, 数据全部来自 product.process / solution.solutions / service.process; 整块 aria-hidden(它是索引,不让屏幕阅读器把同一份文字读两遍) - 新增 ui/band-index.tsx:满幅文字索引带,替代原 t-b 影像带; /solutions 取方案清单(meta 用 subtitle,避免与下方卡片 h3 重复)、/news 取标题 - 落点:三个详情模板 + /solutions + /news;/cases 零数据不渲染且不进登记表(零渲染页=假锚) - 撤除:/products「企业套装」、/services、/insights 三个偏移位(所在区块没有可承载条目) 首屏(R22 判据掉头): - 16 个首屏文件移除 <HeroPlate>(覆盖 18 条路由),文本列收成整行,内部 max-w 继续管字宽 - 删除 ui/hero-plate.tsx 与 public/images/hub/**(4 张) - R22 从「必须有影像片」改为「零影像,出现即判红」;自证改五向 (HeroPlate 回潮 / Image 回潮 / 干净页不误报 / 注释不算数 / 缺页分母缩水) 判据与文档: - R23 分母 9→5、R25 上限 8→5(同步分母),R12 自证夹具改为从 ASPECT_MEASURED 派生 (此前手抄四键,加 portrait 后自证恒红,说明 B1「check:visual EXIT=0」的宣称不成立) - R23/R25 负例从已退出登记的 /products 移到 /news(否则自证报「R25 未被抓到」) - LEDGER 重写为影像退役记账;计划补「B3 改判」「首屏去板」两节 门禁:check:grammar 25/25 + selftest EXIT=0 · tsc 0 · eslint 0 error · jest 161 套件/1891 例 · e2e:fast 59 passed(25 skipped 为 dev 下 GA4 组,既有口径)
This commit is contained in:
1 parent
84ac9b2123
commit
498a0cad3f
29 files changed
+1046
-285
No files matched your search
@@ -5,7 +5,6 @@ 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,
|
||||
@@ -54,7 +53,7 @@ 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 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">
|
||||
<div className="max-w-4xl lg:col-span-12">
|
||||
<motion.div
|
||||
initial={{ opacity: 0, y: 20 }}
|
||||
animate={{ opacity: 1, y: 0 }}
|
||||
@@ -116,9 +115,7 @@ function HeroSection({ data }: { data: AboutData }) {
|
||||
</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 { HeroPlate } from '@/components/ui/hero-plate';
|
||||
import { BandIndex } from '@/components/ui/band-index';
|
||||
import { cn } from '@/lib/utils';
|
||||
|
||||
const EASE_OUT = [0.22, 1, 0.36, 1] as const;
|
||||
@@ -130,7 +130,7 @@ export default function CasesContentV3({
|
||||
{/* Hero Section */}
|
||||
<section className="relative min-h-[70vh] 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-28 sm:py-36 md: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">
|
||||
<div className="max-w-4xl lg:col-span-12">
|
||||
<motion.div
|
||||
initial={{ opacity: 0, y: 20 }}
|
||||
animate={{ opacity: 1, y: 0 }}
|
||||
@@ -198,9 +198,7 @@ export default function CasesContentV3({
|
||||
</motion.div>
|
||||
</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>
|
||||
|
||||
@@ -349,6 +347,14 @@ export default function CasesContentV3({
|
||||
</div>
|
||||
</section>
|
||||
|
||||
{/* 正文构型 t-b:满幅**文字索引带**(R23 / ADR-0011 §8.6)。
|
||||
案例表为空时整条带子不渲染(零编造,不造客户与指标),因此本页也不进 R23 登记表 ——
|
||||
登记一个零渲染的页面等于给判据一个假锚。 */}
|
||||
<BandIndex
|
||||
label={`CASES · ${String((casesProp ?? []).length).padStart(2, '0')}`}
|
||||
items={(casesProp ?? []).slice(0, 6).map((c) => ({ title: c.title, meta: c.industry }))}
|
||||
/>
|
||||
|
||||
{/* CTA Section */}
|
||||
<section className="relative py-20 sm:py-28 md:py-36 lg:py-44 overflow-hidden bg-bg-secondary">
|
||||
<div className="absolute top-0 left-0 right-0 h-px bg-border-primary" />
|
||||
|
||||
@@ -24,7 +24,6 @@ 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;
|
||||
|
||||
@@ -244,7 +243,7 @@ function ContactFormContent({ data }: { data: ContactData }) {
|
||||
转化页按 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 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">
|
||||
<div className="max-w-4xl lg:col-span-12">
|
||||
{data.heroSubtitle && (
|
||||
<motion.div
|
||||
initial={{ opacity: 0, y: 20 }}
|
||||
@@ -299,9 +298,7 @@ function ContactFormContent({ data }: { data: ContactData }) {
|
||||
)}
|
||||
</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,6 @@ 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 { HeroPlate } from '@/components/ui/hero-plate';
|
||||
import { ArrowRight } from 'lucide-react';
|
||||
|
||||
export type InsightKind = 'methodology' | 'case' | 'writing';
|
||||
@@ -78,7 +77,7 @@ export default function InsightsContent({ entries }: { entries: InsightEntry[] }
|
||||
{/* L1 —— 结论式主张,不是口号 */}
|
||||
<section className="bg-bg-primary border-b border-border-primary" data-testid="hero-section">
|
||||
<div className="container-x py-16 md:py-24 grid grid-cols-1 lg:grid-cols-12 lg:items-center gap-10 md:gap-12">
|
||||
<div className="lg:col-span-7">
|
||||
<div className="lg:col-span-12">
|
||||
<ScrollReveal>
|
||||
<p className="text-sm font-medium text-brand-ink tracking-wider mb-4">洞察</p>
|
||||
<h1 className="text-4xl md:text-5xl font-bold text-text-primary leading-tight max-w-4xl">
|
||||
@@ -93,9 +92,7 @@ export default function InsightsContent({ entries }: { entries: InsightEntry[] }
|
||||
</ScrollReveal>
|
||||
</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>
|
||||
|
||||
|
||||
@@ -5,7 +5,6 @@ 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 {
|
||||
@@ -32,7 +31,7 @@ export function MethodologyContent({ data }: MethodologyContentProps) {
|
||||
{/* 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 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">
|
||||
<div className="max-w-4xl lg:col-span-12">
|
||||
<motion.div
|
||||
initial={{ opacity: 0, y: 30 }}
|
||||
animate={{ opacity: 1, y: 0 }}
|
||||
@@ -59,9 +58,7 @@ export function MethodologyContent({ data }: MethodologyContentProps) {
|
||||
</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 { HeroPlate } from '@/components/ui/hero-plate';
|
||||
import { BandIndex } from '@/components/ui/band-index';
|
||||
|
||||
const categories = ['全部', '公司新闻', '研发动态'];
|
||||
const ITEMS_PER_PAGE = 9;
|
||||
@@ -125,7 +125,7 @@ export default function NewsContentV3({ news, pageCopy }: { news?: NewsItem[]; p
|
||||
{/* Hero Section */}
|
||||
<section className="relative min-h-[75vh] 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-28 sm:py-36 md:py-44 lg:py-56 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">
|
||||
<div className="max-w-4xl lg:col-span-12">
|
||||
<ScrollReveal>
|
||||
<SectionLabel>{heroEyebrow}</SectionLabel>
|
||||
</ScrollReveal>
|
||||
@@ -147,9 +147,7 @@ export default function NewsContentV3({ news, pageCopy }: { news?: NewsItem[]; p
|
||||
</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>
|
||||
</section>
|
||||
|
||||
@@ -243,6 +241,12 @@ export default function NewsContentV3({ news, pageCopy }: { news?: NewsItem[]; p
|
||||
</div>
|
||||
</section>
|
||||
|
||||
{/* 正文构型 t-b:满幅**文字索引带**(R23 / ADR-0011 §8.6),承载最新六条新闻标题 */}
|
||||
<BandIndex
|
||||
label={`NEWS · ${String(NEWS.length).padStart(2, '0')}`}
|
||||
items={NEWS.slice(0, 6).map((n) => ({ title: n.title, meta: n.date }))}
|
||||
/>
|
||||
|
||||
{/* CTA Section */}
|
||||
<section className="relative py-20 sm:py-28 md:py-36 lg:py-44 overflow-hidden bg-bg-primary">
|
||||
<div className="absolute top-0 left-0 right-0 h-px bg-border-primary" />
|
||||
|
||||
@@ -10,7 +10,6 @@ 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 (
|
||||
@@ -104,9 +103,7 @@ export default function NewsDetailContentV3({ news, relatedNews = [] }: NewsDeta
|
||||
</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,7 +17,6 @@ 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;
|
||||
@@ -130,7 +129,7 @@ export default function ErpUpgradeContentV2({ item }: ErpUpgradeContentV2Props)
|
||||
{/* 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 grid grid-cols-1 lg:grid-cols-12 lg:items-center gap-12 lg:gap-10">
|
||||
<div className="lg:col-span-7">
|
||||
<div className="lg:col-span-12">
|
||||
<ScrollReveal>
|
||||
<Badge variant="outline" className="mb-8 border-brand/30 text-brand-ink text-sm px-4 py-2">
|
||||
企业数字化升级专题
|
||||
@@ -164,9 +163,7 @@ export default function ErpUpgradeContentV2({ item }: ErpUpgradeContentV2Props)
|
||||
</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,7 +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';
|
||||
import { StageIndex } from '@/components/ui/stage-index';
|
||||
|
||||
const PRODUCT_ICONS: Record<string, React.ReactNode> = {
|
||||
'睿新ERP管理系统': <Package className="w-8 h-8" />,
|
||||
@@ -31,7 +31,7 @@ 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 grid grid-cols-1 lg:grid-cols-12 lg:items-center gap-12 lg:gap-10">
|
||||
<div className="lg:col-span-7">
|
||||
<div className="lg:col-span-12">
|
||||
<motion.div
|
||||
initial={{ opacity: 0, y: 30 }}
|
||||
animate={{ opacity: 1, y: 0 }}
|
||||
@@ -102,9 +102,7 @@ function DetailHero({ product }: DetailHeroProps) {
|
||||
</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>
|
||||
);
|
||||
@@ -216,41 +214,30 @@ function ProcessSection({ process }: ProcessSectionProps) {
|
||||
<div className="absolute bottom-0 left-0 right-0 h-px bg-border-primary" />
|
||||
|
||||
<div className="max-w-container mx-auto px-4 sm:px-6 lg:px-10">
|
||||
<ScrollReveal className="text-center max-w-3xl mx-auto mb-16 sm:mb-20 md:mb-20">
|
||||
<SectionLabel className="justify-center">
|
||||
<div className="flex items-center gap-5">
|
||||
<div className="w-14 h-px bg-brand" />
|
||||
<span className="text-[11px] tracking-[0.4em] uppercase font-bold text-brand-ink">
|
||||
实施流程
|
||||
</span>
|
||||
<div className="w-14 h-px bg-brand" />
|
||||
</div>
|
||||
</SectionLabel>
|
||||
<h2 className="text-2xl sm:text-3xl md:text-4xl lg:text-5xl font-bold text-ink tracking-tight leading-tight">
|
||||
实施流程
|
||||
</h2>
|
||||
<p className="text-text-secondary text-lg mt-6 leading-relaxed">
|
||||
标准化的实施流程,确保项目按时高质量交付
|
||||
</p>
|
||||
</ScrollReveal>
|
||||
|
||||
<div className="relative">
|
||||
<div>
|
||||
<StaggerReveal staggerDelay={0.05} delayChildren={0.05} className="grid md:grid-cols-2 lg:grid-cols-4 gap-px bg-border-primary">
|
||||
{process.map((step, idx) => (
|
||||
<div
|
||||
key={idx}
|
||||
className="group relative text-center p-8 bg-bg-primary hover:bg-bg-secondary transition-colors duration-hover"
|
||||
>
|
||||
<div className="relative z-10 w-20 h-20 bg-bg-secondary border border-border-primary group-hover:border-brand/50 flex items-center justify-center mx-auto mb-8 transition-colors duration-hover">
|
||||
<span className="text-3xl font-bold text-brand-ink">{idx + 1}</span>
|
||||
</div>
|
||||
|
||||
<p className="text-lg text-ink font-medium leading-relaxed">{step}</p>
|
||||
</div>
|
||||
))}
|
||||
</StaggerReveal>
|
||||
</div>
|
||||
{/* 正文构型 t-a(R23 / ADR-0011 §8.6):右侧不放照片,而是**本区块自己的六个阶段**
|
||||
排成一条脊线(标题 + 一句说明,全部来自 product.process)。
|
||||
原先这里是影像 + 下方宫格卡片:图与文案无关,且同一份流程被讲了两遍。 */}
|
||||
<div className="grid grid-cols-1 lg:grid-cols-12 gap-10 lg:gap-12 items-start">
|
||||
<ScrollReveal className="lg:col-span-5">
|
||||
<SectionLabel>
|
||||
<div className="flex items-center gap-5">
|
||||
<div className="w-14 h-px bg-brand" />
|
||||
<span className="text-[11px] tracking-[0.4em] uppercase font-bold text-brand-ink">
|
||||
实施流程
|
||||
</span>
|
||||
<div className="w-14 h-px bg-brand" />
|
||||
</div>
|
||||
</SectionLabel>
|
||||
<h2 className="text-2xl sm:text-3xl md:text-4xl lg:text-5xl font-bold text-ink tracking-tight leading-tight">
|
||||
实施流程
|
||||
</h2>
|
||||
<p className="text-text-secondary text-lg mt-6 leading-relaxed">
|
||||
标准化的实施流程,确保项目按时高质量交付
|
||||
</p>
|
||||
</ScrollReveal>
|
||||
<ScrollReveal className="lg:col-span-7">
|
||||
<StageIndex items={process} withDetail />
|
||||
</ScrollReveal>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
@@ -6,7 +6,6 @@ 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 { 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';
|
||||
@@ -40,7 +39,7 @@ function HeroSection({ pageCopy }: { pageCopy?: PageCopy | null }) {
|
||||
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 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">
|
||||
<div className="max-w-4xl lg:col-span-12">
|
||||
<motion.h1
|
||||
initial={{ opacity: 0, y: 70 }}
|
||||
animate={{ opacity: 1, y: 0 }}
|
||||
@@ -92,9 +91,7 @@ function HeroSection({ pageCopy }: { pageCopy?: PageCopy | null }) {
|
||||
</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>
|
||||
);
|
||||
|
||||
@@ -15,7 +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";
|
||||
import { StageIndex } from "@/components/ui/stage-index";
|
||||
|
||||
const EASE_OUT = [0.22, 1, 0.36, 1] as const;
|
||||
|
||||
@@ -36,7 +36,7 @@ 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 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">
|
||||
<div className="max-w-4xl lg:col-span-12">
|
||||
<motion.h1
|
||||
initial={{ opacity: 0, y: 40 }}
|
||||
animate={{ opacity: 1, y: 0 }}
|
||||
@@ -92,9 +92,7 @@ function DetailHero({ service }: { service: Service }) {
|
||||
</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>
|
||||
);
|
||||
@@ -212,20 +210,32 @@ function ProcessSection({ service }: { service: Service }) {
|
||||
<div className="absolute bottom-0 left-0 right-0 h-px bg-border-primary" />
|
||||
|
||||
<div className="max-w-container mx-auto px-4 sm:px-6 lg:px-10">
|
||||
<motion.div
|
||||
initial={{ opacity: 0, y: 30 }}
|
||||
whileInView={{ opacity: 1, y: 0 }}
|
||||
viewport={{ once: true, margin: "-80px" }}
|
||||
transition={{ duration: 0.28, ease: EASE_OUT }}
|
||||
className="max-w-3xl mb-16 sm:mb-20 md:mb-24"
|
||||
>
|
||||
<h2 className="text-3xl sm:text-4xl md:text-5xl lg:text-6xl font-bold text-ink tracking-tight leading-[0.95]">
|
||||
服务流程
|
||||
</h2>
|
||||
<p className="mt-6 text-lg text-text-secondary leading-relaxed">
|
||||
标准化流程,确保每个项目可控、可预期
|
||||
</p>
|
||||
</motion.div>
|
||||
{/* 正文构型 t-a(R23 / ADR-0011 §8.6):右侧内容图 = 本页步骤(service.process) */}
|
||||
<div className="mb-16 sm:mb-20 md:mb-24 grid grid-cols-1 lg:grid-cols-12 gap-10 items-start">
|
||||
<motion.div
|
||||
initial={{ opacity: 0, y: 30 }}
|
||||
whileInView={{ opacity: 1, y: 0 }}
|
||||
viewport={{ once: true, margin: "-80px" }}
|
||||
transition={{ duration: 0.28, ease: EASE_OUT }}
|
||||
className="lg:col-span-5"
|
||||
>
|
||||
<h2 className="text-3xl sm:text-4xl md:text-5xl lg:text-6xl font-bold text-ink tracking-tight leading-[0.95]">
|
||||
服务流程
|
||||
</h2>
|
||||
<p className="mt-6 text-lg text-text-secondary leading-relaxed">
|
||||
标准化流程,确保每个项目可控、可预期
|
||||
</p>
|
||||
</motion.div>
|
||||
<motion.div
|
||||
initial={{ opacity: 0, y: 30 }}
|
||||
whileInView={{ opacity: 1, y: 0 }}
|
||||
viewport={{ once: true, margin: "-80px" }}
|
||||
transition={{ duration: 0.28, delay: 0.1, ease: EASE_OUT }}
|
||||
className="lg:col-span-7"
|
||||
>
|
||||
<StageIndex items={service.process ?? []} withDetail />
|
||||
</motion.div>
|
||||
</div>
|
||||
|
||||
<div className="grid md:grid-cols-2 lg:grid-cols-5 gap-px bg-border-primary">
|
||||
{service.process.slice(0, 5).map((step, index) => {
|
||||
|
||||
@@ -8,7 +8,6 @@ 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 { HeroPlate } from '@/components/ui/hero-plate';
|
||||
|
||||
const EASE_OUT = [0.22, 1, 0.36, 1] as const;
|
||||
|
||||
@@ -87,7 +86,7 @@ function HeroSection({ pageCopy }: { pageCopy?: PageCopy | null }) {
|
||||
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 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">
|
||||
<div className="max-w-4xl lg:col-span-12">
|
||||
<motion.h1
|
||||
initial={{ opacity: 0, y: 40 }}
|
||||
animate={{ opacity: 1, y: 0 }}
|
||||
@@ -140,9 +139,7 @@ function HeroSection({ pageCopy }: { pageCopy?: PageCopy | null }) {
|
||||
</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>
|
||||
);
|
||||
|
||||
@@ -10,7 +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';
|
||||
import { StageIndex } from '@/components/ui/stage-index';
|
||||
|
||||
/** 共创阶段的可验证事实 —— 与首页同一份语义,不冒充案例 */
|
||||
const CO_CREATION_STEPS = [
|
||||
@@ -59,7 +59,7 @@ function DetailHero({ solution }: DetailHeroProps) {
|
||||
本身重复(它已含 width/max-width/margin/padding),两套 gutter 同时在线是
|
||||
计划 §6.5 点名的病。 */}
|
||||
<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">
|
||||
<div className="lg:col-span-12">
|
||||
<motion.div
|
||||
initial={{ opacity: 0, y: 30 }}
|
||||
animate={{ opacity: 1, y: 0 }}
|
||||
@@ -110,9 +110,7 @@ function DetailHero({ solution }: DetailHeroProps) {
|
||||
</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>
|
||||
);
|
||||
@@ -172,22 +170,28 @@ function SolutionsSection({ solutions }: SolutionsSectionProps) {
|
||||
return (
|
||||
<section className="relative py-20 sm:py-28 md:py-32 lg:py-40 overflow-hidden bg-bg-primary">
|
||||
<div className="max-w-container mx-auto px-4 sm:px-6 lg:px-10">
|
||||
<ScrollReveal className="text-center max-w-3xl mx-auto mb-16 sm:mb-20 md:mb-20">
|
||||
<SectionLabel className="justify-center">
|
||||
<div className="flex items-center gap-5">
|
||||
<div className="w-14 h-px bg-brand" />
|
||||
{/* tracking-[0.4em] 是记档外的裸字面量(--letter-spacing-widest = 0.12em);
|
||||
近单色对标的按钮/eyebrow 实测 letterSpacing: normal。收到记档里。 */}
|
||||
<span className="text-xs tracking-widest uppercase font-bold text-brand-ink">
|
||||
Solutions
|
||||
</span>
|
||||
<div className="w-14 h-px bg-brand" />
|
||||
</div>
|
||||
</SectionLabel>
|
||||
<h2 className="text-2xl sm:text-3xl md:text-4xl lg:text-5xl font-bold text-ink tracking-tight leading-tight">
|
||||
解决方案
|
||||
</h2>
|
||||
</ScrollReveal>
|
||||
{/* 正文构型 t-a(R23 / ADR-0011 §8.6):右侧内容图 = 本页方案条目(solution.solutions) */}
|
||||
<div className="mb-16 sm:mb-20 md:mb-20 grid grid-cols-1 lg:grid-cols-12 gap-10 items-start">
|
||||
<ScrollReveal className="lg:col-span-5">
|
||||
<SectionLabel>
|
||||
<div className="flex items-center gap-5">
|
||||
<div className="w-14 h-px bg-brand" />
|
||||
{/* tracking-[0.4em] 是记档外的裸字面量(--letter-spacing-widest = 0.12em);
|
||||
近单色对标的按钮/eyebrow 实测 letterSpacing: normal。收到记档里。 */}
|
||||
<span className="text-xs tracking-widest uppercase font-bold text-brand-ink">
|
||||
Solutions
|
||||
</span>
|
||||
<div className="w-14 h-px bg-brand" />
|
||||
</div>
|
||||
</SectionLabel>
|
||||
<h2 className="text-2xl sm:text-3xl md:text-4xl lg:text-5xl font-bold text-ink tracking-tight leading-tight">
|
||||
解决方案
|
||||
</h2>
|
||||
</ScrollReveal>
|
||||
<ScrollReveal className="lg:col-span-7">
|
||||
<StageIndex items={solutions} withDetail />
|
||||
</ScrollReveal>
|
||||
</div>
|
||||
|
||||
<div>
|
||||
<StaggerReveal staggerDelay={0.05} delayChildren={0.05} className="grid md:grid-cols-2 gap-px bg-border-primary">
|
||||
|
||||
@@ -7,7 +7,8 @@ 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 { HeroPlate } from '@/components/ui/hero-plate';
|
||||
import { BandIndex } from '@/components/ui/band-index';
|
||||
|
||||
import { type Solution } from '@/lib/constants/solutions';
|
||||
import type { Product } from '@/lib/constants/products';
|
||||
|
||||
@@ -35,7 +36,7 @@ function HeroSection({ pageCopy }: { pageCopy?: PageCopy | null }) {
|
||||
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 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">
|
||||
<div className="max-w-4xl lg:col-span-12">
|
||||
<motion.h1
|
||||
initial={{ opacity: 0, y: 40 }}
|
||||
animate={{ opacity: 1, y: 0 }}
|
||||
@@ -88,9 +89,7 @@ function HeroSection({ pageCopy }: { pageCopy?: PageCopy | null }) {
|
||||
</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>
|
||||
);
|
||||
@@ -239,6 +238,14 @@ export default function SolutionsContentV3({ solutions: solutionsProp, products,
|
||||
<div className="bg-bg-primary text-ink">
|
||||
<HeroSection pageCopy={pageCopy} />
|
||||
<SolutionsGridSection solutions={solutions} products={products} pageCopy={pageCopy} />
|
||||
{/* 正文构型 t-b:满幅**文字索引带**(R23 / ADR-0011 §8.6)。
|
||||
影像版被否后,这条带子改为承载本页六条行业方案 —— 序号与标题都来自数据;
|
||||
meta 取 subtitle 而不是 industry(行业名已在下方卡片 h3 出现,同屏再列一遍=把列表抄一遍)。 */}
|
||||
<BandIndex
|
||||
label={`SOLUTIONS · ${String(solutions.length).padStart(2, '0')}`}
|
||||
items={solutions.slice(0, 6).map((s) => ({ title: s.title, meta: s.subtitle }))}
|
||||
/>
|
||||
|
||||
<CTASection pageCopy={pageCopy} />
|
||||
</div>
|
||||
);
|
||||
|
||||
@@ -6,7 +6,6 @@ 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 */
|
||||
@@ -144,7 +143,7 @@ export default function TeamContentV3({ data }: { data: Record<string, unknown>
|
||||
{/* ============ 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 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">
|
||||
<div className="max-w-4xl lg:col-span-12">
|
||||
{/* 眉标 Badge */}
|
||||
<motion.div
|
||||
initial={{ opacity: 0, y: 20 }}
|
||||
@@ -228,9 +227,7 @@ 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