Merge branch 'fix/0614-ch' into msb_prod

feature/alipay-0629-ch
ch 2 years ago
commit 47c4d8c11c

@ -2,7 +2,7 @@
* @Author: ch * @Author: ch
* @Date: 2022-03-22 16:13:00 * @Date: 2022-03-22 16:13:00
* @LastEditors: ch * @LastEditors: ch
* @LastEditTime: 2022-06-14 21:40:11 * @LastEditTime: 2022-06-17 10:27:44
* @Description: file content * @Description: file content
--> -->
<template> <template>
@ -18,15 +18,15 @@
<text class="msgItem--text" v-if="item.lastMessage"> <text class="msgItem--text" v-if="item.lastMessage">
<template v-if="item.lastMessage.type == msgType.TXT">{{item.lastMessage.payload.content || item.lastMessage.payload.text}}</template> <template v-if="item.lastMessage.type == msgType.TXT">{{item.lastMessage.payload.content || item.lastMessage.payload.text}}</template>
<template v-if="item.lastMessage.type == msgType.CUSTOM"> <template v-if="item.lastMessage.type == msgType.CUSTOM">
<template v-if="['returnLogistics','orderAutoDelivery','orderPay'].includes(item.lastMessage.payload.customType)">
{{item.lastMessage.payload.content}}
</template>
<template v-if="item.lastMessage.payload.customType === 'app_push'"> <template v-if="item.lastMessage.payload.customType === 'app_push'">
{{item.lastMessage.payload.link ? '[链接]' : item.lastMessage.payload.content}} {{item.lastMessage.payload.link ? '[链接]' : item.lastMessage.payload.content}}
</template> </template>
<template v-if="item.lastMessage.payload.customType === 'transferWaiterSession'"> <template v-if="item.lastMessage.payload.customType === 'transferWaiterSession'">
[客服转移] [客服转移]
</template> </template>
<template v-else>
{{item.lastMessage.payload?.content || '[未知消息]'}}
</template>
</template> </template>
<template v-if="item.lastMessage.type == msgType.IMG">[]</template> <template v-if="item.lastMessage.type == msgType.IMG">[]</template>
<template v-if="item.lastMessage.type == msgType.VIDEO">[]</template> <template v-if="item.lastMessage.type == msgType.VIDEO">[]</template>

Loading…
Cancel
Save