style: 省份css
This commit is contained in:
@@ -240,23 +240,25 @@ export default function Index() {
|
|||||||
};
|
};
|
||||||
|
|
||||||
const ProvinceTag = () => {
|
const ProvinceTag = () => {
|
||||||
return ["北京", "上海", "广东", "浙江", "湖北"].map((item, index) => {
|
|
||||||
return (
|
return ["北京", "上海", "广东", "浙江", "湖北", "云南"].map(
|
||||||
<View>
|
(item, index) => {
|
||||||
<AtTag
|
return (
|
||||||
onClick={() => {
|
<View className="Tags">
|
||||||
// Taro.redirectTo({
|
<AtTag
|
||||||
// url: "/pages/index/index?wxid=1111111",
|
className="AtTag"
|
||||||
// });
|
onClick={() => {
|
||||||
}}
|
//pass
|
||||||
type="primary"
|
}}
|
||||||
circle
|
type="primary"
|
||||||
>
|
circle
|
||||||
{item}
|
>
|
||||||
</AtTag>
|
{item}
|
||||||
</View>
|
</AtTag>
|
||||||
);
|
</View>
|
||||||
});
|
);
|
||||||
|
}
|
||||||
|
);
|
||||||
};
|
};
|
||||||
|
|
||||||
return (
|
return (
|
||||||
|
|||||||
@@ -17,7 +17,20 @@
|
|||||||
flex-direction: row;
|
flex-direction: row;
|
||||||
// justify-content: space-between;
|
// justify-content: space-between;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
margin-top: 10px;
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
// background-color: red;
|
||||||
|
.Tags {
|
||||||
|
display: flex;
|
||||||
|
flex-direction: row;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
// background-color: yellow;
|
||||||
|
.AtTag {
|
||||||
|
margin-right: 10px;
|
||||||
|
margin-bottom: 10px;
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.homeCards {
|
.homeCards {
|
||||||
@@ -69,7 +82,7 @@
|
|||||||
font-size: 40px;
|
font-size: 40px;
|
||||||
// z-index: 99;
|
// z-index: 99;
|
||||||
}
|
}
|
||||||
Image{
|
Image {
|
||||||
// position: absolute;
|
// position: absolute;
|
||||||
z-index: -1;
|
z-index: -1;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user