feat: tabs调整

This commit is contained in:
2025-11-06 16:32:15 +07:00
parent 06f73e21e5
commit 33abbe21aa
6 changed files with 71 additions and 115 deletions

28
app/(tabs)/mine.tsx Normal file
View File

@@ -0,0 +1,28 @@
import { ThemedView } from "@/components/themed-view";
import { Text, TouchableOpacity } from "react-native";
import { useRouter } from "expo-router";
export default function MainScreen() {
const router = useRouter();
const handleWithdraw = () => {
router.push("/withdraw");
};
return (
<ThemedView style={{ flex: 1, justifyContent: "center", alignItems: "center" }}>
<TouchableOpacity
onPress={handleWithdraw}
style={{
backgroundColor: "#007AFF",
paddingVertical: 10,
paddingHorizontal: 20,
borderRadius: 8,
}}
>
<Text style={{ color: "#fff", fontSize: 16 }}></Text>
</TouchableOpacity>
</ThemedView>
)
}