feat:导航栏
This commit is contained in:
@@ -193,7 +193,27 @@ const Index = () => {
|
|||||||
|
|
||||||
return (
|
return (
|
||||||
<View className="Index">
|
<View className="Index">
|
||||||
<View className="header">导航/图书/好物/活动/工具箱/关于我们</View>
|
<View className="header">
|
||||||
|
<View className="headerTag">
|
||||||
|
{["导航", "图书", "好物", "活动", "工具箱", "关于我们"].map(
|
||||||
|
(item, index) => {
|
||||||
|
return (
|
||||||
|
<AtTag
|
||||||
|
className="AtTag"
|
||||||
|
name={item}
|
||||||
|
type="primary"
|
||||||
|
circle
|
||||||
|
size="small"
|
||||||
|
active={true}
|
||||||
|
onClick={() => {}}
|
||||||
|
>
|
||||||
|
{item}
|
||||||
|
</AtTag>
|
||||||
|
);
|
||||||
|
}
|
||||||
|
)}
|
||||||
|
</View>
|
||||||
|
</View>
|
||||||
<View className="up">
|
<View className="up">
|
||||||
<View className="upText">
|
<View className="upText">
|
||||||
📣数字游民CNA,是针对中国用户的城市数据统计
|
📣数字游民CNA,是针对中国用户的城市数据统计
|
||||||
|
|||||||
@@ -4,6 +4,20 @@
|
|||||||
display: flex;
|
display: flex;
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
background-color: #fafafa;
|
background-color: #fafafa;
|
||||||
|
|
||||||
|
.header{
|
||||||
|
.headerTag{
|
||||||
|
// height: 100%;
|
||||||
|
display: flex;
|
||||||
|
flex-direction: row;
|
||||||
|
align-items: center;
|
||||||
|
// justify-content: space-between;
|
||||||
|
.AtTag{
|
||||||
|
margin-right: 10px;
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
.up {
|
.up {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
min-height: 100px;
|
min-height: 100px;
|
||||||
|
|||||||
Reference in New Issue
Block a user