meirixinjiu.wxml
1.2 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
<view class="nodataimg" wx:if="{{winelist.length==0}}">
<image src="/img/wushuju.png"></image>
</view>
<block wx:else>
<view class="jiupin" wx:for="{{winelist}}" wx:key=''>
<view class="date">{{item.date}}</view>
<view class="searchitem" wx:for="{{item.list}}" wx:key="" >
<view class="searchitemleft" bindtap="jump" data-id="{{item.wine_id}}">
<view class="itemleftimg">
<image src="{{item.thumb}}"></image>
</view>
<view class="itemiddle">
<view class="itemidelename">{{item.title}}</view>
<view class="nambottom">
<text class="namebottomitem">{{item.degree_name}}</text>
<text class="namebottomitem">{{item.odor_name}}</text>
<text class="namebottomitem">官方价{{item.price}}元</text>
<text class="namebottomitem">{{item.ml}}</text>
</view>
</view>
</view>
<view class="searchitemright" bindtap="collect" data-id="{{item.wine_id}}">
<view class="starimg">
<image src="{{url}}aicon_10x.png" wx:if="{{item.is_favorite==1}}"></image>
<image src="{{url}}aicon_09x.png" wx:else></image>
</view>
</view>
</view>
</view>
</block>