import { View, Text, TouchableOpacity, Image as NativeImage, } from "react-native"; import React from "react"; import { useTailwind } from "tailwind-rn"; import { Image } from "expo-image"; import { useNavigation } from "@react-navigation/native"; export default function SpaceCard({ data }) { const navigation = useNavigation(); const tailwind = useTailwind(); const blurhash = "LcKUTa%gOYWBYRt6xuoJo~s8V@fk"; if (data?.last) { return ( navigation.navigate("Stream")} style={tailwind("w-full px-1 mt-2")} > 发现更多 缘分就在不经意间 ); } return ( navigation.navigate("StreamerSpace", { mid: data.mid })} style={tailwind("w-full px-1 mt-2")} > {data.is_unread_zone_moment_exist === 1 && ( )} {data.streamer_ext.name} {data.admission_price !== 0 && ( 付费 )} {data.visitor_role === 3 && ( 创建者 )} ); }