index.css 3.3 KB

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