fix(DetailsComments): 修复表情选择框样式及优化表情数据

- 使用el-popover重构表情选择框,解决样式问题
- 调整表情选择框的宽度和位置
- 更新表情数据,移除部分不常用表情
- 优化表情选择框的交互体验
- 修复CSS样式冲突问题
This commit is contained in:
DESKTOP-RQ919RC\Pc
2025-09-01 14:44:06 +08:00
parent 1736b6310a
commit 9572eaa81f
64 changed files with 629 additions and 393 deletions

View File

@@ -262,20 +262,20 @@
&.pitch {
.emoji-box {
display: flex;
}
&::after {
content: "";
width: 28px;
height: 28px;
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
background-color: #fff;
border-radius: 5px;
z-index: -1;
// display: flex;
}
// &::after {
// content: "";
// width: 28px;
// height: 28px;
// position: absolute;
// top: 50%;
// left: 50%;
// transform: translate(-50%, -50%);
// background-color: #fff;
// border-radius: 5px;
// z-index: -1;
// }
}
.icon {
@@ -285,34 +285,39 @@
}
.emoji-box {
width: 501px;
// width: 581px;
// width: 501px;
border-radius: 8px;
background-color: #fff;
// box-shadow: 0 0 11px rgba(0, 0, 0, 0.1);
filter: drop-shadow(0 0 11px rgba(0, 0, 0, 0.1));
top: 45px;
position: absolute;
z-index: 1;
left: -15px;
border: 1px solid rgb(235, 235, 235);
display: none;
// position: absolute;
// z-index: 1;
// left: -15px;
// border: 1px solid rgb(235, 235, 235);
// display: none;
flex-wrap: wrap;
font-size: 22px;
padding: 8px;
&::after {
content: "";
width: 0;
height: 0;
border-left: 8px solid transparent;
border-right: 8px solid transparent;
border-bottom: 8px solid #ffffff;
position: absolute;
top: -8px;
left: 15px;
}
display: flex;
// &::after {
// content: "";
// width: 0;
// height: 0;
// border-left: 8px solid transparent;
// border-right: 8px solid transparent;
// border-bottom: 8px solid #ffffff;
// position: absolute;
// top: -8px;
// left: 15px;
// }
.emoji-icon {
margin: 5px;
cursor: pointer;
width: 30px;
text-align: center;
}
}