新讨论

This commit is contained in:
A1300399510
2025-02-13 19:05:38 +08:00
parent 9e72739b53
commit 9b0c3f9416
7 changed files with 466 additions and 57 deletions

View File

@@ -165,10 +165,12 @@
}
.input-box .bottom .operate .item {
display: inline-flex;
margin-right: 20px;
position: relative;
z-index: 1;
}
.input-box .bottom .operate .item:not(:last-of-type) {
margin-right: 20px;
}
.input-box .bottom .operate .item.pitch .emoji-box {
display: flex;
}
@@ -191,14 +193,14 @@
/* 鼠标悬停时显示为可点击 */
}
.input-box .bottom .operate .item .emoji-box {
width: 581px;
width: 501px;
border-radius: 8px;
background-color: #fff;
filter: drop-shadow(0 0 11px rgba(0, 0, 0, 0.1));
top: 45px;
position: absolute;
z-index: 1;
left: -14px;
left: -15px;
border: 1px solid #ebebeb;
display: none;
flex-wrap: wrap;
@@ -255,15 +257,20 @@
padding: 0 8px;
margin-left: 9px;
display: none;
position: absolute;
width: max-content;
top: 50%;
transform: translateY(-50%);
left: 20px;
}
.input-box .bottom .btn {
font-size: 14px;
color: #333;
width: 80px;
height: 28px;
line-height: 28px;
text-align: center;
background-color: #fddf6d;
background-color: var(--main-color);
color: #fff;
border-radius: 43px;
cursor: pointer;
}
@@ -278,6 +285,11 @@
}
.comment-list {
margin-bottom: 78px;
padding-top: 17px;
}
.comment-list .input-box {
margin-bottom: 12px;
margin-right: 0;
}
.comment-list .comment-item {
padding-right: 30px;
@@ -334,35 +346,43 @@
.comment-list .comment-item .comment-content .comment-header .comment-header-right .menu-box {
position: relative;
}
.comment-list .comment-item .comment-content .comment-header .comment-header-right .menu-box:hover .report-box {
display: flex;
.comment-list .comment-item .comment-content .comment-header .comment-header-right .menu-box:hover .operate-box {
display: block;
}
.comment-list .comment-item .comment-content .comment-header .comment-header-right .menu-box .menu-icon {
width: 14px;
height: 14px;
cursor: pointer;
}
.comment-list .comment-item .comment-content .comment-header .comment-header-right .menu-box .report-box {
.comment-list .comment-item .comment-content .comment-header .comment-header-right .menu-box .operate-box {
display: none;
flex-direction: column;
position: absolute;
top: 24px;
right: 0;
width: 60px;
height: 24px;
background-color: #f6f6f6;
border: 1px solid #d7d7d7;
border-radius: 5px;
font-size: 12px;
color: #7f7f7f;
cursor: pointer;
width: 60px;
z-index: 2;
border-radius: 5px;
background-color: #f6f6f6;
border: 1px solid #d7d7d7;
}
.comment-list .comment-item .comment-content .comment-header .comment-header-right .menu-box .report-box::after {
.comment-list .comment-item .comment-content .comment-header .comment-header-right .menu-box .operate-box .item {
height: 24px;
}
.comment-list .comment-item .comment-content .comment-header .comment-header-right .menu-box .operate-box .item:not(:last-of-type) {
border-bottom: 1px solid #d7d7d7;
}
.comment-list .comment-item .comment-content .comment-header .comment-header-right .menu-box .operate-box::after {
content: "";
width: 58px;
height: 36px;
position: absolute;
top: -14px;
right: 0;
z-index: -1;
}
.comment-list .comment-item .comment-content .comment-header .comment-header-right .comment-icon {
width: 14px;
@@ -396,6 +416,11 @@
color: #92a1bf;
display: inline;
}
.comment-list .comment-item .comment-content .comments-img {
width: 75px;
margin-bottom: 13px;
border-radius: 5px;
}
.comment-list .comment-item .comment-content .alreadyVoted {
font-size: 12px;
color: #aaaaaa;
@@ -540,3 +565,25 @@
.empty-box {
padding: 80px 0 110px;
}
.detail-image-mask {
width: 100%;
height: 100%;
max-width: none;
max-height: none;
border: none;
position: fixed;
top: 0;
left: 0;
background-color: rgba(255, 255, 255, 0.8);
z-index: 100;
}
.detail-image-mask .detail-image {
width: 80vw;
height: 80vh;
border-radius: 8px;
background-color: #111;
}
.detail-image-mask .detail-image .detail-img {
max-width: 100%;
max-height: 100%;
}