From 71f7163764ab3fd90804c8f3da5e29b83ef0f3ca Mon Sep 17 00:00:00 2001
From: Vegas <“qazmm69@gmail.com”>
Date: Tue, 11 Nov 2025 10:39:26 +0700
Subject: [PATCH] =?UTF-8?q?=E6=B4=BB=E5=8A=A8=E9=A1=B5=E9=9D=A2=E9=80=82?=
=?UTF-8?q?=E9=85=8D=E9=A1=B6=E9=83=A8=E5=BC=82=E5=BD=A2=E7=8A=B6?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
app/(tabs)/activity.tsx | 23 ++++++++++++++++++++---
1 file changed, 20 insertions(+), 3 deletions(-)
diff --git a/app/(tabs)/activity.tsx b/app/(tabs)/activity.tsx
index 97cfa25..1b5954c 100644
--- a/app/(tabs)/activity.tsx
+++ b/app/(tabs)/activity.tsx
@@ -1,9 +1,26 @@
import { ThemedView } from "@/components/themed-view";
-import { Text } from "react-native";
+import { Text, SafeAreaView, StyleSheet } from "react-native";
export default function ActivityScreen() {
return (
- 活动
+ // SafeAreaView 适配顶部刘海
+ /
+ 活动
+
)
}
-
\ No newline at end of file
+
+const styles = StyleSheet.create({
+ safeAreaContainer: {
+ // 确保 SafeAreaView 占据整个屏幕
+ flex: 1,
+ // 您可能还需要在这里设置背景颜色,以确保状态栏区域的颜色正确
+ backgroundColor: 'pink'
+ },
+
+
+
+
+
+
+});
\ No newline at end of file