jiulist.wxml
2.0 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
<view class="nodataimg" wx:if="{{peoplelist.length==0}}">
<image src="/img/wushuju.png"></image>
</view>
<block wx:else>
<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="tou" 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>
<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>
</block>