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.
 
 

90 lines
1.3 KiB

.container {
background-color: #f5f5f5;
min-height: 100vh;
}
.message-header {
background-color: #fff;
padding: 20rpx;
border-bottom: 1rpx solid #e8e8e8;
display: flex;
align-items: center;
justify-content: center;
}
.message-title {
font-size: 36rpx;
font-weight: bold;
color: #333;
}
.message-list {
padding: 20rpx;
}
.message-item {
background-color: #fff;
border-radius: 12rpx;
padding: 24rpx;
margin-bottom: 20rpx;
box-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.05);
display: flex;
align-items: center;
}
.avatar {
width: 80rpx;
height: 80rpx;
border-radius: 50%;
margin-right: 24rpx;
overflow: hidden;
}
.avatar image {
width: 100%;
height: 100%;
}
.message-info {
flex: 1;
position: relative;
}
.message-name-time {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 8rpx;
}
.message-name {
font-size: 32rpx;
font-weight: bold;
color: #333;
}
.message-time {
font-size: 24rpx;
color: #999;
}
.message-content {
display: block;
font-size: 28rpx;
color: #666;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
width: 100%;
}
.unread-badge {
background-color: #FF6B81;
color: #fff;
font-size: 22rpx;
font-weight: bold;
padding: 4rpx 12rpx;
border-radius: 14rpx;
min-width: 28rpx;
text-align: center;
}