jiulist.wxml 1.7 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="" bindtap="detail" data-id="{{item.id}}">
    <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'>lv{{item.level}}</view>
    <view class='action_box'>
      <view class='single_action' catchtap="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' catchtap="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":""}}' catchtap='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}}" catchtap="collect" data-id="{{item.user_id}}">收藏</view>
          <view class='action_btn yishou' wx:else catchtap="collect" data-id="{{item.user_id}}">已收藏</view>

          <view class='action_btn'>分享</view>
           <button class="lj_share" catchtap="buildshare" open-type='share' data-id="{{item.id}}"   ></button>
        </view> 
      </view>
    </view>
  </view>
 
</view>

</view>