<view class="dialog">
  <view class="dialog-box" wx:for="{{dataList}}">
    <view class="avatar">
      <image wx:if="{{item.photo}}" src="{{item.photo}}"></image>
      <image wx:else src="../../images/avatar.png"></image>
    </view>
    <view class="user-info">
      <view class="name">{{item.volunteerName}}</view>
      <view class="content">{{item.content}}</view>
      <view class="content" wx:if="{{item.photos}}">
        <image wx:for="{{item.photos}}" wx:for-item="subItem" src="{{subItem}}"></image>
      </view>
      <view class="content" wx:if="{{item.videos}}">
        <video wx:for="{{item.videos}}" wx:for-item="subItem" src="{{subItem}}"></video>
      </view>
      <view class="public-time">
        <view class="time">{{item.uploadTime}}</view>
        <!--<view class="delete">
          <image src="../../images/delete.png"></image>
        </view>-->
      </view>
    </view>
  </view>
</view>