index.less 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230
  1. * {
  2. margin: 0;
  3. padding: 0;
  4. box-sizing: border-box;
  5. }
  6. body {
  7. user-select: none;
  8. overflow: hidden;
  9. background-color: black;
  10. }
  11. .loding {
  12. position: absolute;
  13. z-index: 9998;
  14. top: 0;
  15. left: 0;
  16. width: 100vw;
  17. height: 100vh;
  18. background-color: rgba(0, 0, 0, .8);
  19. opacity: 1;
  20. pointer-events: auto;
  21. transition: all .5s;
  22. display: flex;
  23. align-items: center;
  24. justify-content: center;
  25. flex-direction: column;
  26. .loding1{
  27. width: 80%;
  28. height: 6px;
  29. border-radius: 3px;
  30. border: 1px solid #ddc136;
  31. margin-bottom: 20px;
  32. position: relative;
  33. overflow: hidden;
  34. .lodingJindu{
  35. position: absolute;
  36. width: 0%;
  37. height: 100%;
  38. background-color: #ddc136;
  39. }
  40. }
  41. .loding2{
  42. color: #fff;
  43. }
  44. }
  45. // 滚动条
  46. .gunDongDom{
  47. position: absolute;
  48. z-index: 10;
  49. right: 2px;
  50. top: 0;
  51. height: calc(100% - 50px);
  52. width: 4px;
  53. pointer-events: none;
  54. .gunDongDomSon{
  55. width: 100%;
  56. height: 50px;
  57. position: absolute;
  58. top: 0;
  59. left: 0;
  60. background-color: #ddc136;
  61. border-radius: 2px;
  62. }
  63. }
  64. #container{
  65. width: 100%;
  66. height: 100%;
  67. }
  68. /* 下面的提示 */
  69. .hand {
  70. position: fixed;
  71. left: 50%;
  72. top: 50%;
  73. margin: 0 0 0 -155px;
  74. -webkit-animation: hand ease-out 2s 2 normal;
  75. animation: hand ease-out 2s 2 normal;
  76. -webkit-transform: translateY(-40%) scale(0, 0);
  77. transform: translateY(-40%) scale(0, 0);
  78. opacity: 0;
  79. z-index: 9999;
  80. pointer-events: none;
  81. }
  82. @-webkit-keyframes hand {
  83. 0% {
  84. -webkit-transform: translateY(-40%) scale(1, 1);
  85. opacity: 1;
  86. }
  87. 60% {
  88. -webkit-transform: translateY(-40%) scale(1, 1);
  89. opacity: 1;
  90. }
  91. 65% {
  92. -webkit-transform: translateY(-40%) scale(1.1, 1.1);
  93. opacity: 0.6;
  94. }
  95. 70% {
  96. -webkit-transform: translateY(-40%) scale(0.9, 0.9);
  97. opacity: 0.8;
  98. }
  99. 75% {
  100. -webkit-transform: translateY(-40%) scale(1, 1);
  101. opacity: 1;
  102. }
  103. 100% {
  104. -webkit-transform: translateY(-40%) scale(1, 1);
  105. opacity: 1;
  106. }
  107. }
  108. @keyframes hand {
  109. 0% {
  110. -webkit-transform: translateY(-40%) scale(1, 1);
  111. opacity: 1;
  112. }
  113. 60% {
  114. -webkit-transform: translateY(-40%) scale(1, 1);
  115. opacity: 1;
  116. }
  117. 65% {
  118. -webkit-transform: translateY(-40%) scale(1.1, 1.1);
  119. opacity: 0.6;
  120. }
  121. 70% {
  122. -webkit-transform: translateY(-40%) scale(0.9, 0.9);
  123. opacity: 0.8;
  124. }
  125. 75% {
  126. -webkit-transform: translateY(-40%) scale(1, 1);
  127. opacity: 1;
  128. }
  129. 100% {
  130. -webkit-transform: translateY(-40%) scale(1, 1);
  131. opacity: 1;
  132. }
  133. }
  134. @media (max-height: 480px) {
  135. .dgImg {
  136. width: 60%;
  137. }
  138. }
  139. // --------------------------list-----------------------
  140. .listMain {
  141. width: 100%;
  142. height: 100%;
  143. max-width: 500px;
  144. position: absolute;
  145. top: 0;
  146. left: 50%;
  147. transform: translateX(-50%);
  148. .listTit {
  149. width: 100%;
  150. font-size: 20px;
  151. letter-spacing: 4px;
  152. text-align: center;
  153. padding: 20px 0;
  154. }
  155. a {
  156. text-decoration-line: none;
  157. }
  158. .listBox {
  159. width: 100%;
  160. height: calc(100% - 70px);
  161. overflow-y: auto;
  162. display: flex;
  163. flex-wrap: wrap;
  164. .listRow {
  165. width: 48%;
  166. margin-right: 4%;
  167. margin-bottom: 4%;
  168. border-radius: 8px;
  169. overflow: hidden;
  170. height: 300px;
  171. border: 1px solid black;
  172. &>div {
  173. position: relative;
  174. z-index: 10;
  175. height: 40px;
  176. line-height: 40px;
  177. text-align: center;
  178. font-size: 18px;
  179. background-color: #c5c5c5;
  180. }
  181. &>img {
  182. transition: all .3s;
  183. width: 100%;
  184. height: calc(100% - 40px);
  185. object-fit: contain;
  186. vertical-align: middle;
  187. }
  188. &:nth-of-type(2n) {
  189. margin-right: 0;
  190. }
  191. &:hover {
  192. &>img {
  193. transform: scale(1.1);
  194. }
  195. }
  196. }
  197. }
  198. }