index.css 3.5 KB

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