<template>
  <div class="payment-way">
    <div class="apply-mask" @click="emits('notPaymentWayClose')"></div>
    <div class="apply-content">
      <div class="slide-line"></div>
      <img src="@/assets/icon/asset/not-payment-way.svg" alt="" />
      <div class="text pf500 fs20 fc333333">暂无收款方式</div>
      <div class="sure-btn pf600 fs14 fcFFFFFF">添加</div>
    </div>
  </div>
</template>
<script setup>
  const emits = defineEmits(["notPaymentWayClose"]);
</script>
<style lang="less" scoped>
  .payment-way {
    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: 350px;
      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);
      }

      img {
        margin-top: 42px;
        width: 189px;
        height: 130px;
      }

      .text {
        margin-top: 20px;
      }

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