index.less 3.5 KB

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