<!--packageC/selfCarry/component/selfPickupPointChild/selfPickupPointChild.wxml-->
<view class="selfPickupPointChild">
  <view class="selfPickupPoint-cell {{ selected?'Selected-box':'' }}">
    <view class="cell-top flex-center">
      <view class="cell-top-l flex-center">
        <i class="iconfont icon-fontclass-dianpu"></i>
        <view class="name">{{ datas.deliver_name }}</view>
      </view>
      <view class="status {{ !selected?'Selected-status':'' }}" catchtap="chooseDeliver" data-id="{{datas.id}}">{{ !selected ? "选它" : "当前"+pluginName }}</view>
    </view>

    <view class="cell-main flex-center">
      <view class="cell-main-l flex-center">
        <view class="phone">联系电话：{{ datas.deliver_mobile || "---" }}</view>
        <view class="address">
          <view style="flex-shrink: 0;">{{ datas.distance }}{{datas.unit}}</view>
          <view class="line" style="margin: 0 0.25rem;"></view>
          <view class="address-text">{{ datas.full_address || "---" }}</view>
        </view>
      </view>
      <view class="cell-main-r flex-center">
        <view class="round" catchtap="goToAdress">
          <i class="iconfont icon-supplier_release"></i>
        </view>
        <view class="line" style="margin: 0 0.5rem;"></view>
        <view class="round" style="background-color: #f15353;" catchtap="callPhone" data-phone="{{datas.deliver_mobile}}">
          <i class="iconfont icon-hujiaokefu"></i>
        </view>
      </view>
    </view>
  </view>
</view>