大空间消毒机
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

67 lines
1.5 KiB

2 years ago
  1. <template>
  2. <div class="login_modal_container">
  3. <div class="modal_content">
  4. <LoginForm :hideLoginModal="hideLoginModal" :modal="true" />
  5. <svg
  6. @click="closeModal"
  7. class="close"
  8. xmlns="http://www.w3.org/2000/svg"
  9. xmlns:xlink="http://www.w3.org/1999/xlink"
  10. fill="none"
  11. version="1.1"
  12. width="14.666666984558105"
  13. height="14.666666984558105"
  14. viewBox="0 0 14.666666984558105 14.666666984558105"
  15. >
  16. <g>
  17. <path
  18. d="M8.70833,7.33333L14.6667,13.2917L13.2917,14.6667L7.33333,8.70833L1.375,14.6667L0,13.2917L5.95833,7.33333L0,1.375L1.375,0L7.33333,5.95833L13.2917,0L14.6667,1.375L8.70833,7.33333Z"
  19. fill="#3D3D3D"
  20. fill-opacity="1"
  21. />
  22. </g>
  23. </svg>
  24. </div>
  25. </div>
  26. </template>
  27. <script setup>
  28. import LoginForm from 'cpns/LoginForm'
  29. const props = defineProps({
  30. hideLoginModal: {
  31. type: Function,
  32. },
  33. })
  34. const closeModal = () => {
  35. props.hideLoginModal()
  36. }
  37. </script>
  38. <style lang="scss" scoped>
  39. .login_modal_container {
  40. position: fixed;
  41. top: 0;
  42. left: 0;
  43. right: 0;
  44. bottom: 0;
  45. background: rgba(0, 0, 0, 0.5);
  46. z-index: 2;
  47. display: flex;
  48. align-items: center;
  49. justify-content: center;
  50. .modal_content {
  51. width: 476px;
  52. height: 414px;
  53. border-radius: 16px;
  54. background: #ffffff;
  55. position: relative;
  56. .close {
  57. position: absolute;
  58. right: 22px;
  59. top: 18px;
  60. }
  61. }
  62. }
  63. </style>