帮我写一下这个页面的样式这是一个用来显示所有用户账号姓名和修改身份的页面使得账号占一行下面是姓名占一行在下面是身份和按钮在占一行view class=container view class=header用户信息view view class=user-list block wxfor=users wxkey=openid view class=user-item
<style>
.container {
padding: 20px;
}
.header {
font-size: 24px;
font-weight: bold;
margin-bottom: 20px;
}
.user-list {
display: flex;
flex-direction: column;
}
.user-item {
display: flex;
flex-direction: column;
margin-bottom: 20px;
border: 1px solid #ccc;
border-radius: 5px;
padding: 10px;
}
.user-name {
font-size: 18px;
font-weight: bold;
margin-bottom: 10px;
}
.user-account {
font-size: 16px;
margin-bottom: 10px;
}
.user-role {
font-size: 16px;
margin-bottom: 10px;
}
.user-edit {
display: flex;
justify-content: flex-end;
}
.btn {
background-color: #007aff;
color: #fff;
border: none;
border-radius: 5px;
padding: 5px 10px;
font-size: 16px;
cursor: pointer;
}
</style>
原文地址: https://www.cveoy.top/t/topic/bEij 著作权归作者所有。请勿转载和采集!