✨ feat(自定义tabbar): 完善自定义tabbbar

This commit is contained in:
xuan
2022-09-08 12:02:27 +08:00
parent caf7066663
commit 2a964829b4
26 changed files with 712 additions and 228 deletions
+8 -1
View File
@@ -5,6 +5,12 @@ import styles from './index.module.scss'
const SonComp: FC = memo(() => {
return <View className=''>我改变了吗{new Date().getTime()}</View>
})
// 用户信息
const UserInfo:FC = () => {
return <View>
sdfasdf
</View>
}
// 我的
const User = () => {
@@ -19,7 +25,8 @@ const User = () => {
return (
<>
<View className={styles['main']}>
sdfasdfasdf {count}
<UserInfo/>
sdfasdfasdf {count}
<Button onClick={handleCount}>+1</Button>
<SonComp />
</View>