|
|
|
@ -2,7 +2,7 @@
|
|
|
|
|
* @Author: ch
|
|
|
|
|
* @Date: 2022-03-26 14:32:03
|
|
|
|
|
* @LastEditors: ch
|
|
|
|
|
* @LastEditTime: 2022-06-14 11:10:03
|
|
|
|
|
* @LastEditTime: 2022-06-14 12:52:10
|
|
|
|
|
* @Description: file content
|
|
|
|
|
-->
|
|
|
|
|
<template>
|
|
|
|
@ -32,8 +32,11 @@
|
|
|
|
|
<view>
|
|
|
|
|
<view class="receive--name">{{item.fromNickname}}</view>
|
|
|
|
|
<template v-if="item.type == MSG_TYPE.CUSTOM">
|
|
|
|
|
<GoodsInfo class="receive--box" position="msg" v-if="item.payload.id" :goodsInfo="item.payload"/>
|
|
|
|
|
<OrderInfo class="receive--box" position="msg" v-if="item.payload.orderId" :orderInfo="item.payload"/>
|
|
|
|
|
<view class="receive--box receive--box__txt" v-if="item.payload.customType == 'transferWaiterSession'">{{item.payload.text}}</view>
|
|
|
|
|
<template v-else>
|
|
|
|
|
<GoodsInfo class="receive--box" position="msg" v-if="item.payload.id" :goodsInfo="item.payload"/>
|
|
|
|
|
<OrderInfo class="receive--box" position="msg" v-if="item.payload.orderId" :orderInfo="item.payload"/>
|
|
|
|
|
</template>
|
|
|
|
|
</template>
|
|
|
|
|
<view class="receive--box receive--box__txt" v-if="item.type == MSG_TYPE.TXT">{{item.payload.text}}</view>
|
|
|
|
|
|
|
|
|
|