<view class="price-delivery-cost {{tipType === 'detail' ? 'deliver-in-detail' : ''}}">
  <modal
    zIndex="999"
    buttons={{btnConfig}}
    display="inline"
    a:if="{{true}}"
  >
    <view slot="header">配送费说明</view>
    <!-- 首重续重 -->
    <block a:if="{{item.deliveryTemplate.pricingType === 'WEIGHT'}}">
      <view class="modal-title">首重首费</view>
      <view class="modal-info">
        商品重量在{{item.deliveryTemplate.firstWeight}}kg以内，配送费{{item.deliveryTemplate.firstWeightDeliveryFee}}元
      </view>
      <view class="modal-title">续重续费</view>
      <view class="modal-info">
        超出首重后，商品每增加{{item.deliveryTemplate.continueWeight}}kg，配送费增加{{item.deliveryTemplate.continueWeightDeliveryFee}}元
      </view>
      <block a:if="{{item.deliveryTemplate.freeDeliveryFeeSwitch}}">
        <view class="modal-title">免配送费</view>
        <view class="modal-info">当订单金额达到{{item.deliveryTemplate.freeDeliveryFeeAmount}}元，免收配送费
        </view>
      </block>
    </block>
    <!-- 固定 -->
    <block a:if="{{item.deliveryTemplate.pricingType === 'FIXED'}}">
      <view class="modal-title">固定配送费</view>
      <view class="modal-info">每订单固定配送费{{item.deliveryTemplate.fixedDeliveryFee}}元</view>
      <block a:if="{{item.deliveryTemplate.freeDeliveryFeeSwitch}}">
        <view class="modal-title">免配送费</view>
        <view class="modal-info">当订单金额达到{{item.deliveryTemplate.freeDeliveryFeeAmount}}元，免收配送费
        </view>
      </block>
    </block>
    <!-- 免费 -->
    <block a:if="{{item.deliveryTemplate.pricingType === 'FREE'}}">
      <view class="modal-title">免配送费</view>
      <view class="modal-info">当前订单由商家免配送费</view>
    </block>
    <view slot="click">
      <block a:if="{{tipType === 'shopCar'}}">
        配送费
        <am-icon
          type="QuestionCircleFill"
          color="#0A83FF"
          size="6"
        />
        ¥{{item.deliveryCost}}
      </block>
      <block a:if="{{tipType === 'detail'}}">
        配送费
        <am-icon
          type="QuestionCircleOutline"
          color="#999"
          size="6"
        />
        {{' '}}共{{item.totalWeight}}kg
      </block>
    </view>
  </modal>
</view>