zhinengselect.wxml 2.9 KB
<!-- 筛选内容 -->

<view class="register" wx:if="{{zhinengwrap}}" bindtap="hidezhineng">
  <view class="registerwrap" catchtap="">
    <view class="registeritem {{item.sel==true?'choseactive':''}}" wx:if="{{type==1}}" wx:for="{{zhinengarr}}" wx:key="" catchtap="shosekind" data-id="{{item.id}}">{{item.use_name}}</view>
    <view class="registeritem" wx:if="{{type==2}}" wx:for="{{zhinengarr}}" wx:key="">浓香型</view>
    <view class="registeritem {{item.sel==true?'choseactive':''}}" wx:if="{{type==3}}" wx:for="{{zhinengarr}}" wx:key="" catchtap="shosekind" data-id="{{item.id}}">{{item.package_name}}</view>

    <view class="registeritem {{item.sel==true?'choseactive':''}}" wx:if="{{type==5}}" wx:for="{{zhinengarr}}" wx:key="" catchtap="shosekind" data-id="{{item.id}}">{{item.odor_name}}</view>
    <view class="registeritem" wx:if="{{type==6}}" wx:for="{{zhinengarr}}" wx:key="">浓香型</view>

  </view>
</view>
<!-- 城市筛选 -->
<view class="register" wx:if="{{citychose}}" bindtap="hide">
  <view class="registerwrap">
    <view class="citylist" catchtap="shosekind" data-id="{{item.id}}" wx:for="{{zhinengarr}}" wx:key="" data-name="{{item.city}}">
      <view class="cityitem">{{item.city}}</view>
      <view class="gouimg" wx:if="{{item.sel==true}}">
        <image src="{{url}}/aicon_18x.png"></image>
      </view>
    </view>

  </view>
</view>

<view class="shaisel">
  <view class="kind">
    <view class="shaikind" wx:for="{{navarr}}" wx:key='' bindtap="select" data-idx="{{index}}" data-type="{{item.type}}">
      <view class="shaikindname {{item.sel==true?'selactive':''}}">{{item.name}}</view>
      <view class="shaikindimg">
        <image src="{{item.sel==true?'http://winesbook.cn/static/images_mini/aicon_16@2x.png':'http://winesbook.cn/static/images_mini/aicon_14x.png'}}"></image>
      </view>
    </view>

  </view>
  <view class="more">
    <image src="{{url}}aicon_15x.png"></image>
  </view>

</view>

<view class="zhinengbox">

<view class="nodata" wx:if="{{zhinenglist.length==0}}">暂无数据</view>
<block wx:else>
  <view class="searchitem" wx:for="{{zhinenglist}}" 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="collect" 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>