mini/pages/my/index/index.wxss
2025-04-13 01:27:54 +08:00

90 lines
1.3 KiB
Plaintext

/* pages/my/index/index.wxss */
.container {
padding: 0;
background-color: #fff;
}
/* 用户信息卡片 */
.user-card {
background: #fff;
padding: 40rpx 30rpx;
display: flex;
align-items: center;
margin-bottom: 20rpx;
border-bottom: 1rpx solid #f5f5f5;
}
.avatar {
width: 140rpx;
height: 140rpx;
border-radius: 70rpx;
margin-right: 30rpx;
border: none;
}
.user-info {
flex: 1;
}
.nickname {
font-size: 40rpx;
font-weight: 600;
color: #FF2727;
margin-bottom: 12rpx;
display: block;
}
.signature {
font-size: 28rpx;
color: #999;
display: block;
}
/* 功能列表 */
.function-list {
margin-top: 20rpx;
}
.list-item {
display: flex;
align-items: center;
justify-content: space-between;
padding: 30rpx;
background: #fff;
border-bottom: 1rpx solid #f5f5f5;
transition: background-color 0.3s;
}
.list-item:active {
background-color: #f9f9f9;
}
.item-left {
display: flex;
align-items: center;
}
.item-icon {
width: 48rpx;
height: 48rpx;
margin-right: 20rpx;
color: #FF2727;
}
.item-text {
font-size: 32rpx;
color: #333;
font-weight: 400;
}
.arrow {
width: 16rpx;
height: 16rpx;
border-top: 3rpx solid #FF2727;
border-right: 3rpx solid #FF2727;
transform: rotate(45deg);
}
.list-item:active {
background-color: rgba(255, 39, 39, 0.05);
}