global.scss 8.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328
  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 (min-width: 1100px) {
  43. #header{
  44. height: 3rem;
  45. .wrap{
  46. width: 55rem;
  47. .mini-menu{
  48. display: none!important;
  49. }
  50. }
  51. }
  52. #main{
  53. background-color: #f7f7f7;
  54. .main-wrap{
  55. width: 55rem;
  56. margin: 0 auto;
  57. margin-top: .5rem;
  58. overflow: hidden;
  59. display: flex;
  60. justify-content: space-between;
  61. box-sizing: border-box;
  62. .cate-list{
  63. .hot-item{
  64. .game_tag{
  65. margin-right: 0.5rem;
  66. font-size: .6rem;
  67. }
  68. }
  69. }
  70. }
  71. }
  72. }
  73. @media screen and (max-width: 1100px){
  74. #header{
  75. height: 3rem;
  76. .wrap{
  77. width: 39rem;
  78. .menu{
  79. padding: 0!important;
  80. }
  81. .mini-menu{
  82. display: none!important;
  83. }
  84. .el-dropdown-link{
  85. width: 5rem!important;
  86. }
  87. }
  88. }
  89. #main{
  90. background-color: #f7f7f7;
  91. .main-wrap{
  92. width: 39rem;
  93. margin: 0 auto;
  94. margin-top: .5rem;
  95. overflow: hidden;
  96. display: flex;
  97. justify-content: space-between;
  98. box-sizing: border-box;
  99. .left-list{
  100. width: 24rem!important;
  101. .hot-item{
  102. height: 5rem!important;
  103. .game-poster{
  104. width: 9rem!important;
  105. }
  106. .detail{
  107. margin-left: 1rem!important;
  108. max-width: 100%;
  109. width: 13rem!important;
  110. }
  111. .action{
  112. height: 5rem!important;
  113. }
  114. }
  115. }
  116. .right-action{
  117. width: 14rem!important;
  118. .action-item{
  119. padding: .4rem!important;
  120. .detail{
  121. width: 8rem!important;
  122. .desc{
  123. max-width: 100%!important;
  124. }
  125. }
  126. }
  127. }
  128. .cate-list{
  129. .cate-tag{
  130. .tags{
  131. margin: .4rem!important;
  132. }
  133. .tag-kinds{
  134. margin-top:.4rem!important ;
  135. }
  136. }
  137. .hot-item{
  138. .game_tag{
  139. margin-right: 0.5rem;
  140. font-size: .6rem;
  141. }
  142. .detail{
  143. max-width: 100%;
  144. width: ;
  145. }
  146. }
  147. }
  148. }
  149. }
  150. }
  151. @media screen and (max-width:992px) {
  152. #header{
  153. height: 3rem;
  154. .wrap{
  155. width: 39rem;
  156. .mini-menu{
  157. display: none!important;
  158. }
  159. }
  160. }
  161. #main{
  162. background-color: #f7f7f7;
  163. .main-wrap{
  164. width: 39rem;
  165. margin: 0 auto;
  166. margin-top: .5rem;
  167. overflow: hidden;
  168. display: flex;
  169. justify-content: space-between;
  170. box-sizing: border-box;
  171. .cate-list{
  172. .hot-item{
  173. .game_tag{
  174. margin-right: 0.5rem;
  175. font-size: .6rem;
  176. }
  177. }
  178. }
  179. }
  180. }
  181. }
  182. @media screen and (max-width:768px) {
  183. #header{
  184. height: 60px;
  185. background-color: #eaedfc;
  186. .wrap{
  187. padding:0 10px;
  188. width: 100%;
  189. .left-part{
  190. font-size: 22px;
  191. }
  192. .menu{
  193. display: none;
  194. }
  195. .search-wrap{
  196. // width: 170px!important;
  197. // :deep(.el-input__wrapper){
  198. // border-radius: 20px;
  199. // }
  200. display: none;
  201. }
  202. .mini-menu{
  203. display: block!important;
  204. padding-right: 15px;
  205. }
  206. .user{
  207. display: none;
  208. }
  209. }
  210. }
  211. .header-hidden{
  212. height: 60px!important;
  213. }
  214. #main{
  215. .main-wrap{
  216. width: 100%;
  217. margin: 0;
  218. padding: 0;
  219. display: block;
  220. .left-list, .right-action{
  221. display: none;
  222. }
  223. .mob-page{
  224. display: block!important;
  225. }
  226. .cate-list{
  227. .cate-tag, .divide{
  228. display: none;
  229. }
  230. .drop-tag{
  231. display: block!important;
  232. }
  233. .hot-item{
  234. height: 120px;
  235. .game-logo{
  236. display: none;
  237. }
  238. flex-direction: row-reverse;
  239. justify-content: flex-end;
  240. --van-button-small-padding:15px;
  241. .game-poster{
  242. width: 133px;
  243. height: 75px;
  244. border-radius: var(--logo-radius);
  245. margin-right: 5px;
  246. }
  247. margin-bottom: 0;
  248. .down-btn{
  249. display: block!important;
  250. }
  251. .detail{
  252. width: 150px;
  253. }
  254. .game_tag{
  255. margin-right: 2px;
  256. font-size: 10px;
  257. }
  258. }
  259. }
  260. .bg{
  261. display: none;
  262. }
  263. .mob-login{
  264. display: flex!important;
  265. }
  266. .rest-list{
  267. display: none;
  268. }
  269. .mob-list{
  270. display: block!important;
  271. min-height: calc(100vh - 60px)
  272. }
  273. .settings{
  274. display: none;
  275. }
  276. .mob-setting{
  277. display: block!important;
  278. }
  279. .mine{
  280. .pcbt, .game-poster{
  281. display: none;
  282. }
  283. .right{
  284. display: flex!important;
  285. }
  286. }
  287. .search_cont{
  288. .search_key{
  289. display: block!important;
  290. }
  291. .pcbt, .game-poster{
  292. display: none;
  293. }
  294. .right{
  295. display: flex!important;
  296. }
  297. .hot-item{
  298. height: 96px;
  299. width: 100%;
  300. box-sizing: border-box;
  301. .game-logo{
  302. margin-right: 10px;
  303. }
  304. .detail{
  305. width: 170px;
  306. }
  307. }
  308. }
  309. }
  310. }
  311. }
  312. @media screen and (max-width:350px) {
  313. }