From 8e3283d951b1c44b9bb306b6faff383b41634de4 Mon Sep 17 00:00:00 2001 From: yml2213 Date: Sun, 6 Sep 2026 18:57:13 +0800 Subject: [PATCH] =?UTF-8?q?style(home):=20=E5=85=A8=E9=9D=A2=E9=87=8D?= =?UTF-8?q?=E6=9E=84PC=E9=A6=96=E9=A1=B5UI=E8=A7=86=E8=A7=89=E5=B1=82?= =?UTF-8?q?=E7=BA=A7=E4=B8=8E=E5=95=86=E5=93=81=E5=8D=A1=E7=89=87=E5=B8=83?= =?UTF-8?q?=E5=B1=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 重构商品卡片为双栏分翼展台,消灭宽屏中间大面积空白 - 去除大粗冗余标题行,以核心资产微卡(哈夫币/保险/币比)作为视觉中心 - 过滤规格胶囊中的重复项(如AWM),与右侧仓库物资展台明确职责分工 - 优化核心资产文字与数字垂直居中对齐,统一沉稳灰阶底色与品牌点睛色 - 调整轮播图Banner高度与业务入口条呼吸感,提升首屏空间利用率与可读性 --- .../listings/components/HomeBanner.vue | 92 +- .../listings/components/HomeZones.vue | 141 +-- .../listings/components/ListingCard.vue | 1069 +++++++++++------ .../src/features/listings/views/HomeView.vue | 195 +-- 4 files changed, 922 insertions(+), 575 deletions(-) diff --git a/frontend/src/features/listings/components/HomeBanner.vue b/frontend/src/features/listings/components/HomeBanner.vue index 890e6c7..308009c 100644 --- a/frontend/src/features/listings/components/HomeBanner.vue +++ b/frontend/src/features/listings/components/HomeBanner.vue @@ -10,8 +10,15 @@ interface HomeBannerSlide { image_url?: string } +interface StatItem { + label: string + value: string + hint?: string +} + interface Props { banners: HomeBannerSlide[] + stats?: StatItem[] } const props = defineProps() @@ -45,7 +52,7 @@ function hasSlideCopy(slide: HomeBannerSlide) {