<wrapper>
  <view
    class="qr-container"
    a:if="{{status === 'UNDELIVERED' || status === 'DELIVERED' }}"
  >
    <view
      class="qr-destroy"
      a:if="{{unSend}}"
    >
      <view
        class="used-text"
        style="margin-bottom: 0;color: #333"
      >
        商家备货中，请等待商家发送提货码
      </view>
    </view>
    <block a:else>
      <!-- qrcode -->
      <view
        class="qr-destroy"
        a:if="{{redeemStatus === 'USED'}}"
      >
        <seal-component
          a:if="{{takeDeliveryTime && takeDeliveryStatus}}"
          time="{{takeDeliveryTime}}"
          isUser="{{takeDeliveryStatus === 'USER'}}"
        />
        <view class="qr-img-destroy">
        </view>
        <view class="used-text">
          提货码已使用
        </view>
        <!-- code -->
        <view class="code-used-text">
          提货码：{{redeemQrValue}}
        </view>
      </view>
      <block a:if="{{redeemStatus === 'UNUSE'}}">
        <view class="order-qr-title">
          提货码
        </view>
        <mas-qrcode
          width="{{width}}"
          code="{{redeemQrValue}}"
        />
        <!-- code -->
        <view class="order-qr-code">
          提货码：{{redeemQrValue}}
        </view>
        <view
          class="order-qr-confirm"
          onTap="confirmReceive"
        >
          确认提货
        </view>
      </block>
    </block>
  </view>
</wrapper>