|
|
@@ -41,12 +41,13 @@ export default function Component(props:{index:number}) {
|
|
|
<View className={selIndex == 0 ? 'tabbar-item tabbar-item-sel' : 'tabbar-item'} onClick={() => switchTab(0)}>
|
|
|
<Text>生物钟</Text>
|
|
|
</View>
|
|
|
- <View className={selIndex == 1 ? 'tabbar-item tabbar-item-sel' : 'tabbar-item'} onClick={() => switchTab(1)}>
|
|
|
- <Text>指标</Text>
|
|
|
- </View>
|
|
|
<View className={selIndex == 4 ? 'tabbar-item tabbar-item-sel' : 'tabbar-item'} onClick={() => switchTab(4)}>
|
|
|
<Text>饮食</Text>
|
|
|
</View>
|
|
|
+ <View className={selIndex == 1 ? 'tabbar-item tabbar-item-sel' : 'tabbar-item'} onClick={() => switchTab(1)}>
|
|
|
+ <Text>指标</Text>
|
|
|
+ </View>
|
|
|
+
|
|
|
<View className={selIndex == 2 ? 'tabbar-item tabbar-item-sel' : 'tabbar-item'} onClick={() => switchTab(2)}>
|
|
|
<Text>运动</Text>
|
|
|
</View>
|