|
@@ -134,8 +134,6 @@
|
|
<view class="avatar">
|
|
<view class="avatar">
|
|
<image mode="aspectFill" :src="utils.getAvatar(item.img,item.type)"></image>
|
|
<image mode="aspectFill" :src="utils.getAvatar(item.img,item.type)"></image>
|
|
</view>
|
|
</view>
|
|
-
|
|
|
|
-
|
|
|
|
<view class="chat-info fx-r">
|
|
<view class="chat-info fx-r">
|
|
<view class="info fx-h">
|
|
<view class="info fx-h">
|
|
<view class="fx-r">
|
|
<view class="fx-r">
|
|
@@ -144,8 +142,7 @@
|
|
<view class="time" v-if="item.time != ''">{{utils.timeLastdate(item.msg_time,true)}}
|
|
<view class="time" v-if="item.time != ''">{{utils.timeLastdate(item.msg_time,true)}}
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
-
|
|
|
|
- <view class="tag_value" v-if="item.type == 'chat'">
|
|
|
|
|
|
+ <view class="tag_value" v-if="item.type == 'chat'" style=" white-space: nowrap;overflow:hidden;height: 50rpx;line-height: 50rpx;">
|
|
<text class="value" v-if="item.msg_type == 'tip'">
|
|
<text class="value" v-if="item.msg_type == 'tip'">
|
|
{{item.msg_data}}
|
|
{{item.msg_data}}
|
|
</text>
|
|
</text>
|
|
@@ -157,30 +154,24 @@
|
|
<text class="value" v-if="item.msg_type == 'red_envelope_tip'">
|
|
<text class="value" v-if="item.msg_type == 'red_envelope_tip'">
|
|
<rich-text class="title" :nodes="unDataChat(item,'red_envelope_tip')"></rich-text>
|
|
<rich-text class="title" :nodes="unDataChat(item,'red_envelope_tip')"></rich-text>
|
|
</text>
|
|
</text>
|
|
-
|
|
|
|
-
|
|
|
|
<!-- //文字聊天 -->
|
|
<!-- //文字聊天 -->
|
|
<text class="value" v-if="item.msg_type == 'voice'">
|
|
<text class="value" v-if="item.msg_type == 'voice'">
|
|
[语音文件]
|
|
[语音文件]
|
|
</text>
|
|
</text>
|
|
-
|
|
|
|
<!-- //红包转账 -->
|
|
<!-- //红包转账 -->
|
|
<text class="value" v-if="item.msg_type == 'red_envelope_transfer'">
|
|
<text class="value" v-if="item.msg_type == 'red_envelope_transfer'">
|
|
<rich-text class="title"
|
|
<rich-text class="title"
|
|
:nodes="unDataChat(item,'red_envelope_transfer')"></rich-text>
|
|
:nodes="unDataChat(item,'red_envelope_transfer')"></rich-text>
|
|
</text>
|
|
</text>
|
|
-
|
|
|
|
<!-- //文字聊天 -->
|
|
<!-- //文字聊天 -->
|
|
<text class="value" v-if="item.msg_type == 'withdraw'">
|
|
<text class="value" v-if="item.msg_type == 'withdraw'">
|
|
撤回消息
|
|
撤回消息
|
|
</text>
|
|
</text>
|
|
-
|
|
|
|
<!-- //红包退回 -->
|
|
<!-- //红包退回 -->
|
|
<text class="value" v-if="item.msg_type == 'red_envelope_transfer_back'">
|
|
<text class="value" v-if="item.msg_type == 'red_envelope_transfer_back'">
|
|
<rich-text class="title"
|
|
<rich-text class="title"
|
|
:nodes="unDataChat(item,'red_envelope_transfer_back')"></rich-text>
|
|
:nodes="unDataChat(item,'red_envelope_transfer_back')"></rich-text>
|
|
</text>
|
|
</text>
|
|
-
|
|
|
|
<!-- //文字聊天 -->
|
|
<!-- //文字聊天 -->
|
|
<text class="value" v-if="item.msg_type == 'text'">
|
|
<text class="value" v-if="item.msg_type == 'text'">
|
|
{{item.msg_text}}
|
|
{{item.msg_text}}
|
|
@@ -195,7 +186,7 @@
|
|
<text class="value" v-if="item.msg_type == 'img'">[图片]</text>
|
|
<text class="value" v-if="item.msg_type == 'img'">[图片]</text>
|
|
</view>
|
|
</view>
|
|
|
|
|
|
- <view class="tag_value" v-if="item.type == 'group_chat'">
|
|
|
|
|
|
+ <view class="tag_value" v-if="item.type == 'group_chat'" style=" white-space: nowrap;overflow:hidden;height: 50rpx;line-height: 50rpx;">
|
|
<text class="value" v-if="item.msg_type == 'tip'">
|
|
<text class="value" v-if="item.msg_type == 'tip'">
|
|
{{item.msg_data}}
|
|
{{item.msg_data}}
|
|
</text>
|
|
</text>
|