Files
JayuCloud/WeChatProgram/pages/notifications/index.wxss
T

153 lines
2.2 KiB
Plaintext
Raw Normal View History

.notifications-page {
min-height: 100vh;
padding: 176rpx 28rpx 40rpx;
background: #fff7f8;
box-sizing: border-box;
}
.summary-card,
.message-item,
.empty-card {
border-radius: 18rpx;
background: #ffffff;
box-shadow: 0 16rpx 40rpx rgba(150, 82, 105, 0.08);
}
.summary-card {
padding: 34rpx;
margin-bottom: 22rpx;
}
.summary-title {
color: #2d2430;
font-size: 38rpx;
font-weight: 800;
}
.summary-desc {
margin-top: 8rpx;
color: #927f88;
font-size: 26rpx;
}
.message-list {
display: flex;
flex-direction: column;
gap: 18rpx;
}
.message-item {
display: flex;
align-items: center;
gap: 18rpx;
padding: 28rpx;
}
.message-dot {
width: 16rpx;
height: 16rpx;
border-radius: 50%;
background: #d7c9cf;
}
.message-item.unread .message-dot {
background: #ff5c8a;
}
.message-copy {
flex: 1;
min-width: 0;
}
.message-title {
color: #2d2430;
font-size: 30rpx;
font-weight: 700;
}
.message-meta {
margin-top: 8rpx;
color: #9b8d94;
font-size: 24rpx;
}
.message-badge {
display: inline-block;
margin-top: 10rpx;
padding: 4rpx 16rpx;
border-radius: 999rpx;
background: #fff0f4;
color: #d74270;
font-size: 22rpx;
}
.message-arrow {
color: #c3aab4;
}
.empty-card {
padding: 60rpx;
color: #9b8d94;
text-align: center;
}
.detail-mask {
position: fixed;
inset: 0;
z-index: 1000;
display: flex;
align-items: flex-end;
background: rgba(26, 18, 24, 0.45);
}
.detail-panel {
width: 100%;
max-height: 82vh;
padding: 34rpx 30rpx 46rpx;
border-radius: 28rpx 28rpx 0 0;
background: #fff;
box-sizing: border-box;
overflow-y: auto;
}
.detail-header {
display: flex;
gap: 20rpx;
align-items: flex-start;
justify-content: space-between;
}
.detail-title {
color: #2d2430;
font-size: 34rpx;
font-weight: 800;
}
.detail-meta {
margin-top: 8rpx;
color: #9b8d94;
font-size: 24rpx;
}
.detail-close {
margin: 0;
border-radius: 999rpx;
}
.detail-content {
margin-top: 28rpx;
color: #4b4048;
font-size: 28rpx;
line-height: 1.8;
white-space: pre-wrap;
}
.detail-image {
width: 100%;
min-height: 320rpx;
max-height: 760rpx;
margin-top: 24rpx;
border-radius: 18rpx;
background: #fff7f8;
}