global.scss 5.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211
  1. @media screen and (max-width: 1920px) {
  2. #header{
  3. height: 3rem;
  4. .wrap{
  5. width: 55rem;
  6. .mini-menu{
  7. display: none!important;
  8. }
  9. }
  10. }
  11. #main{
  12. background-color: #f7f7f7;
  13. .main-wrap{
  14. width: 55rem;
  15. margin: 0 auto;
  16. margin-top: .5rem;
  17. overflow: hidden;
  18. display: flex;
  19. justify-content: space-between;
  20. box-sizing: border-box;
  21. .cate-list{
  22. .hot-item{
  23. .game_tag{
  24. margin-right: 0.5rem;
  25. font-size: .6rem;
  26. }
  27. }
  28. }
  29. }
  30. }
  31. }
  32. @media screen and (max-width: 1680px) {
  33. #header{
  34. font-size: 1rem;
  35. }
  36. }
  37. @media screen and (max-width: 1440px) {
  38. #header{
  39. font-size: 1rem;
  40. }
  41. }
  42. @media screen and (max-width: 1366px) {
  43. #header{
  44. font-size: 1rem;
  45. }
  46. }
  47. @media screen and (max-width: 1250px){
  48. #header{
  49. font-size: 1rem;
  50. }
  51. }
  52. @media screen and (max-width:1024px) {
  53. #header{
  54. font-size: 1rem;
  55. }
  56. }
  57. @media screen and (max-width:750px) {
  58. #header{
  59. height: 60px;
  60. background-color: #eaedfc;
  61. .wrap{
  62. padding:0 10px;
  63. width: 100%;
  64. .left-part{
  65. font-size: 22px;
  66. }
  67. .menu{
  68. display: none;
  69. }
  70. .search-wrap{
  71. // width: 170px!important;
  72. // :deep(.el-input__wrapper){
  73. // border-radius: 20px;
  74. // }
  75. display: none;
  76. }
  77. .mini-menu{
  78. display: block!important;
  79. padding-right: 15px;
  80. }
  81. .user{
  82. display: none;
  83. }
  84. }
  85. }
  86. .header-hidden{
  87. height: 60px!important;
  88. }
  89. #main{
  90. .main-wrap{
  91. width: 100%;
  92. margin: 0;
  93. padding: 0;
  94. display: block;
  95. .left-list, .right-action{
  96. display: none;
  97. }
  98. .mob-page{
  99. display: block!important;
  100. }
  101. .cate-list{
  102. .cate-tag, .divide{
  103. display: none;
  104. }
  105. .drop-tag{
  106. display: block!important;
  107. }
  108. .hot-item{
  109. height: 120px;
  110. .game-logo{
  111. display: none;
  112. }
  113. flex-direction: row-reverse;
  114. justify-content: flex-end;
  115. --van-button-small-padding:15px;
  116. .game-poster{
  117. width: 133px;
  118. height: 75px;
  119. border-radius: var(--logo-radius);
  120. margin-right: 5px;
  121. }
  122. margin-bottom: 0;
  123. .down-btn{
  124. display: block!important;
  125. }
  126. .detail{
  127. width: 150px;
  128. }
  129. .game_tag{
  130. margin-right: 2px;
  131. font-size: 10px;
  132. }
  133. }
  134. }
  135. .bg{
  136. display: none;
  137. }
  138. .mob-login{
  139. display: flex!important;
  140. }
  141. .rest-list{
  142. display: none;
  143. }
  144. .mob-list{
  145. display: block!important;
  146. min-height: calc(100vh - 60px)
  147. }
  148. .settings{
  149. display: none;
  150. }
  151. .mob-setting{
  152. display: block!important;
  153. }
  154. .mine{
  155. .pcbt, .game-poster{
  156. display: none;
  157. }
  158. .right{
  159. display: flex!important;
  160. }
  161. }
  162. .search_cont{
  163. .search_key{
  164. display: block!important;
  165. }
  166. .pcbt, .game-poster{
  167. display: none;
  168. }
  169. .right{
  170. display: flex!important;
  171. }
  172. .hot-item{
  173. height: 96px;
  174. width: 100%;
  175. box-sizing: border-box;
  176. .game-logo{
  177. margin-right: 10px;
  178. }
  179. .detail{
  180. width: 170px;
  181. }
  182. }
  183. }
  184. }
  185. }
  186. }
  187. @media screen and (max-width:350px) {
  188. #header{
  189. height: 60px;
  190. box-sizing: border-box;
  191. overflow: hidden;
  192. .wrap{
  193. width: 100%;
  194. }
  195. }
  196. .header-hidden{
  197. height: 60px!important;
  198. }
  199. }