feat: 同步dev分支并保留当前修改
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user