feat(home): 首页品牌条文案支持后台配置

This commit is contained in:
2026-11-13 11:06:27 +08:00
parent 5d7fedd915
commit d65b8d8089
13 changed files with 442 additions and 8 deletions
@@ -37,6 +37,15 @@ type HomeConfigDTO struct {
CooperationFeedback CooperationFeedbackConfig `json:"cooperation_feedback"`
// HomeEntriesEnabled 首页业务入口总开关:关闭后 PC/移动端同时隐藏回收与合作入口。
HomeEntriesEnabled bool `json:"home_entries_enabled"`
// BrandBar 首页品牌条三行文案,后台可配置;留空时回退默认文案。
BrandBar HomeBrandBarConfig `json:"brand_bar"`
}
// HomeBrandBarConfig 首页品牌条文案:小标签 / 主标题 / 服务承诺。
type HomeBrandBarConfig struct {
Eyebrow string `json:"eyebrow"`
Title string `json:"title"`
Subtitle string `json:"subtitle"`
}
// AWRecycleConfig 首页「AW炫彩回收」入口:点击展示可配置图片。