来源仓库:jxc/ai-fresh-delivery 来源提交:f0b1a180e2deb7e4673b9d1c8542619f7bc0f73d 快照树: 09f679334ff38f0ff25e907961c94a8223bcaedd(与来源 HEAD 工作树逐字节一致,3801 个文件) 按约定本仓库不带任何历史提交:来源仓库的历史中含真实凭据 (生产 SSH 私钥 deploy/id_rsa_tencent、server/.env、.env.tencent/.env.production/.env.gitea、 deploy/小程序AppSecret.txt,其中 MP_APPSECRET / S3 AccessKey 经哈希比对与线上同值), 整包推送会把这些凭据永久带入本仓库,故只取「当前版本」的单提交快照。 供应商系统后续开发自本提交开始。
3.9 KiB
name, version, description, keywords, author, style_type
| name | version | description | keywords | author | style_type | |||||
|---|---|---|---|---|---|---|---|---|---|---|
| z-pattern-layout | 1.0.0 | Z-Pattern Layout design style for web interfaces |
|
StyleKit | layout |
Z-Pattern Layout Style
Overview
基于眼动追踪的Z型扫描布局,视线从左上到右上,斜穿到左下再到右下,形成Z字路径。适合着陆页、营销页面和简洁信息展示。
Philosophy
Z-Pattern Layout 基于用户在视觉简洁页面上的自然扫描路径。视线从左上角(logo/品牌)移到右上角(CTA),然后斜穿到左下角,最后移至右下角(最终CTA)。
Design Tokens
Border
- Width:
border - Color:
border-gray-200 - Radius:
rounded-xl
Shadow
- Small:
shadow-sm - Medium:
shadow-md - Large:
shadow-lg shadow-[#6366f1]/25 - Hover:
hover:shadow-xl hover:shadow-[#6366f1]/30
Typography
- Heading:
font-bold tracking-tight - Body:
font-sans - Hero:
text-4xl md:text-5xl lg:text-6xl - H1:
text-3xl md:text-4xl - Body:
text-base md:text-lg
Spacing
- Section:
py-12 md:py-16 lg:py-20 - Container:
px-4 md:px-6 lg:px-8 - Card:
p-6 md:p-8
Colors
- Primary BG:
bg-white - Secondary BG:
bg-gray-50 - Primary Text:
text-[#0f172a] - Primary Button:
bg-[#6366f1] text-white shadow-lg shadow-[#6366f1]/25
Component Recipes
Button
-
Base:
font-semibold rounded-xl transition-all duration-300 -
Primary:
bg-[#6366f1] text-white shadow-lg shadow-[#6366f1]/25 -
Secondary:
bg-[#0f172a] text-white -
Outline:
bg-transparent text-[#0f172a] border border-gray-200 -
Hover:
hover:shadow-xl hover:shadow-[#6366f1]/30 hover:-translate-y-0.5
Card
-
Base:
bg-white rounded-2xl text-center transition-shadow duration-200 -
Default:
shadow-sm border border-gray-100 -
Accent:
shadow-sm border border-[#6366f1]/20 -
Gradient:
bg-gradient-to-br from-white to-indigo-50 shadow-sm border border-gray-100 -
Hover:
hover:shadow-md
Input
- Base:
w-full bg-white border border-gray-200 rounded-xl text-[#0f172a] placeholder:text-gray-400 focus:outline-none transition-all duration-200 - Default: ``
- Filled:
bg-gray-50
Forbidden Patterns
These classes must NEVER be used in Z-Pattern Layout style:
-
rounded-none -
font-black -
border-4 -
border-8 -
Pattern:
^rounded-none$ -
Pattern:
^border-[48]
Why:
rounded-none: Z-Pattern Layout uses soft rounding (rounded-xl) for modern appealborder-4: Z-Pattern Layout uses subtle borders for clean, conversion-focused design
Do's
- 左上角放置 logo/品牌标识
- 右上角放置导航或首要 CTA
- 中间区域放置核心价值主张
- 左下角放置辅助信息或信任标识
- 右下角放置最终 CTA 按钮
- 每一行信息独立完整,层层递进
Don'ts
- 禁止在Z路径上放置不重要的内容
- 禁止打断Z型视觉流动
- 禁止使用过多的内容干扰路径
- 禁止将 CTA 放在路径之外
- 禁止让页面过于复杂和拥挤
Layout Archetypes
landing-hero-centered: Centered headline, subtitle, and CTA. Clean and focused.landing-hero-split: Text on left, image/visual on right. Great for product showcases.landing-hero-fullscreen: Full viewport hero with background image or color. High impact.landing-video-hero: Full-screen video background with overlay text. High impact for product demos.landing-saas-pricing: Complete SaaS pricing page with hero, pricing tiers, FAQ, and CTA.landing-waitlist: Minimal pre-launch page with email collection and countdown.
Example Usage
Generate a landing page with:
- Style: z-pattern-layout
- Archetype: landing-hero-centered
- Sections: hero, features, cta, footer
- Components: heading (hero variant), button (primary, lg), card (default)
Example Prompts:
- "SaaS 着陆页"
- "SaaS 着陆页"
- "作品集展示"
Generated by StyleKit · https://stylekit.dev Style: Z型布局 (Z-Pattern Layout)