{{include "header.html"}} {{include "nav.html"}} {{/* 母婴主题首页(baby-care) 新手爸妈的核心诉求是「别让我踩坑」,版式按「按月龄找 → 看认证 → 学知识」推进: 轮播 → 分月龄选购指南 → 促销横幅 → 月龄热卖(月龄/认证标签) → 安全承诺 → 育儿知识 → 妈妈口碑 → 育婴师 CTA */}} {{$ext := .ThemesExt}} {{/* ------------------------------------------------------------------ 轮播 */}} {{if index $ext "show_slides"}} {{$slides := HomeSlides}} {{if $slides}}
{{end}} {{end}} {{/* -------------------------------------------------------------- 分月龄选购指南 */}} {{/* 母婴用户按「宝宝月龄」而不是「商品类目」思考。 三张月龄卡写死 slug 并与 init_data 子分类对齐(newborn / infant / toddler), 每张卡列出该阶段的选品重点,给出「被带着逛」的引导感。 */}}

按宝宝月龄选,不踩坑

育婴师整理的分月龄清单,只列这个阶段真正用得上的

{{/* -------------------------------------------------------------- 服务保障条 */}} {{/* 对标头部电商首页:首屏下方必须有「价值主张 / 服务保障」条(次主视觉层级), 用 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}}

{{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}}

{{/* 新手爸妈最信「别家的爸妈」:评分 + 评价数放在所有标签之前 */}} {{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}} {{$age := index .Ext "age_range"}} {{$cert := index .Ext "cert"}} {{if or $age $cert}}
{{if $age}}{{$age}}{{end}} {{if $cert}}{{$cert}}{{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}} {{/* ------------------------------------------------------------ 安全承诺 */}} {{$cards := index $ext "stats_cards"}}

敢给自己孩子用,才敢卖给你

贝暖的品控标准比国标更严一档,全部公开可查

🧪
食品级接触材质
入口类全部通过 GB 4806 检测
👕
A 类贴身标准
婴幼儿衣物无荧光剂,批批留样
📋
186 项自检
自检项目清单全公开,扫码可查
🚚
坏品秒赔
奶瓶奶嘴运输破损直接补发
{{if $cards}}
{{range $cards}}
{{index . "value"}}
{{index . "label"}}
{{end}}
{{end}}
{{/* ---------------------------------------------------------------- 育儿知识 */}} {{$news := ColumnContents "news" 3}} {{if $news}}

育儿知识

育婴师撰写的选品指南,不打广告只讲干货

更多知识 →
{{range $news}}
{{if .Img}} {{.Title}} {{else}}
暂无图片
{{end}}

{{.Title}}

{{if .Description}}

{{StrSub .Description 80}}

{{end}}
{{ParseTime .CreatedAt "2006-01-02"}} 阅读全文 →
{{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}}