<view class="uni-list-chat" hover-class="{{!clickable&&!link?'':'uni-list-chat--hover'}}" data-event-opts="{{[['tap',[['onClick',['$event']]]]]}}" catchtap="__e"><view class="{{[(border)?'uni-list--border':'',(isFirstChild)?'uni-list-chat--first':'']}}"></view><view class="uni-list-chat__container"><view class="uni-list-chat__header-warp"><block wx:if="{{$root.g0}}"><view class="{{['uni-list-chat__header',(avatarCircle)?'header--circle':'']}}"><image class="{{['uni-list-chat__header-image',(avatarCircle)?'header--circle':'']}}" src="{{avatarUrl}}" mode="aspectFill"></image></view></block><block wx:else><view class="uni-list-chat__header"><block wx:for="{{avatarList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="{{['uni-list-chat__header-box',computedAvatar]}}" style="{{'width:'+(imageWidth+'px')+';'+('height:'+(imageWidth+'px')+';')}}"><image class="uni-list-chat__header-image" style="{{'width:'+(imageWidth+'px')+';'+('height:'+(imageWidth+'px')+';')}}" src="{{item.url}}" mode="aspectFill"></image></view></block></view></block></view><view class="slot-header"><slot name="header"></slot></view><block wx:if="{{badgeText&&badgePositon==='left'}}"><view class="{{['uni-list-chat__badge','uni-list-chat__badge-pos',isSingle]}}"><text class="uni-list-chat__badge-text">{{badgeText==='dot'?'':badgeText}}</text></view></block><view class="uni-list-chat__content"><view class="uni-list-chat__content-main"><text class="uni-list-chat__content-title uni-ellipsis">{{title}}</text><view style="flex-direction:row;"><block wx:if="{{isDraft}}"><text class="draft">[草稿]</text></block><text class="uni-list-chat__content-note uni-ellipsis">{{isDraft?$root.g1:note}}</text></view></view><view class="uni-list-chat__content-extra"><block wx:if="{{$slots.default}}"><slot></slot></block><block wx:else><text class="uni-list-chat__content-extra-text">{{time}}</text><block wx:if="{{badgeText&&badgePositon==='right'}}"><view class="{{['uni-list-chat__badge',isSingle,badgePositon==='right'?'uni-list-chat--right':'']}}"><text class="uni-list-chat__badge-text">{{badgeText==='dot'?'':badgeText}}</text></view></block></block></view></view></view></view>