|
|
@ -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 17:12:37
|
|
|
|
* @LastEditTime: 2022-06-14 21:31:43
|
|
|
|
* @Description: file content
|
|
|
|
* @Description: file content
|
|
|
|
-->
|
|
|
|
-->
|
|
|
|
<template>
|
|
|
|
<template>
|
|
|
@ -18,7 +18,7 @@
|
|
|
|
<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'].includes(item.lastMessage.payload.customType)">
|
|
|
|
<template v-if="['returnLogistics','orderAutoDelivery','orderPa'].includes(item.lastMessage.payload.customType)">
|
|
|
|
{{item.lastMessage.payload.content}}
|
|
|
|
{{item.lastMessage.payload.content}}
|
|
|
|
</template>
|
|
|
|
</template>
|
|
|
|
<template v-if="item.lastMessage.payload.customType === 'app_push'">
|
|
|
|
<template v-if="item.lastMessage.payload.customType === 'app_push'">
|
|
|
|