brandlist.wxml 1.8 KB
<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>