index.module.scss 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. .Layout {
  2. width: 100%;
  3. height: 40%;
  4. padding: 20px 0;
  5. margin-left: 20px;
  6. position: relative;
  7. display: flex;
  8. align-items: center;
  9. overflow: hidden;
  10. $gap: 50px;
  11. :global {
  12. .hjbg {
  13. height: 100%;
  14. position: relative;
  15. z-index: 99;
  16. left: -2px;
  17. }
  18. .inner {
  19. height: 80%;
  20. position: relative;
  21. &::before {
  22. position: absolute;
  23. content: "";
  24. display: inline-block;
  25. height: 100%;
  26. z-index: 99;
  27. left: -2px;
  28. width: 30px;
  29. background: linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));
  30. }
  31. .innerimg {
  32. height: 100%;
  33. position: relative;
  34. transition: left 0.5s linear;
  35. .texture {
  36. height: 100%;
  37. }
  38. .gaoliang {
  39. position: absolute;
  40. animation: opacity-cycle 2s linear infinite;
  41. }
  42. .line_boat {
  43. width: 6%;
  44. right: 23%;
  45. top: 53.8%;
  46. }
  47. .line_friends {
  48. width: 4%;
  49. right: -0.4%;
  50. top: 79%;
  51. }
  52. .line_mount {
  53. width: 4%;
  54. right: 33.8%;
  55. top: 50%;
  56. }
  57. }
  58. }
  59. }
  60. }