229 lines
4.6 KiB
SCSS
229 lines
4.6 KiB
SCSS
@use '~@/scss/images.scss' as img;
|
|
|
|
.comment-reply-container {
|
|
width: 100%;
|
|
height: 100vh;
|
|
box-sizing: border-box;
|
|
display: flex;
|
|
flex-direction: column;
|
|
background: #FFFFFF;
|
|
|
|
// 顶部导航栏
|
|
.navbar {
|
|
height: 100px;
|
|
background: #FFFFFF;
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 100;
|
|
|
|
.navbar-content {
|
|
height: 56px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 0 15px;
|
|
margin-top: 44px;
|
|
position: relative;
|
|
|
|
.back-button {
|
|
position: absolute;
|
|
left: 10px;
|
|
width: 32px;
|
|
height: 32px;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
cursor: pointer;
|
|
|
|
.back-icon {
|
|
width: 8px;
|
|
height: 16px;
|
|
position: relative;
|
|
|
|
&::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
width: 8px;
|
|
height: 8px;
|
|
border-left: 2.67px solid #000000;
|
|
border-bottom: 2.67px solid #000000;
|
|
transform: rotate(45deg);
|
|
}
|
|
}
|
|
}
|
|
|
|
.navbar-title {
|
|
font-family: 'PingFang SC';
|
|
font-weight: 600;
|
|
font-size: 20px;
|
|
line-height: 1.4;
|
|
letter-spacing: 0.019em;
|
|
color: #000000;
|
|
}
|
|
}
|
|
}
|
|
|
|
// 评论列表滚动区域
|
|
.comment-scroll {
|
|
flex: 1;
|
|
height: 100%;
|
|
padding: 0 15px;
|
|
}
|
|
|
|
// 评论列表
|
|
.comment-list {
|
|
padding-bottom: 20px;
|
|
}
|
|
|
|
// 评论项
|
|
.comment-item {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
gap: 12px;
|
|
padding: 16px 0;
|
|
border-bottom: 0.5px solid rgba(0, 0, 0, 0.08);
|
|
|
|
.comment-left {
|
|
display: flex;
|
|
gap: 12px;
|
|
flex: 1;
|
|
min-width: 0;
|
|
|
|
.user-avatar {
|
|
width: 48px;
|
|
height: 48px;
|
|
border-radius: 999px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.comment-content {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 4px;
|
|
flex: 1;
|
|
min-width: 0;
|
|
|
|
.user-nickname {
|
|
font-family: 'PingFang SC';
|
|
font-weight: 600;
|
|
font-size: 14px;
|
|
line-height: 1.43;
|
|
color: #000000;
|
|
}
|
|
|
|
.action-row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
|
|
.action-text,
|
|
.time-text {
|
|
font-family: 'PingFang SC';
|
|
font-weight: 400;
|
|
font-size: 10px;
|
|
line-height: 1.6;
|
|
color: rgba(60, 60, 67, 0.6);
|
|
}
|
|
}
|
|
|
|
.comment-text {
|
|
font-family: 'PingFang SC';
|
|
font-weight: 400;
|
|
font-size: 12px;
|
|
line-height: 1.5;
|
|
color: #000000;
|
|
word-break: break-word;
|
|
}
|
|
|
|
// 被回复的评论
|
|
.original-comment {
|
|
display: flex;
|
|
align-items: flex-start;
|
|
gap: 4px;
|
|
margin-top: 4px;
|
|
|
|
.quote-line {
|
|
width: 2px;
|
|
height: 14px;
|
|
background: rgba(120, 120, 128, 0.12);
|
|
border-radius: 7px;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.original-text {
|
|
font-family: 'PingFang SC';
|
|
font-weight: 400;
|
|
font-size: 12px;
|
|
line-height: 1.5;
|
|
color: rgba(60, 60, 67, 0.6);
|
|
word-break: break-word;
|
|
flex: 1;
|
|
}
|
|
}
|
|
|
|
// 回复按钮
|
|
.reply-button {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 4px;
|
|
padding: 4px 8px;
|
|
background: rgba(120, 120, 128, 0.12);
|
|
border-radius: 20px;
|
|
width: fit-content;
|
|
margin-top: 4px;
|
|
cursor: pointer;
|
|
|
|
&:active {
|
|
opacity: 0.8;
|
|
}
|
|
|
|
.reply-icon {
|
|
width: 12px;
|
|
height: 12px;
|
|
}
|
|
|
|
.reply-text {
|
|
font-family: 'PingFang SC';
|
|
font-weight: 400;
|
|
font-size: 10px;
|
|
line-height: 1.6;
|
|
color: #000000;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
// 右侧球局图片
|
|
.activity-image {
|
|
width: 48px;
|
|
height: 48px;
|
|
border-radius: 9px;
|
|
background: #F5F5F5;
|
|
flex-shrink: 0;
|
|
cursor: pointer;
|
|
|
|
&:active {
|
|
opacity: 0.8;
|
|
}
|
|
}
|
|
}
|
|
|
|
// 到底了提示
|
|
.bottom-tip {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
padding: 24px 0 12px;
|
|
|
|
.tip-text {
|
|
font-family: 'PingFang SC';
|
|
font-weight: 400;
|
|
font-size: 14px;
|
|
line-height: 1.71;
|
|
color: rgba(0, 0, 0, 0.35);
|
|
}
|
|
}
|
|
}
|