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.

61 lines
1.4 KiB

.container {
display: flex;
flex-direction: column; /* 列布局 */
justify-content: flex-start; /* 从顶部开始对齐 */
align-items: center; /* 水平居中 */
height: 100vh;
background-color: #f5f8f9; /* 背景颜色 */
padding-top: 0;
}
.profile {
display: flex; /* 横向布局 */
align-items: center; /* 垂直居中 */
border-bottom: 1rpx solid #3480FF; /* 下边框 */
width: 80%;
}
.profile-image {
width: 136rpx; /* 头像大小 */
height: 136rpx; /* 头像大小 */
border-radius: 50%; /* 圆形头像 */
margin-right: 15rpx; /* 头像与昵称之间的间距 */
}
.nickname {
margin-top: 30rpx;
font-size: 36rpx; /* 昵称字 */
font-weight: bold; /* 加粗 */
}
.menu-item {
display: flex; /* 横向布局 */
align-items: center; /* 垂直居中 */
padding: 20rpx; /* 内边距 */
border-bottom: 1rpx solid #3480FF; /* 下边框 */
width: 80%; /* 宽度 80% 填满容器 */
cursor: pointer; /* 鼠标悬停时显示为指针 */
justify-content: space-between; /* 让文本与箭头两端对齐 */
margin: 8rpx;
}
.icon {
color:#f5f8f9;
width: 48rpx;
height: 48rpx;
margin-right: 10rpx; /* 图标与文本之间的间距 */
margin-bottom: 8rpx;
}
.menu-text {
margin-left: 20rpx;
flex: 1; /* 使文本占据剩余空间 */
font-size: 28rpx; /* 文本字体大小 */
}
.arrow {
color:#f5f8f9;
width: 36rpx; /* 箭头图标大小 */
height: 36rpx;
}