feat: 我的-页面header

This commit is contained in:
hackrobot
2024-03-19 19:56:41 +08:00
parent 0b4be1572d
commit 719d78d17c
2 changed files with 22 additions and 6 deletions

View File

@@ -14,7 +14,14 @@ const my = () => {
return ( return (
<View className="my"> <View className="my">
<View className="myContent"> <View className="myContent">
my <View className="myHeader">
{/* 头像 */}
<AtAvatar circle image={touxiang}></AtAvatar>
<View>
<AtTag size="small">昵称</AtTag>
<AtTag size="small"></AtTag>
</View>
</View>
{/* 底部tabbar */} {/* 底部tabbar */}
<View className="tabbbar"> <View className="tabbbar">
<AtTabBar <AtTabBar

View File

@@ -1,9 +1,18 @@
.my{ .my {
.myContent{ .myContent {
padding-left: 20px; padding-left: 20px;
padding-right: 20px; padding-right: 20px;
} .myHeader {
.tabbbarDiv { margin-top: 10px;
padding: 10px;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
background-color: yellow;
}
}
.tabbbarDiv {
width: 100%; width: 100%;
height: 140px; height: 140px;
// background-color: red; // background-color: red;