|
|
@ -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 15:14:02
|
|
|
|
* @LastEditTime: 2022-06-14 17:12:37
|
|
|
|
* @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="item.lastMessage.payload.customType === 'orderAutoDelivery'">
|
|
|
|
<template v-if="['returnLogistics','orderAutoDelivery'].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'">
|
|
|
@ -112,6 +112,7 @@ export default {
|
|
|
|
display:-webkit-box;
|
|
|
|
display:-webkit-box;
|
|
|
|
-webkit-box-orient:vertical;
|
|
|
|
-webkit-box-orient:vertical;
|
|
|
|
-webkit-line-clamp:2;
|
|
|
|
-webkit-line-clamp:2;
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
&--right{
|
|
|
|
&--right{
|
|
|
|
text-align: right;
|
|
|
|
text-align: right;
|
|
|
|