index.module.scss 859 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051
  1. .ImageLazy {
  2. position: relative;
  3. :global {
  4. .lazyBox {
  5. width: 100%;
  6. height: 100%;
  7. position: relative;
  8. .adm-image {
  9. width: 100%;
  10. height: 100%;
  11. img {
  12. width: 100%;
  13. height: 100%;
  14. }
  15. }
  16. .lookImg {
  17. cursor: pointer;
  18. transition: opacity .3s;
  19. opacity: 0;
  20. pointer-events: none;
  21. position: absolute;
  22. top: 0;
  23. left: 0;
  24. width: 100%;
  25. height: 100%;
  26. display: flex;
  27. justify-content: center;
  28. align-items: center;
  29. font-size: 18px;
  30. color: #fff;
  31. background-color: rgba(0, 0, 0, .6);
  32. &>div {
  33. font-size: 14px;
  34. }
  35. }
  36. &:hover {
  37. .lookImg {
  38. opacity: 1;
  39. pointer-events: auto;
  40. }
  41. }
  42. }
  43. }
  44. }