1 |
- <block wx:if="{{conversation.conversationID}}"><movable-area class="t-conversation-item-container"><movable-view class="t-conversation-item" direction="horizontal" damping="100" x="{{xScale}}" data-event-opts="{{[['change',[['handleTouchMove',['$event']]]]]}}" bindchange="__e"><view class="avatar-box"><image class="t-conversation-item-avatar" src="{{setConversationAvatar}}" data-event-opts="{{[['error',[['handleImageError',['$event']]]]]}}" binderror="__e"></image><block wx:if="{{conversation.unreadCount!==0}}"><view class="unread"><block wx:if="{{conversation.unreadCount>99}}"><view class="read-text">99+</view></block><block wx:else><view class="read-text">{{conversation.unreadCount}}</view></block></view></block></view><view class="t-conversation-item-content"><label class="tui-conversation-item-name">{{conversationName}}</label><view class="tui-conversation-lastMessage"><text>{{conversation.lastMessage.messageForShow}}</text></view></view><view class="t-conversation-item-info">{{timeago}}</view></movable-view></movable-area></block>
|