65 lines
1.2 KiB
Plaintext
65 lines
1.2 KiB
Plaintext
/* pages/message/detail/index.wxss */
|
|
.message-detail {
|
|
min-height: 100vh;
|
|
padding: 24rpx;
|
|
box-sizing: border-box;
|
|
background: var(--bg-page);
|
|
}
|
|
|
|
.detail-loading {
|
|
display: flex;
|
|
justify-content: center;
|
|
padding-top: 120rpx;
|
|
}
|
|
|
|
.detail-card {
|
|
background: var(--bg-card);
|
|
border-radius: var(--radius-lg);
|
|
padding: 32rpx;
|
|
box-shadow: var(--shadow-card);
|
|
}
|
|
|
|
.detail-header {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.detail-title {
|
|
flex: 1;
|
|
min-width: 0;
|
|
margin-right: 16rpx;
|
|
font-size: 34rpx;
|
|
font-weight: 600;
|
|
line-height: 48rpx;
|
|
color: var(--text-primary);
|
|
}
|
|
|
|
.detail-time {
|
|
margin-top: 12rpx;
|
|
font-size: 24rpx;
|
|
line-height: 36rpx;
|
|
color: var(--text-tertiary);
|
|
}
|
|
|
|
/* 正文:保留换行,长内容自然撑开页面滚动 */
|
|
.detail-content {
|
|
margin-top: 24rpx;
|
|
padding-top: 24rpx;
|
|
border-top: 1rpx solid var(--component-stroke, #eee);
|
|
font-size: 28rpx;
|
|
line-height: 44rpx;
|
|
color: var(--text-secondary);
|
|
white-space: pre-wrap;
|
|
word-break: break-all;
|
|
}
|
|
|
|
/* 底部操作区:仅在需要跳转时出现 */
|
|
.detail-actions {
|
|
margin-top: 40rpx;
|
|
}
|
|
|
|
.detail-empty {
|
|
padding-top: 200rpx;
|
|
}
|