index.css 3.2 KB

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