|
|
@@ -249,14 +249,14 @@ export default function WealDetailScreen() {
|
|
|
<Text style={styles.cardTitle}>参与度</Text>
|
|
|
<Text style={styles.cardNum}>{data.participatingList?.length}个玩家</Text>
|
|
|
</View>
|
|
|
- <ScrollView horizontal showsHorizontalScrollIndicator={false} style={styles.userList}>
|
|
|
+ <View style={[styles.userList, { overflow: 'hidden' }]}>
|
|
|
{data.participatingList?.map((user: any, index: number) => (
|
|
|
<View key={index} style={styles.userItem}>
|
|
|
<Image source={{ uri: user.avatar }} style={styles.userAvatar} />
|
|
|
<Text style={styles.userName} numberOfLines={1}>{user.nickname}</Text>
|
|
|
</View>
|
|
|
))}
|
|
|
- </ScrollView>
|
|
|
+ </View>
|
|
|
</View>
|
|
|
</View>
|
|
|
<View style={{ height: 120 }} />
|
|
|
@@ -376,7 +376,7 @@ const styles = StyleSheet.create({
|
|
|
goodsItem: { width: '31%', aspectRatio: 0.8, backgroundColor: 'rgba(0,0,0,0.3)', borderRadius: 10, padding: 8, marginBottom: 10, alignItems: 'center' },
|
|
|
goodsImg: { width: '80%', height: '60%' },
|
|
|
goodsName: { color: '#fff', fontSize: 10, marginTop: 5 },
|
|
|
- goodsCountTag: { position: 'absolute', left: 0, bottom: 25, backgroundColor: '#FFDD00', paddingHorizontal: 5, borderTopRightRadius: 5, borderBottomRightRadius: 5 },
|
|
|
+ goodsCountTag: { position: 'absolute', left: 0, bottom: 10, backgroundColor: '#FFDD00', paddingHorizontal: 5, borderTopRightRadius: 5, borderBottomRightRadius: 5 },
|
|
|
goodsCountText: { color: '#000', fontSize: 8, fontWeight: 'bold' },
|
|
|
|
|
|
participantSection: { marginTop: 20, backgroundColor: 'rgba(255,255,255,0.1)', borderRadius: 15, padding: 15 },
|