You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
git/scr/food/pages/usercenter/usercenter.wxss

116 lines
1.7 KiB

2 years ago
page {
width: 100%;
2 years ago
height: 100%;
}
2 years ago
.view_contain {
width: 100%;
height: 100%;
background: #f0eeed
}
2 years ago
/* 第一部分 */
.view_1 {
display: flex;
justify-content: center;
width: 100%;
height: 25%;
background: #a0deee;
}
2 years ago
.view_image_text {
width: 100%;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
}
2 years ago
.image_radius {
height: 50px;
width: 50px;
border-radius: 30px;
}
2 years ago
/* 第二部分 */
.view_2 {
width: 100%;
height: 15%;
display: flex;
flex-direction: row;
align-items: center;
justify-content: center;
background: white;
}
2 years ago
.view_tupianwenzi {
display: flex;
flex-direction: column;
width: 120rpx;
align-items: center;
margin-left: 25rpx;
margin-right: 25rpx;
}
2 years ago
.image_tupian {
display: flex;
width: 100rpx;
height: 100rpx;
}
2 years ago
/* 第三部分 */
2 years ago
.view_3 {
width: 100%;
2 years ago
height: 50%;
/* background: #f0eeed; */
}
2 years ago
.list-item {
display: flex;
flex-direction: row;
2 years ago
align-items: center;
width: 100%;
height: 80rpx;
margin-top: 20rpx;
position: relative; /*父元素位置要设置为相对*/
background: white;
}
2 years ago
.item-image {
width: 50rpx;
height: 50rpx;
margin: 20rpx;
}
2 years ago
.item-text {
2 years ago
color: rgb(51, 51, 51);
2 years ago
font-size: 35rpx;
margin-left: 20rpx;
}
.image-jiantou {
width: 20rpx;
height: 35rpx;
position: absolute; /* 要约束所在位置的子元素的位置要设置成绝对 */
right: 0; /* 靠右调节 */
margin-right: 35rpx;
}
2 years ago
/* 黑线 使得产生阴影效果 */
.line {
2 years ago
width: 100%;
height: 3rpx;
background: lightgray;
margin-left: 90rpx;
}
2 years ago
2 years ago
.view_image_text image {
width: 150rpx;
height: 150rpx;
border-radius: 50%;
}