Fix(AI):[#3600]键盘弹出后,开启新对话,及键盘底部会被遮挡一部分

This commit is contained in:
lifizer
2025-04-07 22:57:59 +08:00
parent 230e163c53
commit 67c94d814c
5 changed files with 37 additions and 12 deletions
+7 -1
View File
@@ -130,7 +130,12 @@
<view id="bottom_postion" class="bottom-postion" />
</view>
</view>
<view class="page-to-bottom">
<view
:class="{
'focus': onFocus
}"
class="page-to-bottom"
>
<image
v-if="chatMessageListLength > 0 && !isScrollToBottom && !loading"
:src="webUrl + '/aiChat/down.png'"
@@ -144,6 +149,7 @@
:loading="loading"
@send="streamReq"
@history="historyViewHandle"
@focus="inputFocusHandle"
/>
<AiHistoryList
ref="historyView"
+13 -7
View File
@@ -181,7 +181,12 @@
<view id="bottom_postion" class="bottom-postion" />
</view>
</view>
<view class="page-to-bottom">
<view
:class="{
'focus': onFocus
}"
class="page-to-bottom"
>
<view
v-if="chatNumber"
class="new-chat"
@@ -208,6 +213,7 @@
@send="streamReq"
@add="createNewHandle"
@history="historyViewHandle"
@focus="inputFocusHandle"
/>
<AiHistoryList
ref="historyView"
@@ -318,7 +324,7 @@ export default {
padding: 30rpx;
margin: 0 0 0 40rpx;
border-radius: 20rpx;
font-size: 24rpx;
font-size: 28rpx;
background-color: #fff;
box-shadow: 0rpx 12rpx 30rpx rgba(0,0,0,0.1);
.trangle {
@@ -354,7 +360,7 @@ export default {
text-align: center;
line-height: 46rpx;
color: #fff;
font-size: 26rpx;
font-size: 28rpx;
background-color: #3D4CF1;
}
.icon {
@@ -375,11 +381,11 @@ export default {
.list-item {
display: flex;
align-items: center;
height: 40rpx;
padding: 0 12rpx;
height: 48rpx;
padding: 0 18rpx;
margin: 0 30rpx 30rpx 0;
border-radius: 20rpx;
font-size: 24rpx;
border-radius: 24rpx;
font-size: 28rpx;
color: #666;
background: rgba(255,255,255,0.39);
box-shadow: 0rpx 6rpx 12rpx rgba(0,0,0,0.1);