|
|
@@ -132,14 +132,14 @@ export default function RNMain() {
|
|
|
|
|
|
screenOptions={({ route }) => ({
|
|
|
headerStyle: {
|
|
|
- backgroundColor: 'white',
|
|
|
+ backgroundColor: '#f5f5f5',
|
|
|
// borderBottomColor:'#ffffff33',
|
|
|
// borderBottomWidth: 1, // 隐藏导航条底部边框
|
|
|
},
|
|
|
- headerTintColor: 'white',
|
|
|
- tabBarStyle: { backgroundColor: 'white', borderTopColor: '#ffffff22', borderTopWidth: 1 / PixelRatio.get() }, // tabbar的背景色
|
|
|
- tabBarActiveTintColor: 'white', // 活动标签的颜色
|
|
|
- tabBarInactiveTintColor: 'gray', // 非活动标签的颜色
|
|
|
+ headerTintColor: 'black',
|
|
|
+ tabBarStyle: { backgroundColor: '#f5f5f5', borderTopColor: '#ffffff22', borderTopWidth: 1 / PixelRatio.get() }, // tabbar的背景色
|
|
|
+ tabBarActiveTintColor: '#000000', // 活动标签的颜色
|
|
|
+ tabBarInactiveTintColor: '#b2b2b2', // 非活动标签的颜色
|
|
|
})}>
|
|
|
<Tab.Screen name="Home" component={ClockPage} options={{
|
|
|
tabBarIcon: ({ size, focused, color }) => {
|
|
|
@@ -147,12 +147,12 @@ export default function RNMain() {
|
|
|
<Image
|
|
|
resizeMode='contain'
|
|
|
style={{ width: size, height: size }}
|
|
|
- source={focused ? require('@assets/images/home_focus.png') : require('@assets/images/home_nonfocus.png')}
|
|
|
+ source={focused ? require('@assets/_health/home_sel.png') : require('@assets/_health/home.png')}
|
|
|
/>
|
|
|
);
|
|
|
},
|
|
|
}} />
|
|
|
- <Tab.Screen name="Reminders" component={NotificationSetting} options={{
|
|
|
+ {/* <Tab.Screen name="Reminders" component={NotificationSetting} options={{
|
|
|
tabBarIcon: ({ size, focused, color }) => {
|
|
|
return (
|
|
|
<Image
|
|
|
@@ -173,7 +173,7 @@ export default function RNMain() {
|
|
|
/>
|
|
|
);
|
|
|
},
|
|
|
- }} />
|
|
|
+ }} /> */}
|
|
|
{/* <Tab.Screen name="Explore" component={ExplorePage} options={{
|
|
|
tabBarIcon: ({ size, focused, color }) => {
|
|
|
return (
|
|
|
@@ -226,7 +226,7 @@ export default function RNMain() {
|
|
|
<Image
|
|
|
resizeMode='contain'
|
|
|
style={{ width: size, height: size }}
|
|
|
- source={focused ? require('@assets/images/profile_focus.png') : require('@assets/images/profile_nonfocus.png')}
|
|
|
+ source={focused ? require('@assets/_health/user_sel.png') : require('@assets/_health/user.png')}
|
|
|
/>
|
|
|
);
|
|
|
},
|
|
|
@@ -246,6 +246,7 @@ export default function RNMain() {
|
|
|
notification: 'red'
|
|
|
}
|
|
|
}}>
|
|
|
+ <StatusBar barStyle='dark-content' backgroundColor="#fff" />
|
|
|
<Stack.Navigator screenOptions={({ route }) => ({
|
|
|
headerStyle: {
|
|
|
backgroundColor: 'black',
|