<!--mycomponent/Waterfalls_flow.wxml-->
<view class="video_list">
  <view class="ul" style="display: none">

    <view class="li" wx:for="{{activitys}}" catchtap="jumpDetails" data-stickid="{{item.has_many_image[0].stick_id}}" wx:key="index">
        <view class="top">
          <image src="{{item.has_many_image[0]?item.has_many_image[0].url:'error.png'}}" id="{{item.id}}" mode='aspectFit' binderror="onImageError" bindload="onImageLoad" />
        </view>
        <view class="bottom">
          <view class="title">{{item.title}}</view>
          <view class="content">
            <view class="headmessage">
              <view class="left">
                <image src="{{item.has_one_stick_user.avatar}}" mode='widthFix' />
              </view>
              <view class="name">{{item.has_one_stick_user.nickname}}</view>
            </view>
            <view class="thumbup">
              <view class="right">
                <image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/micro_communities/detail_praise@2x.png" mode='widthFix' />
              </view>
              <view class="num">{{item.praise_num}}</view>
            </view>
          </view>
        </view>
      </view>

  </view>

  <view class="blank" wx:if="{{activitys.length <= 0}}">
    <image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/blank.png" mode='widthFix' />
  </view>

  <view class="ul Mright">
    <view class="li" wx:for="{{activitys1}}" catchtap="jumpDetails" data-stickid="{{item.id}}" wx:key="{{item.id}}">
      <view class="top">
        <image wx:if="{{item.has_many_image[0]}}" src="{{item.has_many_image[0].url}}" mode='widthFix' />
        <view class="mic-content" wx:if="{{!item.has_many_image[0]}}">
          <rich-text nodes="{{item.contents}}"></rich-text>
        </view>
      </view>
      <view class="bottom">
        <view class="title">{{item.title}}</view>
        <view class="content">
          <view class="headmessage">
            <view class="left">
              <image src="{{item.has_one_stick_user.avatar}}" mode='widthFix' />
            </view>
            <view class="name">{{item.has_one_stick_user.nickname}}</view>
          </view>
          <view class="thumbup">
            <view class="right">
              <image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/micro_communities/detail_praise@2x.png" mode='widthFix' />
            </view>
            <view class="num">{{item.praise_num}}</view>
          </view>
        </view>
      </view>
    </view>
  </view>

  <view class="ul">
    <view class="li" wx:for="{{activitys2}}" catchtap="jumpDetails" data-stickid="{{item.id}}" wx:key="{{item.id}}">
      <view class="top">
        <image wx:if="{{item.has_many_image[0]}}" src="{{item.has_many_image[0].url}}" mode='widthFix' />
        <view class="mic-content" wx:if="{{!item.has_many_image[0]}}">
          <rich-text nodes="{{item.contents}}"></rich-text>
        </view>
      </view>
      <view class="bottom">
        <view class="title">{{item.title}}</view>
        <view class="content">
          <view class="headmessage">
            <view class="left">
              <image src="{{item.has_one_stick_user.avatar}}" mode='widthFix' />
            </view>
            <view class="name">{{item.has_one_stick_user.nickname}}</view>
          </view>
          <view class="thumbup">
            <view class="right">
              <image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/micro_communities/detail_praise@2x.png" mode='widthFix' />
            </view>
            <view class="num">{{item.praise_num}}</view>
          </view>
        </view>
      </view>
    </view>
  </view>
  <view class="load"  wx:if="{{!showLoading && activitys.length>0}}">
    <image src="https://mini-app-img-1251768088.cos.ap-guangzhou.myqcloud.com/video-loading.gif" mode='widthFix'></image>
  </view>
</view>
