feat: 同步dev分支并保留当前修改
Some checks failed
Frontend CI / build-and-push-web (push) Failing after 1m35s
Frontend CI / ota-android (push) Successful in 13m3s
Frontend CI / build-android-apk (push) Successful in 39m23s

This commit is contained in:
lafay
2026-03-21 03:22:28 +08:00
parent 2c65330837
commit a8c78f0c3f
16 changed files with 461 additions and 128 deletions

View File

@@ -269,6 +269,9 @@ export function SimpleMobileTabNavigator() {
);
};
// 计算底部安全距离
const bottomSafeArea = TAB_BAR_HEIGHT + TAB_BAR_FLOATING_MARGIN * 2 + insets.bottom;
return (
<View style={styles.container}>
{/* 内容区域 */}
@@ -331,7 +334,9 @@ const styles = StyleSheet.create({
},
content: {
flex: 1,
marginBottom: TAB_BAR_HEIGHT + TAB_BAR_FLOATING_MARGIN * 2,
},
bottomSpacer: {
backgroundColor: 'transparent',
},
tabBar: {
position: 'absolute',
@@ -340,8 +345,7 @@ const styles = StyleSheet.create({
height: TAB_BAR_HEIGHT,
backgroundColor: colors.background.paper,
borderRadius: 24,
borderTopWidth: 1,
borderTopColor: `${colors.divider}88`,
// 移除顶部边框,避免与内容之间出现线条
flexDirection: 'row',
alignItems: 'center',
justifyContent: 'space-around',