<!--pages/shop/shop.wxml-->
<view class="all">
  <view class="searchAll">
    <view class="chooseCity">
      <picker mode="multiSelector" range="{{provinceCityArr}}" bindchange="bindchange" bindcolumnchange="bindcolumnchange" value="{{index}}">
       <view class="clickChoose">
            <view class="picker">{{provinceCityArr[1][index]}}</view>
            <image class="arrows" src="../images/arrows.png"></image>
        </view>
      </picker>
    </view>
    <view class="searchView">
      <image class="searchIcon" src="../images/searchIcon.png"></image>
      <input type='text' class="int" bindinput="getInputVal" value="{{inputVal}}" placeholder="输入搜索内容" placeholder-class="placeholderInt"></input>
      <image wx:if="{{inputVal}}" class="delete" bindtap="deleteVal" src="../images/delete.png"></image>
    </view>
    <view class="searchBtn" bindtap="searchFn">搜索</view>
  </view>

  <!-- <view class="content"> -->
    <scroll-view scroll-y="true" style="height:{{scrollHig}}px"   bindscrolltolower="lower">
      <view>
        <view class="getData" wx:for="{{showDataArr}}">
          <view class="imgView">
            <image mode="widthFix" class="shop" src="{{item.shop_img}}"></image>
            <image bindtap="callPhone" data-index="{{index}}" class="ringUp" src="../images/ringUp.png" ></image>
          </view>
          <view class="shopName">{{item.shop_name}}</view>
          <view class="address" bindtap="openAddress">
            <image class="addressIcon" src="../images/addressIcon.png"></image>
            <view class="iconRig" data-index="{{index}}">{{item.shop_addr}}</view>
          </view>
          <view class="phone">
            <image class="phoneIcon" src="../images/phoneIcon.png"></image>
            <view class="iconRig" data-index="{{index}}"  bindtap="callPhone">{{item.shop_phone}}</view>
          </view>
          <view class="line"></view>
        </view>
      </view>
    </scroll-view>
  <!-- </view> -->
</view>

