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; }