<!--packageC/selfCarry/selfCarry_info/selfCarry_info.wxml-->
<view class="info">
  <view class="search_box">
    <view class="ul search">
      <view class="li left" catchtap="openDateLwtbtn">
        <icon class="iconfont icon-icon_location"></icon>
        <text class="view">{{city}}</text>
        <icon class="iconfont icon-member-bottom"></icon>
      </view>
      <view class="li right">
        <icon class="iconfont icon-sousuo"></icon>
        <input type="text" bindblur="tosearch" title="搜索" placeholder="输入自提点名称" />
      </view>
    </view>
  </view>
  <!-- <view class="li search_box_right">
    <icon class="iconfont icon-sousuo"></icon>
    <input type="text" bindblur="tosearch" title="搜索" placeholder="请输入详细的地点" />
  </view> -->
  <view class="ul">
    <view class="radio_main li" catchtap="showDetail" data-v="{{item}}" wx:for="{{info}}" wx:for-item="item" wx:for-index="index" wx:key="index">
      <view class="title">
        <view class="text">{{item.deliver_name}}</view>
        <view class="address">{{ item.distance }}{{ item.unit }} | {{ item.full_address }}</view>
        <view>营业时间：{{ item.business_hours_start }} - {{ item.business_hours_end }}</view>
      </view>
      <view class="btn1">查看</view>
    </view>
    <text wx:if="{{info.length== 0}}" class="notext">该地区搜索结果为空，请切换其他地区试试！</text>
  </view>
  <van-popup show="{{ show }}" bind:close="onClose" position="bottom">
    <view class="details">
      <view class="top_main">
        <view class="title">{{detailinfo.deliver_name}}</view>
        <view class="other">
          营业时间：{{ detailinfo.business_hours_start }} - {{ detailinfo.business_hours_end }}
        </view>
        <view class="tel">
          <view>联系电话：{{ detailinfo.deliver_mobile }}</view>
          <view catchtap="callPhone" data-phone="{{detailinfo.deliver_mobile}}">
            <van-icon name="phone-circle-o" size="20px" />
          </view>
        </view>
        <view class="other">详细地址：{{ detailinfo.full_address }}</view>
      </view>
      <view class="bottom_box">
        <view>图片</view>
        <view class="img_box">
          <image src="{{item}}" alt="" mode="{{widthFix}}" wx:for="{{detailinfo.thumb}}" wx:for-item="item" wx:for-index="index" wx:key="index" />
        </view>
      </view>
      <view class="btn" catchtap="gotoOrder">确定</view>
    </view>
  </van-popup>
  <view class="b-mask {{openDateLw}}" bindtap="_closeDateLw"></view>
  <view class="dateBe {{openDateLw}}">
    <view class="head">
      <view class="ll" bindtap="_closeDateLw">取消</view>
      <view class="rr" bindtap="_okAddress">确定</view>
    </view>
    <view class="main">
      <picker-view indicator-style="height: 50px;" style="width: 100%; height: 300px;" value="{{[pickerValue[0],pickerValue[1],pickerValue[2]]}}" bindchange="bindChange">
        <picker-view-column id="provinceData">
          <view wx:for="{{provinceData}}" wx:key="index" style="line-height: 50px">
            {{item.areaname}}
          </view>
        </picker-view-column>
        <picker-view-column id="cityData">
          <view wx:for="{{cityData}}" wx:key="index" style="line-height: 50px">
            {{item.areaname}}
          </view>
        </picker-view-column>
        <picker-view-column id="districtData">
          <view wx:for="{{districtData}}" wx:key="index" style="line-height: 50px">
            {{item.areaname}}
          </view>
        </picker-view-column>
      </picker-view>
    </view>
  </view>
</view>