index.scss 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533
  1. .management{
  2. width: 100%;
  3. height: 500px;
  4. position: relative;
  5. .management-center{
  6. width: 1920px;
  7. margin: 0 auto;
  8. .selection{
  9. width: 1200px;
  10. height: 500px;
  11. margin: 0 auto;
  12. nav{
  13. display: flex;
  14. justify-content: space-between;
  15. align-items: center;
  16. height: 64px;
  17. padding: 10px 0;
  18. .logo-class{
  19. display: flex;
  20. align-items: center;
  21. img{
  22. width: 150px;
  23. height: 46px;
  24. }
  25. ul{
  26. margin-left: 20px;
  27. display: flex;
  28. align-items: center;
  29. gap: 25px;
  30. li{
  31. padding: 12px;
  32. span{
  33. margin-left: 8px;
  34. }
  35. }
  36. .active{
  37. color: #EF530E;
  38. }
  39. }
  40. }
  41. .btn-list{
  42. display: flex;
  43. gap: 26px;
  44. button{
  45. display: flex;
  46. align-items: center;
  47. justify-content: center;
  48. gap: 10px;
  49. padding: 15px 5px;
  50. border-radius: 4px;
  51. font-size: 14px;
  52. font-weight: 500;
  53. background-color: transparent;
  54. &:first-of-type{
  55. width: 127px;
  56. background-color: #333333;
  57. color: #fff;
  58. cursor: pointer;
  59. }
  60. &:nth-of-type(2){
  61. width: 127px;
  62. background-color: #EF530E;
  63. color: #fff;
  64. }
  65. &:last-of-type{
  66. width: 84px;
  67. border: 1px solid #E5E5E5;
  68. }
  69. }
  70. }
  71. }
  72. .bg{
  73. width: 100%;
  74. height: 240px;
  75. background-color: #EF530E !important;
  76. position: absolute;
  77. left: 0;
  78. top: 64px;
  79. background: url("./image/bg.png") no-repeat center;
  80. background-size: cover;
  81. z-index: 0;
  82. .search{
  83. position: absolute;
  84. left: 50%;
  85. transform: translateX(-50%);
  86. top: 63px;
  87. display: flex;
  88. flex-direction: column;
  89. gap: 20px;
  90. h1{
  91. font-family: Source Han Sans;
  92. font-size: 40px;
  93. font-weight: bold;
  94. color: #fff;
  95. }
  96. .ipt{
  97. width: 560px;
  98. height: 48px;
  99. background-color: #fff;
  100. position: relative;
  101. span{
  102. position: absolute;
  103. left: 20px;
  104. top: 50%;
  105. transform: translateY(-50%);
  106. font-size: 25px;
  107. }
  108. input{
  109. width: calc(100% - 40px);
  110. height: 100%;
  111. position: absolute;
  112. left: 50px;
  113. }
  114. }
  115. .history{
  116. display: flex;
  117. align-items: center;
  118. color: #fff;
  119. ul{
  120. display: flex;
  121. align-items: center;
  122. gap: 10px;
  123. }
  124. }
  125. }
  126. }
  127. .screen{
  128. margin-top: 240px;
  129. padding: 40px;
  130. font-size: 14px;
  131. position: relative;
  132. .popular{
  133. width: 100%;
  134. border-bottom: 1px solid #E5E5E5;
  135. padding: 20px;
  136. display: flex;
  137. position: relative;
  138. .title{
  139. text-align: center;
  140. margin-right: 15px;
  141. height: 30px;
  142. display: flex;
  143. align-items: center;
  144. p{
  145. width: 100px;
  146. line-height: 30px;
  147. }
  148. span{
  149. width: 85px;
  150. height: 30px;
  151. text-align: center;
  152. line-height: 30px;
  153. border-radius: 50px;
  154. margin-right: 16px;
  155. }
  156. .active{
  157. color: #fff;
  158. background-color: #EF530E;
  159. }
  160. }
  161. .all{
  162. display: flex;
  163. ul{
  164. padding: 0 5px;
  165. display: flex;
  166. align-items: center;
  167. flex-wrap: wrap;
  168. gap: 10px;
  169. margin-right: 10px;
  170. color: #333333;
  171. li{
  172. height: 30px;
  173. line-height: 30px;
  174. padding: 0px 10px;
  175. border-radius: 20px;
  176. font-size: 16px;
  177. cursor: pointer;
  178. }
  179. .act{
  180. background-color: #EF530E;
  181. color: #fff;
  182. }
  183. }
  184. }
  185. .more{
  186. position: absolute;
  187. right: 20px;
  188. top: 30px;
  189. color: #EF530E;
  190. font-size: 14px;
  191. }
  192. }
  193. .brand{
  194. width: 100%;
  195. border-bottom: 1px solid #E5E5E5;
  196. padding: 20px;
  197. display: flex;
  198. position: relative;
  199. .title{
  200. text-align: center;
  201. height: 30px;
  202. display: flex;
  203. align-items: center;
  204. p{
  205. width: 100px;
  206. }
  207. }
  208. .all{
  209. .top{
  210. display: flex;
  211. span{
  212. width: 85px;
  213. height: 30px;
  214. text-align: center;
  215. line-height: 30px;
  216. border-radius: 50px;
  217. margin-right: 16px;
  218. }
  219. .allbrand{
  220. background-color: #EF530E;
  221. color: #fff;
  222. }
  223. ul{
  224. display: flex;
  225. align-items: center;
  226. gap: 3px;
  227. li{
  228. padding: 5px 10px;
  229. cursor: pointer;
  230. }
  231. .brandActive{
  232. background-color: #EF530E;
  233. color: #fff;
  234. }
  235. }
  236. }
  237. .bottom{
  238. ul{
  239. display: flex;
  240. flex-wrap: wrap;
  241. margin-top: 5px;
  242. li{
  243. margin-top: 10px;
  244. width: 85px;
  245. height: 30px;
  246. text-align: center;
  247. line-height: 30px;
  248. border-radius: 20px;
  249. &:first-of-type{
  250. color: #EF530E;
  251. border: 1px solid #EF530E;
  252. }
  253. }
  254. }
  255. }
  256. }
  257. .more{
  258. position: absolute;
  259. right: 20px;
  260. top: 30px;
  261. color: #EF530E;
  262. font-size: 14px;
  263. }
  264. }
  265. }
  266. main{
  267. .filter{
  268. display: flex;
  269. align-items: center;
  270. justify-content: space-between;
  271. padding: 0 20px;
  272. box-sizing: border-box;
  273. .left{
  274. display: flex;
  275. gap: 40px;
  276. color: #333333;
  277. ul{
  278. display: flex;
  279. gap: 40px;
  280. li{
  281. display: flex;
  282. align-items: center;
  283. position: relative;
  284. cursor: pointer;
  285. padding-bottom: 5px;
  286. &:hover .box{
  287. display: block;
  288. }
  289. &:hover p{
  290. color: #000000;
  291. }
  292. &:hover p span{
  293. background-color: #000;
  294. }
  295. p{
  296. margin-left: 7px;
  297. display: flex;
  298. flex-direction: column;
  299. color: #b8b6b6;
  300. span{
  301. background-color: #b8b6b6;
  302. height: 1px;
  303. width: 10px;
  304. margin-left: 2.5px;
  305. }
  306. }
  307. .box{
  308. width: 150px;
  309. padding: 10px 0;
  310. box-sizing: border-box;
  311. background-color: #ffffff;
  312. position: absolute;
  313. bottom: -120px;
  314. left: -50px;
  315. z-index: 9;
  316. display: none;
  317. p{
  318. width: 100%;
  319. height: 50px;
  320. text-align: center;
  321. line-height: 50px;
  322. margin-left: 0;
  323. font-size: 16px;
  324. &:hover{
  325. background-color: #EF530E;
  326. color: #fff;
  327. }
  328. }
  329. }
  330. }
  331. }
  332. }
  333. .right{
  334. button{
  335. padding: 10px 5px;
  336. background-color: #000;
  337. color: #fff;
  338. border-radius: 5px;
  339. }
  340. }
  341. }
  342. .card-list{
  343. display: flex;
  344. flex-wrap: wrap;
  345. gap: 24px;
  346. margin-top: 35px;
  347. .card{
  348. width: 215px;
  349. height: auto;
  350. border: 1px solid transparent;
  351. box-sizing: border-box;
  352. &:hover{
  353. border: 1px solid #EF530E;
  354. border-radius: 10px;
  355. }
  356. &:hover .img-box .btn-list{
  357. opacity: 1;
  358. }
  359. &:hover .price-bottom{
  360. visibility: visible;
  361. }
  362. &:hover .card-content{
  363. border-radius: 20px 20px 0 0 ;
  364. }
  365. .card-content{
  366. background-color: #fff;
  367. border-radius: 20px;
  368. }
  369. .img-box{
  370. width: 213px;
  371. height: 213px;
  372. margin: 0 auto;
  373. border-radius: 20px 20px 0 0;
  374. position: relative;
  375. img{
  376. width: 100%;
  377. display: block
  378. }
  379. .btn-list{
  380. width: 100%;
  381. position: absolute;
  382. left: 0;
  383. bottom: 0;
  384. display: flex;
  385. transition: all .5s ease;
  386. opacity: 0;
  387. button{
  388. height: 32px;
  389. width: 50%;
  390. background-color: #EF530E;
  391. color: #fff;
  392. border-radius: 0;
  393. cursor: pointer;
  394. }
  395. .danger{
  396. cursor: not-allowed;
  397. background-color: gray;
  398. }
  399. }
  400. }
  401. .text{
  402. width: 220px;
  403. height: 40px;
  404. padding: 0px 8px;
  405. overflow: hidden;
  406. text-overflow: ellipsis;
  407. display: -webkit-box;
  408. -webkit-line-clamp: 2;
  409. -webkit-box-orient: vertical;
  410. font-size: 16px;
  411. margin-top: 10px;
  412. }
  413. .price{
  414. width: 85%;
  415. margin: 0 auto;
  416. display: -webkit-box;
  417. display: flex;
  418. padding-top: 10px;
  419. border-top: 1px dashed #e9e9e9;
  420. padding-bottom: 10px;
  421. .price-box{
  422. width: 50%;
  423. display: flex;
  424. align-items: center;
  425. justify-content: center;
  426. flex-direction: column;
  427. font-weight: 700;
  428. text-align: center;
  429. gap: 5px;
  430. &:first-of-type{
  431. position: relative;
  432. &::after{
  433. content: "";
  434. width: 1px;
  435. height: 70%;
  436. background-color: #bdbdbd;
  437. position: absolute;
  438. right: 0;
  439. top: 50%;
  440. transform: translateY(-50%);
  441. }
  442. }
  443. p{
  444. &:first-of-type{
  445. color: #666666;
  446. }
  447. &:last-of-type{
  448. color: #EF530E;
  449. }
  450. }
  451. }
  452. }
  453. .price-bottom{
  454. padding: 10px 10px;
  455. visibility: hidden;
  456. background-color: #fff;
  457. border-radius:0 0 20px 20px;
  458. ul{
  459. display: flex;
  460. justify-content: space-between;
  461. li{
  462. display: flex;
  463. flex-direction: column;
  464. justify-content: center;
  465. align-items: center;
  466. gap: 10px;
  467. p{
  468. color: #999999;
  469. }
  470. span{
  471. color: #000;
  472. font-weight: 700;
  473. }
  474. }
  475. }
  476. }
  477. }
  478. .broadside{
  479. width: 100px;
  480. position: fixed;
  481. top: 50%;
  482. transform: translateY(-50%);
  483. right: 10%;
  484. transform: translateX(10%);
  485. background-color: #fff;
  486. .enterprise{
  487. background-color: #EF530E;
  488. height: 120px;
  489. display: flex;
  490. flex-direction: column;
  491. justify-content: center;
  492. align-items: center;
  493. gap: 5px;
  494. img{
  495. width: 80px;
  496. height: 80px;
  497. }
  498. p{
  499. color: #fff;
  500. }
  501. }
  502. ul{
  503. padding: 0 20px;
  504. box-sizing: border-box;
  505. li{
  506. display: flex;
  507. flex-direction: column;
  508. align-items: center;
  509. justify-content: center;
  510. color: #000000;
  511. padding: 15px 0px;
  512. border-top: 1px solid #E5E5E5;
  513. i{
  514. font-size: 32px;
  515. }
  516. &:last-of-type{
  517. color: #EF530E;
  518. }
  519. }
  520. }
  521. }
  522. }
  523. }
  524. footer{
  525. display: flex;
  526. align-items: center;
  527. justify-content: center;
  528. padding-bottom: 100px;
  529. padding-top: 50px;
  530. }
  531. }
  532. }
  533. }