index.less 3.4 KB

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