From d65b8d8089fe66616ca6f4ec613f4039ddbb906f Mon Sep 17 00:00:00 2001
From: zhaoxing <2558691827@qq.com>
Date: Fri, 13 Nov 2026 11:06:27 +0800
Subject: [PATCH] =?UTF-8?q?feat(home):=20=E9=A6=96=E9=A1=B5=E5=93=81?=
=?UTF-8?q?=E7=89=8C=E6=9D=A1=E6=96=87=E6=A1=88=E6=94=AF=E6=8C=81=E5=90=8E?=
=?UTF-8?q?=E5=8F=B0=E9=85=8D=E7=BD=AE?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../admin/components/HomeBrandBarDialog.vue | 169 ++++++++++++++++++
.../admin/views/AdminSystemConfigsView.vue | 26 ++-
.../src/features/listings/api/homeConfig.ts | 32 ++++
.../modules/systemconfig/distribution.go | 2 +
backend/internal/modules/systemconfig/dto.go | 9 +
.../modules/systemconfig/home_brand_bar.go | 81 +++++++++
.../systemconfig/home_brand_bar_test.go | 83 +++++++++
.../modules/systemconfig/repository.go | 2 +
.../modules/systemconfig/service_home.go | 5 +
frontend/src/features/home/api.ts | 15 ++
.../src/features/listings/ListingListPage.tsx | 12 +-
.../src/features/mobile/MobileHomePage.tsx | 4 +-
frontend/src/styles/storefront-home.css | 10 ++
13 files changed, 442 insertions(+), 8 deletions(-)
create mode 100644 admin-web/src/features/admin/components/HomeBrandBarDialog.vue
create mode 100644 backend/internal/modules/systemconfig/home_brand_bar.go
create mode 100644 backend/internal/modules/systemconfig/home_brand_bar_test.go
diff --git a/admin-web/src/features/admin/components/HomeBrandBarDialog.vue b/admin-web/src/features/admin/components/HomeBrandBarDialog.vue
new file mode 100644
index 0000000..cdb687c
--- /dev/null
+++ b/admin-web/src/features/admin/components/HomeBrandBarDialog.vue
@@ -0,0 +1,169 @@
+
+
+
+
+ {{ config.key }}
+ 留空的字段会自动回退到默认文案,保存后前台刷新页面即可生效。
Home Content