{{include "header.html"}} {{include "nav.html"}} {{/* 家居主题首页(home-nest) 家具是「低频高客单」决策,版式按「逛场景 → 看产品 → 建立工艺信任 → 留资」推进: 轮播(整屋场景)→ 促销横幅 → 场景分区 → 本季新品(材质/尺寸标签) → 工艺与环保承诺 → 企业数据 → 买家秀 → 免费设计 CTA */}} {{$ext := .ThemesExt}} {{/* ------------------------------------------------------------------ 轮播 */}} {{if index $ext "show_slides"}} {{$slides := HomeSlides}} {{if $slides}}
{{end}} {{end}} {{/* -------------------------------------------------------------- 服务保障条 */}} {{/* 对标头部电商首页:首屏下方必须有「价值主张 / 服务保障」条(次主视觉层级), 用 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}} {{/* -------------------------------------------------------------- 场景分区 */}} {{/* 家具消费者按「房间」找家具,不按「品类词」。三张场景大卡写死 slug 并与 init_data 的子分类对齐(living-room / bedroom / soft-furnishing)。 */}}

从一个房间开始

整屋搭配不必一步到位,先从最想要改变的那个空间开始

{{/* -------------------------------------------------------------- 本季新品 */}} {{$products := ColumnContents "products" 6}} {{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}}

{{/* 大件家具决策周期长,评分 + 评价数是最先要看的信任信号(IKEA 卡片模式) */}} {{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}} {{$mat := index .Ext "material"}} {{$size := index .Ext "size"}} {{if or $mat $size}}
{{if $mat}}{{$mat}}{{end}} {{if $size}}{{$size}}{{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}} {{/* ------------------------------------------------------------ 工艺与环保承诺 */}} {{/* 家具决策的最大顾虑是「环保」和「运输安装」。用三步流程交代工厂 → 送装 → 质保, 比一堆形容词更有说服力。文案写死(行业主题定位),数字用 stats_cards。 */}}

看得见的工艺,摸得着的安心

从一块板材到你家客厅,每一步都有据可查

🌲
E0 级环保板材

甲醛释放量 ≤0.025mg/m³,优于国标 3 倍;每批次板材的检测报告扫码可查。

🚚
送装同步服务

自有安装团队随车送货、上门安装、清理现场,旧家具免费拆运走。

🛡️
五年整机质保

框架结构五年质保,五金铰链终身保修;30 天试住不满意免费取回。

{{$cards := index $ext "stats_cards"}} {{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}} {{/* ------------------------------------------------------------ 灵感与搭配 */}} {{/* IKEA 的核心打法:卖的不是家具,是「家怎么摆」的灵感。 这里取 news 栏目文章做成编辑感卡片,把「逛商品」过渡到「逛生活」,再回流到分类页。 有文章才渲染,空数据不出空区块。 */}} {{$inspire := ColumnContents "news" 3}} {{if $inspire}}

灵感与搭配

不推商品,只讲怎么把家里布置得更像样

更多灵感 →
{{end}} {{/* ------------------------------------------------------------ 免费设计 CTA */}} {{if index $ext "show_cta"}}

{{with index $ext "cta_title"}}{{.}}{{else}}不确定哪种风格适合你的户型?{{end}}

{{with index $ext "cta_desc"}}{{.}}{{else}}发一张户型图,设计师 24 小时内给你两版免费搭配方案。{{end}}

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