import { View, Text, Image as NativeImage, TouchableOpacity, Dimensions, ScrollView, } from "react-native"; import React, { useEffect } from "react"; import { useTailwind } from "tailwind-rn"; import { useSafeAreaInsets } from "react-native-safe-area-context"; import Toast from "react-native-toast-message"; import { Image } from "expo-image"; import { useHeaderHeight } from "@react-navigation/elements"; const placeholder = "https://via.placeholder.com/1024x1024.png"; export default function SpaceIntroduce({ navigation, route }) { const blurhash = "LcKUTa%gOYWBYRt6xuoJo~s8V@fk"; const tailwind = useTailwind(); const insets = useSafeAreaInsets(); const headerHeight = useHeaderHeight(); //设置header右侧按钮功能 useEffect(() => { navigation.setOptions({ headerRight: () => ( console.log("space setting")}> ), }); }, []); return ( 阿巴阿巴 666666 24 console.log("check wechat")} style={tailwind("flex flex-col items-center ml-auto")} > 查看微信 空间介绍 阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿 付费须知 阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿巴阿 console.log("join")} style={tailwind( "flex flex-row items-center justify-center h-12 rounded-full px-10 bg-[#FF669E]" )} > 99元立即加入 ); }