<template>
  <div>
    <el-dialog v-model="props.showEdit" @close="closeEdit">
      <h1>重要提醒</h1>
      <div class="content">
        请确认信息是否有误,发送合同,请确认信息是否有误,发送电子合同后短时间内将不可再次发送.
      </div>
      <p class="btn_menu">
        <el-button type="primary" size="large">确认创建</el-button>
        <el-button type="info" size="large">返回</el-button>
      </p>
    </el-dialog>
  </div>
</template>

<script lang="ts" setup>
import { reactive, ref } from "vue";

// const dialogFormVisible = ref(true)
const formLabelWidth = "140px";
const props = defineProps({
  showEdit: {
    default: false,
  },
});
const closeEdit = () => {
  content.emit("close");
  // console.log(defineProps.showEdit)
};
const form = reactive({
  name: "",
  region: "",
  date1: "",
  date2: "",
  delivery: false,
  type: [],
  resource: "",
  desc: "",
});
</script>
<style scoped lang="scss">
h1 {
  text-align: center;
  font-weight: bold;
  font-size: 30px;
  color: red;
  margin-bottom: 10px;
}

.content {
  font-size: 20px;
}

.info {
  color: red;
  font-weight: bold;
  font-size: 18px;
  display: inline-block;
  margin: 0 5px;
}

.btn_menu {
  margin-top: 10vh;
  display: flex;
  justify-content: space-around;
}
</style>
