jiulist.wxml 1.6 KB
<view class="wineblock" wx:for="{{peoplelist}}" wx:key=''>
<view class="date">{{item.date}}</view>
<view class='wine_list' >
  <view class='list_item' wx:for="{{item.list}}" wx:key="">
    <view class='img_box'>
      <image src='{{item.avatar}}'></image>
    </view>
    <view class='wine_title'>{{item.title}}</view>
    <view class='wine_name'>{{item.user_nickname}}</view>
    <view class='wine_leavel'>{{item.level}}</view>
    <view class='action_box'>
      <view class='single_action' bindtap="zan" data-id="{{item.user_id}}">
        <view class='zan_icon'>
          <image src='/img/aicon_46.png' mode='widthFix' wx:if="{{item.is_good==1}}"></image>
          <image src='/img/aicon_47.png' mode='widthFix' wx:else></image>
        </view>
        {{item.good_count}}
      </view>
      <view class='single_action' bindtap="pinglun" data-id="{{item.id}}">
        <view class='zan_icon'>
          <image src='/img/aicon_67.png' mode='widthFix'></image>
        </view>
        {{item.comment_count}}
      </view>
      <view class='single_action {{item.choose?"active":""}}' bindtap='shareAction' data-id="{{item.id}}">
        <image src='/img/gengduo.png' mode='widthFix' class='moreIcon'></image>
        <view class='min_action_box'>
          <view class='action_btn' wx:if="{{item.is_favorite==0}}" bindtap="collect" data-id="{{item.user_id}}">收藏</view>
          <view class='action_btn' wx:else bindtap="collect" data-id="{{item.user_id}}">取消收藏</view>

          <view class='action_btn'>分享</view>
        </view> 
      </view>
    </view>
  </view>
 
</view>

</view>