<!--packageH/o2o/storeConsumeIndex/storeConsumeIndex.wxml-->
<view class="cradIndex">
  <view class="topbar">
    <view class="cityLoction" catchtap="tapLoaction">
      <icon class="iconfont icon-fontclass-dizhi"></icon>
      <view class="cityname">{{address}}</view>
    </view>
    <view class="input">
      <icon class="iconfont icon-all_search_2"></icon>
      <input type="text" placeholder="搜索门店" bindinput="searchTxt" confirm-type='搜索' bindconfirm='goSearch' bindblur='blurgoSearch'/>
    </view>
  </view>
  <view class="banner">
    <view class="cbanner">
      <view>消费卡额度</view>
      <view style="font-size: 50rpx;">￥{{isInfo.amount}}</view>
    </view>
  </view>
  <view class="storeList">
    <view class="listTitle">
      <view class="iden"></view>
      <view class="title">可使用门店</view>
    </view>
    <block wx:for="{{page_list}}" wx:key="index">
      <view class="lis">
        <view class="img">
          <image src="{{item.thumb}}"></image>
        </view>
        <view class="right">
          <view class="rightShop">
            <view class="shopName">{{item.store_name}}</view>
            <view class="detailA">
              <view class="rate">
                <van-rate size="{{18}}" value="{{ isvalue }}" count="{{ 1 }}" />
                {{item.average_score}}分
              </view>
              <view style="font-size: 24rpx;color: #8d8d8d;margin-left:32rpx;">月销{{item.order_total}}单</view>
            </view>
          </view>
          <view class="distanceBtn">
            <view class="distanceNum" style="font-size: 22rpx;">{{item.distance}}{{item.unit}}</view>
            <view class="btn" catchtap="tapShow" data-item='{{item}}'>核销</view>
          </view>
        </view>
      </view>
    </block>
  </view>
</view>