index.vue 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. <template>
  2. <div class="officialAccount">
  3. <div class="officialAccount-contain">
  4. <div class="officialAccount-contain-top">
  5. <img src="@/assets/images/gzh.png" style="width:30rem"/>
  6. </div>
  7. <div class="officialAccount-contain-middle" @click="returnPage">
  8. <span>为访客预约成功后能成功接收通知,请首次访客预约用户关注“XXXX”公众号,进行手机号授权,已关注用户可直接点击“下一步”。</span>
  9. </div>
  10. <div class="officialAccount-contain-bottom" @click="next">
  11. <el-button type="primary" style="width: 100%" size="large">
  12. <span style="font-size: 2rem;">下 一 步</span>
  13. </el-button>
  14. </div>
  15. </div>
  16. </div>
  17. </template>
  18. <script setup>
  19. import { ref } from "vue";
  20. const emits = defineEmits(["changeStage"]);
  21. function next() {
  22. emits("changeStage");
  23. }
  24. </script>
  25. <style scoped lang="scss">
  26. .officialAccount {
  27. width:100%;
  28. height:100%;
  29. position: fixed;
  30. top:0;
  31. left:0;
  32. background-color: rgba(0,0,0,0.5);
  33. z-index: 9999;
  34. &-contain{
  35. width:50%;
  36. position: absolute;
  37. top:20%;
  38. left:25%;
  39. &-top{
  40. display: flex;
  41. justify-content: center;
  42. align-items: center;
  43. margin-bottom:4%;
  44. img{
  45. }
  46. }
  47. &-middle{
  48. font-size: 2.4rem;
  49. margin:0 0 10% 1rem;
  50. letter-spacing: 2px;
  51. line-height: 4rem;
  52. text-align: center;
  53. color:#fff;
  54. }
  55. &-bottom{
  56. width:20%;
  57. font-size: 2.4rem !important;
  58. margin:0 auto;
  59. display: flex;
  60. justify-content: center;
  61. }
  62. }
  63. }
  64. </style>