<template>
  <div class="update-info">
    <div class="apply-mask" @click="emits('redemptionNotClose')"></div>
    <div class="apply-content">
      <div class="apply-text pf600 fs18 fc121212">温馨提示</div>
      <img src="@/assets/img/index/Bank_transfer_2_.svg" alt="" />
      <div class="desc pf500 fs14 fc4B5563">当前天数不足，无法赎回</div>
      <div class="sure-btn pf600 fs14 fcFFFFFF">确认</div>
    </div>
  </div>
</template>
<script setup>
  const emits = defineEmits(["redemptionNotClose"]);
</script>
<style lang="less" scoped>
  .update-info {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    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: 303px;
      height: 256px;
      background: #ffffff;
      border-radius: 15px;

      .apply-text {
        margin-top: 15px;
        height: 24px;
        line-height: 24px;
        letter-spacing: 0.2px;
      }

      img {
        margin-top: 19px;
        width: 87px;
        height: 74px;
      }

      .desc {
        margin-top: 20px;
      }

      .sure-btn {
        margin-top: 26px;
        width: 256px;
        height: 40px;
        line-height: 40px;
        text-align: center;
        border-radius: 100px;
        background: #df384c;
      }
    }
  }
</style>
