<template>
  <!--  立即注册弹窗 -->
  <el-dialog
    :close-on-click-modal="false"
    :visible.sync="visible"
    class="register-now-dialog"
    @close="onCloseDl"
    center>
    <div class="register-now-box">
      <p>在线考培，就用麦塔</p>
      <p>现在注册立享30人纯免费版本3年使用权限</p>
      <div class="system-box">
        <a href="https://qg.qtavip.com/a/register?flug=1" target="_blank"><i></i><p>考试系统</p></a>
        <span></span>
        <a href="https://qg.qtavip.com/a/register?flug=2" target="_blank"><i></i><p>培训系统</p></a>
      </div>
      <span>免费咨询电话：<span class="tel-code">400-052-2130</span></span>
    </div>
  </el-dialog>
</template>

<script>
export default {
  name: "selectDialog",
  props: {
    show: {
      type: Boolean,
      default: false,
    }
  },
  data() {
    return {
      visible: false,
    }
  },
  methods: {
    onCloseDl() {
      this.$emit('update:show', false);
    }
  },
  watch: {
    show: {
      handler(newVal) {
        this.visible = newVal;
      },
      immediate: true
    }
  }
}
</script>

<style scoped>

</style>
