{{include "header.html"}} {{include "nav.html"}} {{/* 生鲜主题首页(fresh-mart) 生鲜是「高频低客单」复购生意,首页按「今天吃什么 → 便宜多少 → 凭什么信」推进: 轮播 → 今日特价横幅 → 分类快捷入口 → 时令推荐(产地标签) → 产地直采故事 → 食安承诺 → 用户评价 → 订阅提醒 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 子分类对齐(fruit / vegetable / meat-egg / seafood / dairy / grain)。 布局用「图标+文字同行」的横排卡片:纵向堆叠版整块高约 120px, 视觉上像一堵墙;横排后整行 ~56px,作为轮播/特价之间的过渡带更轻。 */}}
{{/* -------------------------------------------------------------- 时令推荐 */}} {{$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}} {{$origin := index .Ext "origin"}} {{$spec := index .Ext "spec"}} {{if or $origin $spec}}
{{if $origin}}产地直采 · {{$origin}}{{end}} {{if $spec}}{{$spec}}{{end}}
{{end}} {{$rating := index .Ext "rating"}} {{$reviews := index .Ext "reviews"}} {{if $rating}}
{{$rating}} {{if $reviews}}({{$reviews}} 条评价){{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}} {{/* -------------------------------------------------------------- 产地直采故事 */}}

FARM TO TABLE

从果园到你家,
不超过 24 小时

我们在云南、山东、广西自建 140 个直采基地,砍掉批发商环节。 下午 4 点前下单,产地当晚分拣装箱,冷链车凌晨发运,第二天上午到你家时, 蓝莓表面还挂着果园的晨露。

1
基地直采 · 产地团队常驻,熟度可控才采摘
2
当夜分拣 · 坏果人工剔除,按个头分级装箱
3
冷链直达 · 全程温控 0-4℃,到家还带田间凉气
看看产地故事
产地直采
{{/* ------------------------------------------------------------ 食安承诺 */}} {{$cards := index $ext "stats_cards"}}
🌱
产地直采
140 个合作基地,没有中间商加价
❄️
全程冷链
80 城次日达,温控数据全程可溯
🔍
批批检测
农残检测报告随箱附、扫码可查
🤝
不新鲜包退
拍照秒退,无需寄回坏果
{{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}}