<view
  class="address-deliver-info-box"
  onTap="handleClick"
  a:if="{{logistics && logistics.type}}"
>
  <view class="address-info">
    <view class="address-deliver-type">
      <view class="address-deliver-type-text">
        配送物流：{{logistics.type === 'MERCHANT' ? '商家自配' : logistics.logisticsName}}
      </view>
      <block a:if="{{logistics.type === 'MERCHANT'}}">
        <contact-merchant a:if="{{contactMobile}}" contactMobile="{{contactMobile}}" />
      </block>
    </view>
    <view class="deliver-address-info-container">
      <view class="deliver-number">
        配送单号：
      </view>
      <view class="deliver-address-info-text">
        {{logistics.type === 'MERCHANT' ? '该订单由商家配送，无配送物流' : logistics.logisticsNo}}
      </view>
      <view class="deliver-copy" onTap="copyNumber" a:if="{{logistics.type === 'LOGISTICS' && logistics.logisticsNo}}">
        复制
      </view>
    </view>
  </view>
</view>