feat: 聊天列表自动滚动到底部&跳转下一步

This commit is contained in:
zhangyh
2025-10-16 16:03:01 +08:00
parent ba01a588da
commit 755fcb6c5e
4 changed files with 145 additions and 84 deletions

View File

@@ -22,6 +22,7 @@
<!-- 正常状态显示输入框 -->
<div class="input-wrapper">
<input
id="textarea"
v-show="!isRecording"
v-model="inputValue"
type="text"
@@ -241,10 +242,16 @@ const stopRecording = () => {
flex: 1;
display: flex;
align-items: center;
overflow: hidden;
// height: 100%;
}
.text-input {
width: 100%;
// height: 100%;
height: auto;
// min-height: 4.8rem;
// max-height: 100%;
border: none;
outline: none;
background: transparent;
@@ -255,6 +262,7 @@ const stopRecording = () => {
// padding-right: 2rem;
margin-right: 4.21rem;
color: #000;
// resize: none;
&::placeholder {
color: #888;
@@ -262,6 +270,7 @@ const stopRecording = () => {
font-weight: 400;
font-family: 'robotoBold';
word-spacing: -5px;
line-height: 4.8rem;
}
}