<!--pages/kabaw/kabaw.wxml-->
<view class="main qlist">
  <view class="sousuo">
    <!-- <view class="sou-box">
      <image src="../../images/sou.png" class="souimg"></image>
      <input class="keyword" bindinput="getkey" placeholder="请输入搜索内容"></input>
    </view> -->

      <input class="keyword" bindinput="getkey" placeholder="请输入搜索内容"></input>
  </view>
      <view class="nomore" wx:if="{{list.length==0}}">暂无数据</view>
      <view class="quan" wx:for="{{list}}" bindtap="godetail" data-way="buy" data-item="{{item.id}}">
        <view class="left">
          <image src="{{item.pic_url}}" class="quan-img" mode="aspectFill"></image>
        </view>
        <view class="right">
          <view class="qname">{{item.name}}</view>
          <view class="store">店铺：{{item.shop_name}}</view>
          <!-- <view class="num">数量：10</view> -->
          <view class="use">{{item.use_limit==1?'每日限使用1次':'每日不限使用次数'}}</view>
        </view>
        <view class="price">{{item.is_pay==1?'¥'+item.price:''}}</view>
        <view class="gouser">{{item.is_pay==1?'立即购买':'立即领取'}}</view>
      </view>
</view>
