index.less 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229
  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: #6a6a6a;
  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. }
  81. @-webkit-keyframes hand {
  82. 0% {
  83. -webkit-transform: translateY(-40%) scale(1, 1);
  84. opacity: 1;
  85. }
  86. 60% {
  87. -webkit-transform: translateY(-40%) scale(1, 1);
  88. opacity: 1;
  89. }
  90. 65% {
  91. -webkit-transform: translateY(-40%) scale(1.1, 1.1);
  92. opacity: 0.6;
  93. }
  94. 70% {
  95. -webkit-transform: translateY(-40%) scale(0.9, 0.9);
  96. opacity: 0.8;
  97. }
  98. 75% {
  99. -webkit-transform: translateY(-40%) scale(1, 1);
  100. opacity: 1;
  101. }
  102. 100% {
  103. -webkit-transform: translateY(-40%) scale(1, 1);
  104. opacity: 1;
  105. }
  106. }
  107. @keyframes hand {
  108. 0% {
  109. -webkit-transform: translateY(-40%) scale(1, 1);
  110. opacity: 1;
  111. }
  112. 60% {
  113. -webkit-transform: translateY(-40%) scale(1, 1);
  114. opacity: 1;
  115. }
  116. 65% {
  117. -webkit-transform: translateY(-40%) scale(1.1, 1.1);
  118. opacity: 0.6;
  119. }
  120. 70% {
  121. -webkit-transform: translateY(-40%) scale(0.9, 0.9);
  122. opacity: 0.8;
  123. }
  124. 75% {
  125. -webkit-transform: translateY(-40%) scale(1, 1);
  126. opacity: 1;
  127. }
  128. 100% {
  129. -webkit-transform: translateY(-40%) scale(1, 1);
  130. opacity: 1;
  131. }
  132. }
  133. @media (max-height: 480px) {
  134. .dgImg {
  135. width: 60%;
  136. }
  137. }
  138. // --------------------------list-----------------------
  139. .listMain {
  140. width: 100%;
  141. height: 100%;
  142. max-width: 500px;
  143. position: absolute;
  144. top: 0;
  145. left: 50%;
  146. transform: translateX(-50%);
  147. .listTit {
  148. width: 100%;
  149. font-size: 20px;
  150. letter-spacing: 4px;
  151. text-align: center;
  152. padding: 20px 0;
  153. }
  154. a {
  155. text-decoration-line: none;
  156. }
  157. .listBox {
  158. width: 100%;
  159. height: calc(100% - 70px);
  160. overflow-y: auto;
  161. display: flex;
  162. flex-wrap: wrap;
  163. .listRow {
  164. width: 48%;
  165. margin-right: 4%;
  166. margin-bottom: 4%;
  167. border-radius: 8px;
  168. overflow: hidden;
  169. height: 300px;
  170. border: 1px solid black;
  171. &>div {
  172. position: relative;
  173. z-index: 10;
  174. height: 40px;
  175. line-height: 40px;
  176. text-align: center;
  177. font-size: 18px;
  178. background-color: #c5c5c5;
  179. }
  180. &>img {
  181. transition: all .3s;
  182. width: 100%;
  183. height: calc(100% - 40px);
  184. object-fit: contain;
  185. vertical-align: middle;
  186. }
  187. &:nth-of-type(2n) {
  188. margin-right: 0;
  189. }
  190. &:hover {
  191. &>img {
  192. transform: scale(1.1);
  193. }
  194. }
  195. }
  196. }
  197. }