<view
  class="address-container-box"
  onTap="handleClick"
>
  <view class="address-info">
    <view class="address-info-title">
      <view class="address-info-title-text">
        {{title}}
      </view>
      <am-icon
        a:if="{{!isEmpty && isDeliver && showIcon}}"
        type="RightOutline"
        color="#027eff"
        size="8"
      />
    </view>
    <block a:if="{{!isEmpty}}">
      <view class="address-member-info">
        <view class="address-member-info-text">
          {{(addressItem.name || '') + ' ' + (addressItem.mobile || '')}}
        </view>
        <am-icon
          a:if="{{!isEmpty && !isDeliver && showIcon}}"
          type="RightOutline"
          color="#027eff"
          size="8"
        />
      </view>
      <view a:if="{{isDeliver}}" class="deliver-address-info-container">
        <view class="address">
          地址:
        </view>
        <view class="address-info">
          {{(addressItem.provinceName || '') + (addressItem.cityName || '') + (addressItem.districtName || '') + addressItem.address + (addressItem.addressNumber || '')}}
        </view>
      </view>
    </block>
    <view a:else>
      {{emptyText + ' '}}
      <am-icon
        a:if="{{isEmpty}}"
        type="RightOutline"
        color="#027eff"
        size="8"
      />
    </view>
  </view>
</view>