feat: 我的-页面header
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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;
|
||||||
@@ -14,4 +23,4 @@
|
|||||||
bottom: 0px;
|
bottom: 0px;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user