|
|
@@ -79,10 +79,11 @@ export function CustomTabBar() {
|
|
|
const bottomPadding = insets.bottom;
|
|
|
|
|
|
return (
|
|
|
- <View style={[styles.wrapper, { paddingBottom: bottomPadding }]}>
|
|
|
+ <View style={styles.wrapper}>
|
|
|
<ImageBackground
|
|
|
+ source={{ uri: Images.common.kaixinTabbarBg }}
|
|
|
style={styles.container}
|
|
|
- resizeMode="cover"
|
|
|
+ resizeMode="stretch"
|
|
|
>
|
|
|
<View style={styles.center}>
|
|
|
{tabList.map((item, index) => (
|
|
|
@@ -95,7 +96,7 @@ export function CustomTabBar() {
|
|
|
<Image
|
|
|
source={currentIndex === index ? item.active : item.img}
|
|
|
style={styles.icon}
|
|
|
- contentFit="contain"
|
|
|
+ contentFit="fill"
|
|
|
/>
|
|
|
</TouchableOpacity>
|
|
|
))}
|