perf: 优化发送语音效果

This commit is contained in:
kuaifan 2025-03-09 22:21:11 +08:00
parent 4521cea3b4
commit 5154348cf9
3 changed files with 9 additions and 35 deletions

View File

@ -479,7 +479,6 @@
@drop.prevent="taskPasteDrag($event, 'drag')"
@dragover.prevent="taskDragOver(true, $event)"
@dragleave.prevent="taskDragOver(false, $event)">
<div class="no-tip">{{$L('暂无消息')}}</div>
<div class="no-input">
<ChatInput
ref="chatInput"

View File

@ -391,8 +391,8 @@
}
.record-convert {
margin-right: 12px;
width: 32px;
height: 32px;
width: 36px;
height: 36px;
border-radius: 50%;
display: flex;
justify-content: center;
@ -418,12 +418,12 @@
}
.record-remove {
position: absolute;
bottom: 118px;
width: 34px;
right: 9px;
bottom: 96px;
width: 36px;
right: 8px;
z-index: 3;
padding: 10px 0;
border-radius: 16px;
border-radius: 18px;
display: flex;
gap: 4px;
justify-content: center;
@ -1238,6 +1238,7 @@ body.window-portrait {
height: 48px;
> li {
&.active {
background-color: transparent;
&:before {
background-color: #e1e1e1;
}

View File

@ -678,31 +678,17 @@
display: flex;
flex-direction: column;
position: relative;
.no-tip {
flex: 1;
display: none;
margin-left: 5px;
}
.no-input {
position: relative;
margin: 22px 0 0 5px;
background-color: #F4F5F7;
padding: 10px 0;
border-radius: 10px;
.chat-input-box {
.chat-input-quick-emoji {
right: 0;
}
.chat-input-wrapper {
padding: 0 4px 0 6px;
background-color: #F4F5F7;
.chat-toolbar {
right: 4px;
bottom: 0;
}
.chat-record {
background-color: #F4F5F7;
}
padding: 8px 4px 8px 6px;
border-radius: 10px;
}
}
}
@ -823,18 +809,6 @@
}
}
}
.no-dialog {
.no-tip {
display: flex;
align-items: center;
justify-content: center;
margin-left: 18px;
color: $primary-desc-color;
}
.no-input {
margin: 0 0 0 18px;
}
}
.dialog-wrapper {
z-index: 0;
.dialog-footer {