brandlist.wxml
1.8 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
51
52
53
54
55
56
57
<view class="kindnav">
<view wx:for="{{navbar}}" data-idx="{{index}}" class="kindnav_item {{currentTab==index ? 'kindactive' : ''}}" wx:key="unique" bindtap="navbarTap" data-id="{{item.id}}">{{item}}
</view>
</view>
<view class="brandhead" bindtap="brandinfo" data-id="{{info.id}}">
<view class="brandleft">
<view class="brandleftimg">
<image src="{{info.logo}}"></image>
</view>
<view class="lefttitle">{{info.name}}</view>
<view class="starimg" catchtap="collectbrand" data-id="{{info.id}}">
<image src="{{url}}aicon_10x.png" wx:if="{{info.is_favorite==1}}"></image>
<image src="{{url}}aicon_09x.png" wx:else></image>
</view>
</view>
<view class="brandright">
<view class="rightname">品牌介绍</view>
<view class="redrow">
<image src="{{url}}aicon_26@2x.png"></image>
</view>
</view>
</view>
<view class="baiyun">{{info.name}}</view>
<view>
<view class="nodata" wx:if="{{brandlist.length==0}}">暂无数据</view>
<block wx:else>
<view class="searchitem" wx:for="{{brandlist}}" wx:key=''>
<view class="searchitemleft">
<view class="itemleftimg">
<image src="{{item.logo}}"></image>
</view>
<view class="itemiddle">
<view class="itemidelename">{{item.name}}</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="starimg" bindtap="collectwine" data-id="{{item.id}}">
<image src="{{url}}aicon_10x.png" wx:if="{{item.is_favorite==1}}"></image>
<image src="{{url}}aicon_09x.png" wx:else></image>
</view>
</view>
</block>
</view>