collect.scss 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654
  1. @import "../theme.scss";
  2. .fl {
  3. float: left;
  4. }
  5. .fr {
  6. float: right;
  7. }
  8. a:link,
  9. a:visited,
  10. a:active {
  11. text-decoration: none;
  12. }
  13. em,
  14. i {
  15. font-style: normal;
  16. }
  17. .clearfix {
  18. zoom: 1;
  19. display: block;
  20. &:before {
  21. display: table;
  22. content: " ";
  23. }
  24. &:after {
  25. content: ".";
  26. display: block;
  27. height: 0;
  28. clear: both;
  29. visibility: hidden;
  30. }
  31. }
  32. .sld_img_center {
  33. position: relative;
  34. width: 80px;
  35. height: 80px;
  36. overflow: hidden;
  37. img {
  38. position: absolute;
  39. top: 50%;
  40. left: 50%;
  41. max-width: 100%;
  42. max-height: 100%;
  43. -webkit-transform: translate(-50%, -50%);
  44. -moz-transform: translate(-50%, -50%);
  45. -ms-transform: translate(-50%, -50%);
  46. -o-transform: translate(-50%, -50%);
  47. transform: translate(-50%, -50%);
  48. }
  49. }
  50. .sld_collect_wrapper {
  51. display: flex;
  52. flex-direction: column;
  53. flex: 1;
  54. width: 100%;
  55. .wrapper_main {
  56. flex: 1;
  57. height: 100%;
  58. overflow: hidden;
  59. width: 100%;
  60. padding-left: 10px;
  61. //font-family: "微软雅黑";
  62. .sld_follow_m {
  63. height: 100%;
  64. }
  65. .sld_h3_wrap {
  66. border: 1px solid #eeeeee;
  67. background: #ffffff;
  68. .sld_option {
  69. display: flex;
  70. justify-content: center;
  71. align-items: center;
  72. height: 52px;
  73. // width: 380px;
  74. .sld_option_list {
  75. display: flex;
  76. justify-content: center;
  77. align-items: center;
  78. // margin-top: 18px;
  79. transition: all 0.5s;
  80. margin-left: 15px;
  81. font-weight: bold;
  82. font-size: $fontE;
  83. color: #282E30;
  84. &:hover {
  85. color: $colorMain;
  86. }
  87. img {
  88. vertical-align: top;
  89. float: left;
  90. margin-top: -3px;
  91. margin-right: 3px;
  92. }
  93. cursor: pointer;
  94. }
  95. .sld_option_btn {
  96. padding: 5px 20px 5px;
  97. margin-left: 20px;
  98. font-weight: 400;
  99. font-size: $fontE;
  100. color: #282E30;
  101. // margin-top: 13px;
  102. // margin-right: 10px;
  103. //font-family: "Microsoft YaHei";
  104. border: 1px solid #e7e7e7;
  105. border-radius: 5px;
  106. transition: all 0.2s;
  107. width: 160px;
  108. height: 44px;
  109. background: #DDE1E6;
  110. cursor: pointer;
  111. &:hover {
  112. background-color: $colorMain;
  113. color: #fff;
  114. }
  115. }
  116. }
  117. .sld_grade_nav {
  118. height: 50px;
  119. line-height: 50px;
  120. margin-left: -1px;
  121. a {
  122. display: inline-block;
  123. width: 178px;
  124. text-align: center;
  125. font-weight: bold;
  126. font-size: $fontE;
  127. color: #282E30;
  128. cursor: pointer;
  129. border-right: 1px solid #eeeeee;
  130. &:hover {
  131. color: $colorMain;
  132. }
  133. }
  134. a.on {
  135. color: #fff;
  136. background-color: $colorMain;
  137. font-weight: 600;
  138. }
  139. }
  140. }
  141. .fav_goods_list {
  142. height: 100%;
  143. overflow: hidden;
  144. width: 100%;
  145. &>ul {
  146. height: 100%;
  147. overflow: auto;
  148. margin-top: 5px;
  149. }
  150. .sld_follow_goods:hover {
  151. box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  152. }
  153. .sld_follow_goods {
  154. position: relative;
  155. float: left;
  156. width: 24%;
  157. height: 358px;
  158. background-color: #fff;
  159. margin: 0.5%;
  160. border: 1px solid #eeeeee;
  161. padding: 13px;
  162. box-sizing: border-box;
  163. &:nth-of-type(4n) {
  164. margin-right: 0;
  165. }
  166. .check_wrap {
  167. position: absolute;
  168. right: 0;
  169. top: 0;
  170. width: 100%;
  171. height: 358px;
  172. // background: rgba(0, 0, 0, 0.1);
  173. .border {
  174. display: block;
  175. position: absolute;
  176. right: 0px;
  177. top: 0px;
  178. width: 100%;
  179. height: 360px;
  180. z-index: 0;
  181. cursor: pointer;
  182. .checklogo {
  183. position: absolute;
  184. top: 0px;
  185. right: 0px;
  186. width: 31px;
  187. height: 31px;
  188. visibility: visible;
  189. // background-image: url(/member/choose.png);
  190. }
  191. }
  192. input[type="checkbox"] {
  193. visibility: hidden;
  194. position: absolute;
  195. top: 0px;
  196. right: 0px;
  197. width: 31px;
  198. height: 31px;
  199. z-index: 1;
  200. }
  201. input[type="checkbox"]:checked~.border {
  202. border: 2px solid $colorMain;
  203. .checklogo {
  204. position: absolute;
  205. top: -2px;
  206. right: -2px;
  207. width: 31px;
  208. height: 31px;
  209. // background-image: url(/member/chosen.png);
  210. }
  211. }
  212. }
  213. .cg_name {
  214. font-size: 12px;
  215. line-height: 16px;
  216. word-break: break-all;
  217. text-overflow: ellipsis;
  218. display: -webkit-box;
  219. -webkit-box-orient: vertical;
  220. -webkit-line-clamp: 2;
  221. overflow: hidden;
  222. color: #333333;
  223. em {
  224. display: inline-block;
  225. padding: 1px 4px;
  226. border: 1px solid $colorMain;
  227. color: $colorMain;
  228. font-size: 12px;
  229. -webkit-border-radius: 2px;
  230. -moz-border-radius: 2px;
  231. border-radius: 2px;
  232. }
  233. }
  234. .cg_img {
  235. position: relative;
  236. width: 100%;
  237. height: 214px;
  238. /* 遮罩层 */
  239. .mask {
  240. position: absolute;
  241. top: 0;
  242. left: 0;
  243. width: 100%;
  244. height: 100%;
  245. background-color: rgba(153, 153, 153, 0.6);
  246. /* 灰色透明遮罩 */
  247. display: flex;
  248. justify-content: center;
  249. align-items: center;
  250. z-index: 1;
  251. }
  252. /* 白色圆圈 */
  253. .circle {
  254. background-color: white;
  255. width: 129px;
  256. height: 56px;
  257. opacity: 0.65;
  258. font-weight: bold;
  259. font-size: 12px;
  260. color: $colorMain;
  261. // border-radius: 50%;
  262. display: flex;
  263. justify-content: center;
  264. align-items: center;
  265. text-align: center;
  266. }
  267. .lazy {
  268. width: 100%;
  269. height: 214px;
  270. background-size: cover;
  271. }
  272. }
  273. .cg_btns {
  274. position: absolute;
  275. bottom: -1px;
  276. left: 0px;
  277. width: 100%;
  278. height: 42px;
  279. background: #DDE1E6;
  280. &:hover {
  281. background-color: $colorMain;
  282. }
  283. a {
  284. float: left;
  285. display: inline-block;
  286. width: 100%;
  287. height: 42px;
  288. text-align: center;
  289. font-weight: 400;
  290. font-size: $fontE;
  291. color: #282E30;
  292. line-height: 42px;
  293. box-sizing: border-box;
  294. text-transform: uppercase;
  295. }
  296. a:hover {
  297. color: #fff;
  298. }
  299. // a:nth-child(1) {
  300. // border-top: 1px solid #eeeeee;
  301. // &:nth-child(1):hover {
  302. // color: '#FFF';
  303. // cursor: pointer;
  304. // }
  305. // }
  306. // a:nth-child(2) {
  307. // border: 1px solid #eee;
  308. // }
  309. // a:nth-child(2):hover {
  310. // color: $colorMain;
  311. // cursor: pointer;
  312. // }
  313. }
  314. .cg_price {
  315. margin: 10px 0 6px;
  316. .fl {
  317. color: $colorMain;
  318. font-size: 14px;
  319. .fl strong {
  320. font-size: 18px;
  321. }
  322. }
  323. .fr {
  324. font-size: 12px;
  325. color: #999;
  326. line-height: 20px;
  327. em {
  328. color: $colorMain;
  329. margin-left: 2px;
  330. }
  331. }
  332. }
  333. }
  334. }
  335. .fav_store_list {
  336. margin-bottom: 100px;
  337. overflow: hidden;
  338. width: 100%;
  339. .fav_store_type {
  340. height: 50px;
  341. background: #fff;
  342. span {
  343. margin-right: 2px;
  344. display: inline-block;
  345. line-height: 50px;
  346. width: 118px;
  347. text-align: center;
  348. font-weight: 600;
  349. font-size: 10px;
  350. cursor: pointer;
  351. }
  352. .on {
  353. color: $colorMain;
  354. border-bottom: 3px solid $colorMain;
  355. }
  356. }
  357. .sld_vendor_item {
  358. width: 100%;
  359. height: 320px;
  360. margin-top: 10px;
  361. background-color: #fff;
  362. border: 1px solid #eeeeee;
  363. .sld_vendor {
  364. display: flex;
  365. flex-direction: column;
  366. justify-content: center;
  367. align-items: center;
  368. position: relative;
  369. width: 25%;
  370. height: 100%;
  371. // padding: 46px 60px 0 60px;
  372. box-sizing: border-box;
  373. border-right: 1px solid #eee;
  374. &:hover .sld_vendor_top {
  375. opacity: 1;
  376. z-index: 2;
  377. cursor: pointer;
  378. }
  379. .sld_rate {
  380. margin-top: 8px;
  381. text-align: center;
  382. }
  383. .sld_vendor_bottom {
  384. position: absolute;
  385. bottom: 0;
  386. left: 0;
  387. text-align: center;
  388. width: 100%;
  389. border-top: 1px solid #eee;
  390. a {
  391. width: 100%;
  392. height: 46px;
  393. text-align: center;
  394. line-height: 46px;
  395. color: #444444;
  396. font-size: 14px;
  397. i {
  398. font-size: 14px;
  399. color: $colorMain;
  400. margin-right: 6px;
  401. }
  402. }
  403. }
  404. .sld_vendor_top {
  405. position: absolute;
  406. top: 0;
  407. left: 0;
  408. width: 100%;
  409. height: 32px;
  410. color: #000;
  411. opacity: 0;
  412. z-index: -1;
  413. transition: all 0.3s;
  414. button {
  415. //width: 49.5%;
  416. width: 100%;
  417. height: 32px;
  418. background-color: #cccccc;
  419. border: none;
  420. cursor: pointer;
  421. }
  422. }
  423. .sld_rate {
  424. margin-top: 8px;
  425. text-align: center;
  426. i {
  427. float: left;
  428. margin: 0 1px;
  429. color: $colorMain;
  430. }
  431. }
  432. .sld_vendor_logo {
  433. width: 114px;
  434. height: 114px;
  435. }
  436. .sld_vendor_name {
  437. text-align: center;
  438. color: #444444;
  439. font-size: 13px;
  440. margin-top: 10px;
  441. }
  442. }
  443. .main_lbbox {
  444. display: flex;
  445. flex-direction: column;
  446. height: 100%;
  447. position: relative;
  448. width: 75%;
  449. // height: 298px;
  450. overflow: hidden;
  451. .sld_vendor_collect {
  452. height: 70px;
  453. padding: 15px 0 20px 15px;
  454. box-sizing: border-box;
  455. a {
  456. float: left;
  457. display: inline-block;
  458. width: 200px;
  459. height: 34px;
  460. line-height: 34px;
  461. text-align: center;
  462. border: 1px solid #eeeeee;
  463. background-color: #fff;
  464. color: #444444;
  465. font-size: 14px;
  466. &:last-child {
  467. border-left: none;
  468. }
  469. }
  470. .sld_follow_on {
  471. background-color: $colorMain;
  472. color: #fff;
  473. }
  474. }
  475. .sld_vendor_goods {
  476. flex: 1;
  477. height: 100%;
  478. position: relative;
  479. padding: 0 48px;
  480. overflow: hidden;
  481. .goods_price {
  482. font-size: $fontE;
  483. color: $colorMain;
  484. margin-top: 3px;
  485. font-weight: 600;
  486. }
  487. .goods_name {
  488. width: 140px;
  489. margin-top: 15px;
  490. color: #444444;
  491. font-size: 14px;
  492. overflow: hidden;
  493. text-overflow: ellipsis;
  494. white-space: nowrap;
  495. }
  496. li {
  497. width: 140px;
  498. float: left;
  499. margin-right: 20px;
  500. .sld_img {
  501. width: 140px;
  502. height: 150px;
  503. }
  504. }
  505. .hd {
  506. i {
  507. font-size: 20px;
  508. }
  509. .next,
  510. .prev {
  511. position: absolute;
  512. top: 45px;
  513. width: 32px;
  514. height: 70px;
  515. font-size: $fontE;
  516. color: #fff;
  517. background-color: #8d8b8b;
  518. text-align: center;
  519. line-height: 70px;
  520. }
  521. .next {
  522. right: 0;
  523. }
  524. .prev {
  525. left: 0;
  526. background-color: #ccc;
  527. -webkit-transform: rotate(180deg);
  528. -moz-transform: rotate(180deg);
  529. -ms-transform: rotate(180deg);
  530. -o-transform: rotate(180deg);
  531. transform: rotate(180deg);
  532. }
  533. }
  534. .slide_wrap {
  535. width: 100%;
  536. // height: 213px;
  537. overflow: hidden;
  538. .bd {
  539. display: flex;
  540. transition: all 0.3s;
  541. li {
  542. float: left;
  543. }
  544. }
  545. }
  546. }
  547. }
  548. }
  549. }
  550. }
  551. }
  552. .el-pager li.active {
  553. color: $colorMain;
  554. cursor: default;
  555. }
  556. .el-pager li:hover {
  557. color: $colorMain;
  558. }
  559. .el-button--primary {
  560. color: #fff;
  561. background-color: $colorMain;
  562. border-color: $colorMain;
  563. }