index.module.scss 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236
  1. .Home {
  2. width: 100%;
  3. height: 100vh;
  4. background-image: linear-gradient(to bottom, rgba(255, 255, 255, 1), rgba(207, 202, 189, 1));
  5. :global {
  6. .modelTxtBox {
  7. z-index: 10;
  8. opacity: 0;
  9. pointer-events: none;
  10. position: fixed;
  11. top: 0;
  12. left: 0;
  13. width: 100vw;
  14. height: 100vh;
  15. }
  16. .activeTxtBox {
  17. opacity: 1;
  18. pointer-events: auto;
  19. }
  20. .title {
  21. width: 100%;
  22. height: 90px;
  23. background-color: #741A1A;
  24. display: flex;
  25. justify-content: center;
  26. align-items: center;
  27. position: relative;
  28. .logo {
  29. width: 215px;
  30. &>img {
  31. width: 100%;
  32. }
  33. }
  34. }
  35. .mainBox {
  36. width: 1400px;
  37. margin: 10px auto 50px;
  38. height: calc(100% - 170px);
  39. position: relative;
  40. .screenBox {
  41. border-radius: 0 0 3px 3px;
  42. border-top: 6px solid #D9D9D9;
  43. box-shadow: 0px 0px 5px 3px #ccc;
  44. padding: 10px 24px;
  45. height: 60px;
  46. display: flex;
  47. justify-content: center;
  48. align-items: center;
  49. &>div {
  50. width: 300px;
  51. height: 30px;
  52. }
  53. .search {
  54. position: relative;
  55. .searchBtn {
  56. position: absolute;
  57. top: 0;
  58. left: 0;
  59. cursor: pointer;
  60. width: 30px;
  61. height: 30px;
  62. z-index: 2;
  63. }
  64. .searchClear {
  65. position: absolute;
  66. top: 0;
  67. right: 0;
  68. cursor: pointer;
  69. width: 30px;
  70. height: 30px;
  71. z-index: 2;
  72. display: flex;
  73. justify-content: center;
  74. align-items: center;
  75. }
  76. }
  77. .sortBox {
  78. margin: 0 40px;
  79. }
  80. }
  81. .modelBox::-webkit-scrollbar {
  82. width: 6px;
  83. }
  84. .modelBox::-webkit-scrollbar-thumb {
  85. border-radius: 10px;
  86. background-color: #741A1A;
  87. }
  88. .modelBox::-webkit-scrollbar-track {
  89. border-radius: 10px;
  90. }
  91. .modelBox {
  92. border-radius: 3px 3px 0 0;
  93. margin-top: 10px;
  94. box-shadow: 0px 0px 5px 3px #ccc;
  95. background-color: rgba(255, 255, 255, 0.5000);
  96. width: 100%;
  97. height: calc(100% - 50px);
  98. overflow-y: auto;
  99. display: flex;
  100. flex-wrap: wrap;
  101. padding: 20px 15px 0;
  102. .modelBox_row {
  103. border-radius: 6px;
  104. overflow: hidden;
  105. cursor: pointer;
  106. width: 264px;
  107. height: 264px;
  108. background-color: #CFCABD;
  109. margin: 0 10px 10px 0;
  110. position: relative;
  111. .modelBox_row_hover {
  112. opacity: 0;
  113. position: none;
  114. transition: opacity .3s;
  115. text-align: center;
  116. display: flex;
  117. justify-content: center;
  118. align-items: center;
  119. color: #fff;
  120. padding: 50px;
  121. font-size: 24px;
  122. line-height: 34px;
  123. backdrop-filter: blur(4px);
  124. background-color: rgba(0,0,0,.8);
  125. position: absolute;
  126. top: 0;
  127. left: 0;
  128. border-radius: 6px;
  129. width: 100%;
  130. height: 100%;
  131. }
  132. &:hover {
  133. .modelBox_row_hover {
  134. opacity: 1;
  135. }
  136. }
  137. &:nth-of-type(5n) {
  138. margin-right: 0;
  139. }
  140. &>img {
  141. width: 264px;
  142. height: 224px;
  143. object-fit: cover;
  144. }
  145. p {
  146. height: 40px;
  147. display: flex;
  148. align-items: center;
  149. background-color: #741A1A;
  150. text-align: center;
  151. color: #fff;
  152. font-size: 16px;
  153. .row_txt1 {
  154. height: 100%;
  155. width: 100px;
  156. background-color: rgba(255, 255, 255, .6);
  157. line-height: 40px;
  158. border-right: 2px solid #fff;
  159. }
  160. .row_txt2 {
  161. height: 100%;
  162. flex: 1;
  163. line-height: 40px;
  164. }
  165. }
  166. }
  167. .noneList {
  168. width: 100%;
  169. height: 100%;
  170. display: flex;
  171. justify-content: center;
  172. align-items: center;
  173. flex-direction: column;
  174. position: relative;
  175. .incoBox {
  176. font-size: 24px;
  177. display: flex;
  178. justify-content: center;
  179. align-items: center;
  180. width: 40px;
  181. height: 40px;
  182. margin-bottom: 15px;
  183. background-color: #BE262B;
  184. border-radius: 50%;
  185. color: #fff;
  186. font-weight: 700;
  187. }
  188. &>p {
  189. font-weight: 700;
  190. font-size: 20px;
  191. }
  192. }
  193. }
  194. .page {
  195. margin-top: 10px;
  196. display: flex;
  197. justify-content: flex-end;
  198. }
  199. }
  200. }
  201. }