index.module.scss 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. .A3hotList {
  2. position: absolute;
  3. top: 50%;
  4. right: 0;
  5. transform: translate(0, -50%);
  6. width: 250px;
  7. height: 100%;
  8. z-index: 30001;
  9. display: flex;
  10. align-items: center;
  11. justify-content: flex-end;
  12. :global {
  13. .A3main {
  14. display: flex;
  15. flex-direction: column;
  16. align-items: center;
  17. justify-content: flex-start;
  18. gap: 10px;
  19. width: 250px;
  20. height: 100%;
  21. background: url('../../assets/img/hotlist_bg.png') center center;
  22. background-size: 100% 100%;
  23. color: rgba(43, 31, 23, 0.9);
  24. font-size: 17px;
  25. font-weight: 500;
  26. font-family: 'fzFont';
  27. overflow: auto;
  28. padding-bottom: 40px;
  29. // 隐藏滚动条
  30. &::-webkit-scrollbar {
  31. display: none;
  32. }
  33. .A3title {
  34. padding: 40px 0 30px 0;
  35. font-size: 24px;
  36. font-weight: 400;
  37. color: rgba(43, 31, 23, 0.9);
  38. }
  39. .A3item {
  40. display: flex;
  41. align-items: center;
  42. justify-content: center;
  43. width: 100%;
  44. height: fit-content;
  45. padding: 4px 3px;
  46. cursor: pointer;
  47. &:hover {
  48. background-color: rgba(163, 124, 79, 1);
  49. }
  50. }
  51. .A3close {
  52. position: fixed;
  53. bottom: 0;
  54. width: 250px;
  55. height: 40px;
  56. background-color: rgba(148, 113, 76, 0.9);
  57. border-top: 1px solid rgba(43, 31, 23, 0.1);
  58. cursor: pointer;
  59. &:hover {
  60. opacity: 1;
  61. }
  62. img {
  63. position: absolute;
  64. top: 50%;
  65. left: 50%;
  66. transform: translate(-50%, -50%);
  67. width: 24px;
  68. height: 24px;
  69. opacity: 0.6;
  70. }
  71. }
  72. }
  73. }
  74. }
  75. @media screen and (max-width: 600px) {
  76. .A3hotList {
  77. width: 100%;
  78. height: 50%;
  79. transform: translate(0, -100%);
  80. :global {
  81. .A3main {
  82. width: 100%;
  83. height: 100%;
  84. background: url('../../assets/img/hotlist_bg.png') center center;
  85. background-size: 100% 100%;
  86. padding-bottom: 20px;
  87. .A3title {
  88. padding: 20px 0 10px 0;
  89. font-size: 16px;
  90. }
  91. .A3item {
  92. font-size: 14px;
  93. padding: 10px 3px;
  94. &:touch {
  95. background-color: rgba(163, 124, 79, 1);
  96. }
  97. }
  98. .A3close {
  99. width: 100%;
  100. height: 20px;
  101. background-color: rgba(148, 113, 76, 0.9);
  102. border-top: 1px solid rgba(43, 31, 23, 0.1);
  103. img {
  104. width: 16px;
  105. height: 16px;
  106. }
  107. }
  108. }
  109. }
  110. }
  111. }