selectDialog.vue 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. <template>
  2. <!-- 立即注册弹窗 -->
  3. <el-dialog
  4. :close-on-click-modal="false"
  5. :visible.sync="visible"
  6. class="register-now-dialog"
  7. @close="onCloseDl"
  8. center>
  9. <div class="register-now-box">
  10. <p>在线考培,就用麦塔</p>
  11. <p>现在注册立享30人纯免费版本3年使用权限</p>
  12. <div class="system-box">
  13. <a href="https://qg.qtavip.com/a/register?flug=1" target="_blank"><i></i><p>考试系统</p></a>
  14. <span></span>
  15. <a href="https://qg.qtavip.com/a/register?flug=2" target="_blank"><i></i><p>培训系统</p></a>
  16. </div>
  17. <span>免费咨询电话:<span class="tel-code">400-0990-883</span></span>
  18. </div>
  19. </el-dialog>
  20. </template>
  21. <script>
  22. export default {
  23. name: "selectDialog",
  24. props: {
  25. show: {
  26. type: Boolean,
  27. default: false,
  28. }
  29. },
  30. data() {
  31. return {
  32. visible: false,
  33. }
  34. },
  35. methods: {
  36. onCloseDl() {
  37. this.$emit('update:show', false);
  38. }
  39. },
  40. watch: {
  41. show: {
  42. handler(newVal) {
  43. this.visible = newVal;
  44. },
  45. immediate: true
  46. }
  47. }
  48. }
  49. </script>
  50. <style scoped>
  51. </style>