{{include "header.html"}} {{include "nav.html"}} {{/* 美妆主题首页(beauty-glow) 版式顺序按「种草 → 信任 → 转化」的美妆行业节奏推进: 轮播(品牌大片)→ 品类入口 → 明星产品(肤质标签)→ 品牌故事 → 成分安全承诺 → 客户口碑 → 会员礼遇 CTA ⚠️ 沿用 default 主题的纪律:每个区块有数据才渲染,空数据不出空网格。 */}} {{$ext := .ThemesExt}} {{/* ------------------------------------------------------------------ 轮播 */}} {{if index $ext "show_slides"}} {{$slides := HomeSlides}} {{if $slides}}
{{end}} {{end}} {{/* -------------------------------------------------------------- 品类入口 */}} {{/* 美妆用户进店第一件事是「按品类逛」而不是「看单件爆款」。 四个入口卡写死 slug 并与 init_data 的子分类对齐(skincare / makeup / fragrance / tools), 这是主题定位的一部分 —— 行业主题自带信息架构,不做成可配置项。 */}}

按品类选购

从一支精华到一瓶香水,按你的护肤步骤补齐

{{/* -------------------------------------------------------------- 服务保障条 */}} {{/* 对标头部电商首页:首屏下方必须有「价值主张 / 服务保障」条(次主视觉层级), 用 4 个图标化承诺把免运 / 退换 / 质保 / 客服一次交代清楚,降低首访用户的决策顾虑。 文案按本主题的行业定位写死,不依赖 ext 配置 —— 保证任何站点都有内容、不出空区块。 */}}
{{/* -------------------------------------------------------------- 促销横幅 */}} {{$promoTitle := index $ext "promo_title"}} {{if $promoTitle}}
{{$promoTitle}}
{{with index $ext "promo_desc"}}
{{.}}
{{end}}
{{with index $ext "promo_url"}} {{with index $ext "promo_btn_text"}}{{.}}{{else}}立即查看{{end}} {{end}}
{{end}} {{/* -------------------------------------------------------------- 明星产品 */}} {{$products := ColumnContents "products" 8}} {{if $products}}

{{with index $ext "products_title"}}{{.}}{{else}}明星产品{{end}}

{{/* 副标题兜底仍按 .ShopCODEnabled 分两种说法(default 主题纪律: COD 可被后台单独关闭,写死「支持货到付款」就是无条件宣传)。 */}}

{{with index $ext "products_sub"}}{{.}} {{else}}{{if .ShopCODEnabled}}按肤质选品,支持在线下单与{{.ShopCODTitle}}{{else}}按肤质选品,支持在线下单{{end}}{{end}}

全部产品 →
{{range $products}}
{{if .Img}} {{.Title}} {{else}}
暂无图片
{{end}} {{if .Ext}} {{$badge := index .Ext "badge"}} {{if $badge}} {{$badge}} {{end}} {{end}}

{{.Title}}

{{/* Sephora 式社会证明:星级 + 评价数紧贴标题,先建信任再讲卖点 */}} {{if .Ext}} {{$rating := index .Ext "rating"}} {{$reviews := index .Ext "reviews"}} {{if $rating}}
{{$rating}} {{if $reviews}}({{$reviews}} 条评价){{end}}
{{end}} {{end}} {{if .Description}}

{{StrSub .Description 60}}

{{end}} {{/* 美妆卡的行业标签:肤质 + 容量。有数据才渲染。 */}} {{if .Ext}} {{$skin := index .Ext "skin_type"}} {{$vol := index .Ext "volume"}} {{if or $skin $vol}}
{{if $skin}}{{$skin}}{{end}} {{if $vol}}{{$vol}}{{end}}
{{end}} {{end}}
{{if .Price}}
¥{{printf "%.2f" .Price}}
{{end}} {{if gt .Sales 0}}
已售 {{.Sales}} 件
{{end}}
{{if $.ShopEnabled}} {{if and (ne .StockLimit 2) (le .Stock 0)}} 已售罄 {{else}} {{end}} {{else}} 查看详情 {{end}}
{{end}}
{{end}} {{/* -------------------------------------------------------------- 品牌故事 */}}
花岸实验室

BRAND STORY

成分干净,
是一支好产品的底线

花岸在杭州自建 GMP 工厂与皮肤实验室,每一款产品上市前都经过 28 天斑贴测试; 全成分公开、浓度公开、产地公开 —— 你在瓶身看到的每一个字,都能在这里查到出处。

  • ✓无酒精、无香精、无激素的「三无」承诺,检测报告每批次可查
  • ✓核心功效成分浓度足量添加,不做「概念性添加」
  • ✓不做动物实验,环保可回收包材
了解更多品牌故事
{{/* ------------------------------------------------------------ 成分安全承诺 */}} {{/* 美妆行业的「信任条」放在产品与口碑之间:用户刚看完产品,正在犹豫要不要信。 四条承诺写死(行业主题定位);企业实力数据用 stats_cards(后台可改数字)。 */}} {{$cards := index $ext "stats_cards"}}
🧪
全成分公开
每种成分、每个浓度都可查证
🔬
28 天斑贴测试
敏感肌志愿者实测通过才上市
🏭
GMP 自有工厂
十万级洁净车间,代工不外流
🐰
零残忍配方
不做动物实验,环保可回收包材
{{if $cards}}
{{range $cards}}
{{index . "value"}}
{{index . "label"}}
{{end}}
{{end}}
{{/* ---------------------------------------------------------------- 客户评价 */}} {{$testimonials := index $ext "testimonials"}} {{if $testimonials}}

真实口碑

来自已验证购买的用户反馈,未经筛选原样展示

{{range $testimonials}}
★★★★★

{{index . "content"}}

{{StrSub (index . "name") 1}}
{{index . "name"}}
{{with index . "company"}}
{{.}}
{{end}}
{{end}}
{{end}} {{/* ------------------------------------------------------------ 底部会员 CTA */}} {{if index $ext "show_cta"}}

{{with index $ext "cta_title"}}{{.}}{{else}}不知道自己的肤质适合哪一款?{{end}}

{{with index $ext "cta_desc"}}{{.}}{{else}}告诉我们肤质与困扰,肌肤顾问帮你搭配专属方案。{{end}}

{{end}} {{include "footer.html"}} {{include "js.html"}} {{if index $ext "show_slides"}} {{$slides := HomeSlides}} {{if $slides}} {{end}} {{end}}