128 lines
2.0 KiB
Plaintext
128 lines
2.0 KiB
Plaintext
.page {
|
|
min-height: 100vh;
|
|
background: #FFF8F7;
|
|
}
|
|
|
|
.header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 32rpx;
|
|
background: #fff;
|
|
border-bottom: 1rpx solid #f0f0f0;
|
|
}
|
|
|
|
.title {
|
|
font-size: 36rpx;
|
|
font-weight: bold;
|
|
color: #1A1A1A;
|
|
}
|
|
|
|
.unread-badge {
|
|
font-size: 24rpx;
|
|
color: #E96B6B;
|
|
padding: 8rpx 16rpx;
|
|
background: #FFF3F2;
|
|
border-radius: 20rpx;
|
|
}
|
|
|
|
.unread-badge.empty {
|
|
color: #999;
|
|
background: #f5f5f5;
|
|
}
|
|
|
|
.list {
|
|
height: calc(100vh - 120rpx);
|
|
}
|
|
|
|
.notif-item {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
padding: 28rpx 32rpx;
|
|
background: #fff;
|
|
border-bottom: 1rpx solid #f5f5f5;
|
|
gap: 16rpx;
|
|
}
|
|
|
|
.notif-item.unread {
|
|
background: #FFFAF9;
|
|
}
|
|
|
|
.notif-dot {
|
|
width: 12rpx;
|
|
height: 12rpx;
|
|
border-radius: 50%;
|
|
background: #E96B6B;
|
|
flex-shrink: 0;
|
|
margin-top: 12rpx;
|
|
}
|
|
|
|
.notif-content {
|
|
flex: 1;
|
|
min-width: 0;
|
|
}
|
|
|
|
.notif-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 8rpx;
|
|
}
|
|
|
|
.notif-title {
|
|
font-size: 28rpx;
|
|
font-weight: bold;
|
|
color: #1A1A1A;
|
|
}
|
|
|
|
.notif-time {
|
|
font-size: 22rpx;
|
|
color: #999;
|
|
}
|
|
|
|
.notif-body {
|
|
font-size: 24rpx;
|
|
color: #666;
|
|
line-height: 1.6;
|
|
margin-bottom: 12rpx;
|
|
}
|
|
|
|
.notif-type-tag {
|
|
display: inline-block;
|
|
font-size: 20rpx;
|
|
padding: 4rpx 12rpx;
|
|
border-radius: 12rpx;
|
|
background: #F5F5F5;
|
|
color: #999;
|
|
}
|
|
|
|
.notif-type-tag.match { background: #E8F5E9; color: #2E7D32; }
|
|
.notif-type-tag.review { background: #E3F2FD; color: #1565C0; }
|
|
.notif-type-tag.activity { background: #FFF3E0; color: #E65100; }
|
|
.notif-type-tag.risk { background: #FFEBEE; color: #C62828; }
|
|
.notif-type-tag.account { background: #F3E5F5; color: #6A1B9A; }
|
|
|
|
.empty {
|
|
text-align: center;
|
|
padding: 120rpx 40rpx;
|
|
}
|
|
|
|
.empty-img {
|
|
width: 160rpx;
|
|
height: 160rpx;
|
|
margin-bottom: 24rpx;
|
|
opacity: 0.5;
|
|
}
|
|
|
|
.empty-text {
|
|
display: block;
|
|
font-size: 28rpx;
|
|
color: #999;
|
|
}
|
|
|
|
.loading {
|
|
text-align: center;
|
|
padding: 40rpx;
|
|
color: #999;
|
|
}
|