collect.scss 17 KB

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