no message
This commit is contained in:
parent
19fbae743e
commit
5d22b06b4b
@ -95,7 +95,7 @@ $primary-color: #0877F1;
|
||||
top: 100rpx; /* 患者信息栏高度,根据实际调整 */
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 160rpx; /* 输入框高度,根据实际调整 */
|
||||
bottom: 200rpx; /* 输入框高度,根据实际调整 */
|
||||
box-sizing: border-box;
|
||||
overflow-x: hidden;
|
||||
overflow-y: auto;
|
||||
|
||||
@ -18,7 +18,6 @@
|
||||
<!-- 聊天消息区域 -->
|
||||
<scroll-view
|
||||
class="chat-content"
|
||||
:style="{ bottom: keyboardHeight + 'px' }"
|
||||
scroll-y="true"
|
||||
enhanced="true"
|
||||
bounces="false"
|
||||
@ -152,7 +151,6 @@
|
||||
:patientInfo="patientInfo"
|
||||
:orderStatus="orderStatus"
|
||||
:isGenerating="isGenerating"
|
||||
:keyboardHeight="keyboardHeight"
|
||||
@scrollToBottom="() => scrollToBottom(true)"
|
||||
@messageSent="() => scrollToBottom(true)"
|
||||
@endConsult="handleEndConsult"
|
||||
@ -304,9 +302,6 @@ const chatInfo = ref({
|
||||
avatar: "/static/home/avatar.svg",
|
||||
});
|
||||
|
||||
// 键盘高度
|
||||
const keyboardHeight = ref(0);
|
||||
|
||||
// 评价弹窗状态
|
||||
const isEvaluationPopupOpen = ref(false);
|
||||
|
||||
@ -463,11 +458,6 @@ onLoad((options) => {
|
||||
chatInfo.value.userID = decodeQueryValue(options.userID);
|
||||
}
|
||||
|
||||
// 监听键盘高度变化
|
||||
uni.onKeyboardHeightChange((res) => {
|
||||
keyboardHeight.value = res.height;
|
||||
});
|
||||
|
||||
checkLoginAndInitTIM();
|
||||
updateNavigationTitle();
|
||||
});
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user