From b854ef7505ffe4c2b846270a19d953ea873b1290 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E7=91=9E?= Date: Tue, 10 Mar 2026 00:03:42 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A4=84=E7=90=86=E5=9C=BA=E9=A6=86=E6=96=B9?= =?UTF-8?q?=E5=AD=97=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/ListCard/index.tsx | 10 +++++----- types/list/types.ts | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/components/ListCard/index.tsx b/src/components/ListCard/index.tsx index 7a8754d..37c2dab 100644 --- a/src/components/ListCard/index.tsx +++ b/src/components/ListCard/index.tsx @@ -27,7 +27,7 @@ const ListCard: React.FC = ({ key, participants, // 参与者图片 venue_image_list, // 场馆图片 - venue_description, + location_name = '', // 场馆方 game_type, // 球局类型 }) => { // 参与者要前三个数据 @@ -257,13 +257,13 @@ const ListCard: React.FC = ({ /> {/* {game_type} */} - {venue_description && } - {venue_description && ( + {location_name && } + {location_name && ( 场馆方: - - {venue_description} + {venueImage && } + {location_name} )} diff --git a/types/list/types.ts b/types/list/types.ts index bc1b8b1..d06fd39 100644 --- a/types/list/types.ts +++ b/types/list/types.ts @@ -237,7 +237,7 @@ export interface ListCardProps { venue_image_list: { url: string; }[]; - venue_description: string; + location_name: string; game_type: string; type: string; }