<view wx:for="{{ arr }}" wx:key="time" class="chat_list">
<view class="list_left" bindtap="into_chatRoom" data-username="{{ item.yourname }}">
<view class="list_pic">
<image src="{{item.fromIcon ? item.fromIcon : '../../source/imageSource/doctorIcon.png'}}"></image>
</view>
<view class="list_text">
<text class="list_user">{{item.fromname}}</text>
<view class="list_word">{{item.msg.content}}</view>
</view>
</view>
<view class="list_right">
<text bindtap="into_chatRoom" data-username="{{ item.yourname }}">{{item.time}}</text>
<text bindtap="del_chat" data-username="{{ item.yourname }}" class="delChat">删除会话</text>
</view>
</view>
<view class="mask" bindtap="close_mask" wx:if="{{show_mask}}"></view>