index.module.scss 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. .LookDom {
  2. transition: opacity 0.3s;
  3. position: fixed;
  4. z-index: 9991;
  5. opacity: 0;
  6. pointer-events: none;
  7. top: 0;
  8. left: 0;
  9. width: 100vw;
  10. height: 100vh;
  11. background-color: rgba(0, 0, 0, 0.6);
  12. :global {
  13. .close {
  14. color: #fff;
  15. position: absolute;
  16. right: 30px;
  17. top: 70px;
  18. font-size: 30px;
  19. cursor: pointer;
  20. z-index: 10;
  21. }
  22. .viedoBox {
  23. position: absolute;
  24. top: 50%;
  25. left: 50%;
  26. transform: translate(-50%, -50%);
  27. width: 100%;
  28. height: 100%;
  29. video {
  30. width: 100%;
  31. height: 100%;
  32. object-fit: contain;
  33. }
  34. }
  35. .audioBox {
  36. position: absolute;
  37. top: 50%;
  38. left: 50%;
  39. transform: translate(-50%, -50%);
  40. width: 500px;
  41. height: 60px;
  42. audio {
  43. width: 100%;
  44. height: 100%;
  45. }
  46. }
  47. .modelBox {
  48. position: absolute;
  49. top: 0;
  50. left: 0;
  51. width: 100%;
  52. height: 100%;
  53. iframe {
  54. width: 100%;
  55. height: 100%;
  56. }
  57. }
  58. }
  59. }