<template>
  <common-dialog @closePopup="$emit('closePopup')" showMask>
    <div class="onChainDialog">
      <img src="/images/category/chain_notice.png" />
      <div class="part-bottom">
        <h3>上链提示</h3>
        <p class="line-one">
          信息上链后，即将展示在区块链上以作永恒记录，如有虚假，
        </p>
        <p class="line-two">登记⽅需⾃愿承担由此产⽣的⼀切后果。</p>
        <div class="chain-btn" @click="uploadConfirm">确定上链</div>
      </div>
    </div>
  </common-dialog>
</template>

<script lang="ts" setup>
import { syCommonDialog as CommonDialog } from "cqk-sy-ui";
defineEmits(["closePopup"]);
defineProps<{
  uploadConfirm: () => void;
}>();
</script>
<style lang="scss" scoped>
.onChainDialog {
  .iconjiufuqianbaoicon08 {
    position: absolute;
    top: -30px;
    font-size: 28px;
    cursor: pointer;
    right: -30px;
    color: rgba(0, 0, 0, 0.4);
  }
  .part-bottom {
    padding-top: 30px;
    text-align: center;
    padding-bottom: 75px;
    .line-two {
      margin-bottom: 36px;
    }
    p {
      font-size: 16px;
      color: #989fa5;
    }
    h3 {
      font-size: 20px;
      color: #353535;
      margin-bottom: 15px;
      font-weight: 700;
    }
    .chain-btn {
      font-size: 14px;
      color: white;
      background-color: var(--sy-blue);
      border-radius: 4px;
      width: 120px;
      height: 40px;
      line-height: 40px;

      cursor: pointer;
      display: inline-block;
    }
  }
}
</style>
