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