<template>
  <div class="complete-payment">
    <div class="apply-mask" @click="emits('completePaymentClose')"></div>
    <div class="apply-content">
      <div class="slide-line"></div>
      <div class="order-title pf600 fs18 fc333333">您是否已完成付款？</div>
      <img src="@/assets/img/asset/Bank_transfer_2_.png" alt="" />
      <div class="text pf500 fs14 fc333333">
        请确保您已向卖家付款 <br />
        恶意操作不付款可能会被冻结账户
      </div>
      <div class="sure-btn pf600 fs14 fcFFFFFF">确认</div>
      <div class="cancel pf500 fs14 fcDF384C">取消</div>
    </div>
  </div>
</template>
<script setup>
  const emits = defineEmits(["completePaymentClose"]);
</script>
<style lang="less" scoped>
  .complete-payment {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    width: 100%;
    min-height: 100vh;

    .apply-mask {
      position: fixed;
      left: 0;
      top: 0;
      z-index: -1;
      width: 100%;
      min-height: 100vh;
      background: rgba(0, 0, 0, 0.5);
    }

    .apply-content {
      display: flex;
      flex-direction: column;
      justify-content: flex-start;
      align-items: center;
      width: 375px;
      height: 337px;
      background: #ffffff;
      border-radius: 24px 24px 0px 0px;

      .slide-line {
        margin-top: 12px;
        width: 32px;
        height: 4px;
        border-radius: 2px;
        opacity: 0.4;
        background: rgba(0, 0, 0, 0.5);
      }

      .order-title {
        margin-top: 20px;
        height: 24px;
        line-height: 24px;
      }

      img {
        margin-top: 19px;
        width: 72px;
        height: 74.5px;
      }

      .text {
        margin-top: 20px;
        line-height: 25px;
        text-align: center;
      }

      .sure-btn {
        margin-top: 10px;
        width: 311px;
        height: 40px;
        line-height: 40px;
        text-align: center;
        border-radius: 100px;
        background: #df384c;
      }

      .cancel {
        margin-top: 11px;
      }
    }
  }
</style>
