personal-list.wxml 1.9 KB
<view class="page">
  <view class="app__bgc bgc"></view>
  <view class="app__bg bg"></view>
  <!-- <view class="app__top-shadow"></view> -->
  <view class="app__content main">
    <view class="top-space"></view>
    <view class="personal">
      <view class="name">{{personInfo.accountName}} 的视频列表</view>
      <image class="portrait" mode="aspectFill" src="{{personInfo.headImage}}" />
    </view>
    <view class="content">
      <view class="list">
        <block wx:for="{{dataList}}" wx:key="index">
          <ad wx:if="{{item.type == 'ad'}}" unit-id="adunit-c3754721d968fc07"></ad>
          <view wx:else class="list-item">
            <view bindtap="onDetailHandler" data-data="{{item}}" data-index="{{index}}" class="list-item-video">
              <image class="img" src="{{item.thumbnail}}" mode="aspectFill" />
              <view class="tit">
                <view class="tit-bg"></view>
                <view class="tit-t1">{{item.videoName}}</view>
              </view>
              <div class="play">
                <span class="iconfont iconplay"></span>
              </div>
            </view>
            <view class="list-item-func">
              <view bindtap="onDetailHandler" data-data="{{item}}" data-index="{{index}}" class="user">
                <image class="portrait" mode="aspectFill" src="{{item.headImage}}" />
                <text class="name">{{item.accountName || ""}}</text>
              </view>
              <button data-data="{{item}}" data-index="{{index}}" class="share" open-type="share" bindtap="onShareItem">
                <span class="t1 iconfont iconwechat"></span>
                <span class="t1">分享</span>
              </button>
            </view>
          </view>
        </block>
      </view>
    </view>
  </view>
</view>
<van-popup show="{{ authorizeVisible }}">
  <authorize-comp bind:evtcomp="evtcomp"></authorize-comp>
</van-popup>
<!-- <shortcut></shortcut> -->