...
|
...
|
@@ -71,7 +71,7 @@ |
|
|
<MessageVideo :id="item.flow + '-' + item.ID" v-if="item.type === types.MSG_VIDEO" :data="handleVideoMessageShowContext(item)" :messageData="item" @longpress="handleItem($event, item)" />
|
|
|
<MessageAudio :id="item.flow + '-' + item.ID" v-if="item.type === types.MSG_AUDIO" :data="handleAudioMessageShowContext(item)" :messageData="item" @longpress="handleItem($event, item)" />
|
|
|
<MessageFace :id="item.flow + '-' + item.ID" v-if="item.type === types.MSG_FACE" :data="handleFaceMessageShowContext(item)" :messageData="item" @longpress="handleItem($event, item)" />
|
|
|
<MessageCustom :id="item.flow + '-' + item.ID" v-if="item.type === types.MSG_CUSTOM" :data="handleCustomMessageShowContext(item)" :messageData="item" @longpress="handleItem($event, item)" />
|
|
|
<!-- <MessageCustom :id="item.flow + '-' + item.ID" v-if="item.type === types.MSG_CUSTOM" :data="handleCustomMessageShowContext(item)" :messageData="item" @longpress="handleItem($event, item)" /> -->
|
|
|
</MessageBubble>
|
|
|
<MessageRevoked v-if="item.isRevoked" :data="item" @edit="handleEdit(item)" />
|
|
|
</view>
|
...
|
...
|
@@ -383,7 +383,7 @@ export default defineComponent({ |
|
|
|
|
|
const scrollbottomHandler = () => {
|
|
|
setTimeout(() => {
|
|
|
data.scrollTop = 10000
|
|
|
data.scrollTop = 100000
|
|
|
}, 500)
|
|
|
}
|
|
|
|
...
|
...
|
@@ -396,9 +396,9 @@ export default defineComponent({ |
|
|
|
|
|
const stateInterval = setInterval(async () => {
|
|
|
if (data.history === 'err') {
|
|
|
const { result }: { result: Consultation_information_detailType } = await getConsultation_information_detail({ id: data.Event.orderId })
|
|
|
// const { result }: { result: Consultation_information_detailType } = await getConsultation_information_detail({ id: data.Event.orderId })
|
|
|
|
|
|
if (result?.orderState !== 30) proxy.$h.timeCallBack('对方已结束问诊即将返回', 2000)
|
|
|
// if (result?.orderState !== 30) proxy.$h.timeCallBack('对方已结束问诊即将返回', 2000)
|
|
|
}
|
|
|
}, 3000)
|
|
|
|
...
|
...
|
|