Compare commits
2 Commits
a68da08c85
...
63bcf6fe86
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
63bcf6fe86 | ||
|
|
b854ef7505 |
@@ -27,7 +27,7 @@ const ListCard: React.FC<ListCardProps> = ({
|
|||||||
key,
|
key,
|
||||||
participants, // 参与者图片
|
participants, // 参与者图片
|
||||||
venue_image_list, // 场馆图片
|
venue_image_list, // 场馆图片
|
||||||
venue_description,
|
location_name = '', // 场馆方
|
||||||
game_type, // 球局类型
|
game_type, // 球局类型
|
||||||
}) => {
|
}) => {
|
||||||
// 参与者要前三个数据
|
// 参与者要前三个数据
|
||||||
@@ -257,13 +257,13 @@ const ListCard: React.FC<ListCardProps> = ({
|
|||||||
/>
|
/>
|
||||||
{/* <Text className="smoothTitle">{game_type}</Text> */}
|
{/* <Text className="smoothTitle">{game_type}</Text> */}
|
||||||
</View>
|
</View>
|
||||||
{venue_description && <View className="line" />}
|
{location_name && <View className="line" />}
|
||||||
{venue_description && (
|
{location_name && (
|
||||||
<View className="localAreaContainer">
|
<View className="localAreaContainer">
|
||||||
<View className="localAreaTitle">场馆方:</View>
|
<View className="localAreaTitle">场馆方:</View>
|
||||||
<View className="localAreaWrapper">
|
<View className="localAreaWrapper">
|
||||||
<Image className="localArea" src={venueImage} />
|
{venueImage && <Image className="localArea" src={venueImage} />}
|
||||||
<Text className="localAreaText">{venue_description}</Text>
|
<Text className="localAreaText">{location_name}</Text>
|
||||||
</View>
|
</View>
|
||||||
</View>
|
</View>
|
||||||
)}
|
)}
|
||||||
|
|||||||
@@ -237,7 +237,7 @@ export interface ListCardProps {
|
|||||||
venue_image_list: {
|
venue_image_list: {
|
||||||
url: string;
|
url: string;
|
||||||
}[];
|
}[];
|
||||||
venue_description: string;
|
location_name: string;
|
||||||
game_type: string;
|
game_type: string;
|
||||||
type: string;
|
type: string;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user