zhuanjiapinjiu.wxml 2.5 KB
<!-- <view class="wineblock" wx:for="{{list}}" wx:key='' bindtap="detail" data-id="{{item.id}}">
  <view class="winetitle">{{item.title}}</view>
  <view class="wineimg" catchtap="entervideo" data-url="{{item.video}}">
    <image src="{{item.video_image}}"></image>
    <view class="vimg">
      <image src="{{url}}/aicon_70x.png"></image>
    </view>
    <view class="winebottonright">
      <view class="winerighttou">
        <view class="winerighttouimg">
          <image src="{{url}}aicon_66x.png"></image>
        </view>
        <view class="winezan">18</view>
      </view>
      <view class="winerighttou">
        <view class="winerighttouimg">
          <image src="{{url}}aicon_67x.png"></image>
        </view>
        <view class="winezan">54</view>
      </view>
      <view class="winerighttou">
        <view class="winerighttouimg">
          <image src="{{url}}aicon_68x.png"></image>
        </view>
      </view>
    </view>
  </view>
</view> -->

<view class="nodataimg" wx:if="{{list.length==0}}">
<image src="/img/wushuju.png"></image>
</view>

<block wx:else>
<view class="wineblock"  wx:for="{{list}}" wx:key='' bindtap="detail" data-id="{{item.id}}">

  <view class="winetitle">{{item.title}}</view>

  <view class="wineimg" catchtap="entervideo" data-url="{{item.video}}">
    <image src="{{item.video_image}}"></image>
    <view class="vimg">
      <image src="{{url}}/aicon_70x.png"></image>
    </view>
  </view>

  <view class="winebottom">
    <view class="winebottomleft">
      <view class="winebottomleftimg">
        <image src="{{item.avatar}}"></image>
      </view>
      <view class="wineeng">{{item.name}}</view>
    </view>
    <view class="winebottonright">

      <view class="winerighttou">
        <view class="winerighttouimg" catchtap="dianzan" data-id="{{item.id}}">
          <image src="{{url}}aicon_46x.png" wx:if="{{item.is_good==1}}"></image>
          <image src="{{url}}aicon_47x.png" wx:else></image>
        </view>
        <view class="winezan">{{item.good_count}}</view>
      </view>
      <view class="winerighttou" catchtap="ping" data-id="{{item.id}}">
        <view class="winerighttouimg">
          <image src="{{url}}aicon_67x.png"></image>
        </view>
        <view class="winezan">{{item.comment_count}}</view>
      </view>

      <view class="winerighttou">
        <view class="winerighttouimg">
          <image src="{{url}}aicon_68x.png"></image>
           <button class="lj_share" catchtap="buildshare" open-type='share' data-id="{{item.id}}" ></button>
        </view>

      </view>
    </view>

  </view>

</view>
</block>