93 lines
1.6 KiB
Plaintext
93 lines
1.6 KiB
Plaintext
/* pages/message/index.wxss */
|
|
.message-page {
|
|
padding: 20rpx 0rpx;
|
|
}
|
|
|
|
/* 顶部标题行:标题与清除按钮同一水平线,整体与下方分类 tabs 留出间距 */
|
|
.message-header {
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding: 0 32rpx 12rpx;
|
|
}
|
|
|
|
.site-message-title {
|
|
font-size: 32rpx;
|
|
font-weight: bold;
|
|
line-height: 48rpx;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
/* 清除按钮:与文字垂直居中对齐 */
|
|
.message-clear {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.clear-icon {
|
|
width: 40rpx;
|
|
height: 40rpx;
|
|
}
|
|
|
|
.red-dot {
|
|
width: 16rpx;
|
|
height: 16rpx;
|
|
background: var(--error);
|
|
border-radius: 50%;
|
|
display: inline-block;
|
|
margin-left: 8rpx;
|
|
}
|
|
|
|
.safe-bottom {
|
|
min-height: 150rpx;
|
|
width: 100%;
|
|
}
|
|
|
|
.desc-ellipsis {
|
|
display: -webkit-box;
|
|
-webkit-line-clamp: 1;
|
|
-webkit-box-orient: vertical;
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: normal;
|
|
word-break: break-all;
|
|
font-size: 28rpx;
|
|
color: var(--text-secondary);
|
|
line-height: 40rpx;
|
|
max-width: 420rpx;
|
|
}
|
|
|
|
.empty-container {
|
|
min-height: 100vh;
|
|
padding-top: 50%;
|
|
}
|
|
|
|
/* 消息标题行:标题 + 类型标签 */
|
|
.msg-title {
|
|
display: flex;
|
|
flex-direction: row;
|
|
align-items: center;
|
|
justify-content: flex-start;
|
|
}
|
|
|
|
.msg-title-text {
|
|
margin-right: 12rpx;
|
|
}
|
|
|
|
.msg-type-tag {
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
/* 弹窗内容:类型标识 + 正文换行 */
|
|
.content-container {
|
|
white-space: pre-line;
|
|
word-break: break-all;
|
|
text-align: left;
|
|
}
|
|
|
|
.content-type {
|
|
font-size: 22rpx;
|
|
color: var(--text-secondary, #999);
|
|
margin-bottom: 12rpx;
|
|
} |