collect.scss 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607
  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. 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. position: relative;
  210. width: 100%;
  211. height: 214px;
  212. /* 遮罩层 */
  213. .mask {
  214. position: absolute;
  215. top: 0;
  216. left: 0;
  217. width: 100%;
  218. height: 100%;
  219. background-color: rgba(153, 153, 153, 0.6);
  220. /* 灰色透明遮罩 */
  221. display: flex;
  222. justify-content: center;
  223. align-items: center;
  224. z-index: 1;
  225. }
  226. /* 白色圆圈 */
  227. .circle {
  228. background-color: white;
  229. width: 100px;
  230. height: 100px;
  231. border-radius: 50%;
  232. display: flex;
  233. justify-content: center;
  234. align-items: center;
  235. font-size: 15px;
  236. color: black;
  237. text-align: center;
  238. }
  239. .lazy {
  240. width: 100%;
  241. height: 214px;
  242. background-size: cover;
  243. }
  244. }
  245. .cg_btns {
  246. position: absolute;
  247. bottom: -1px;
  248. left: -1px;
  249. width: 240px;
  250. height: 42px;
  251. a {
  252. float: left;
  253. display: inline-block;
  254. width: 100%;
  255. height: 42px;
  256. text-align: center;
  257. color: #666666;
  258. font-size: 12px;
  259. line-height: 42px;
  260. box-sizing: border-box;
  261. text-transform: uppercase;
  262. }
  263. a:nth-child(1) {
  264. border-top: 1px solid #eeeeee;
  265. &:nth-child(1):hover {
  266. color: $colorMain;
  267. cursor: pointer;
  268. }
  269. }
  270. a:nth-child(2) {
  271. border: 1px solid #eee;
  272. }
  273. a:nth-child(2):hover {
  274. color: $colorMain;
  275. cursor: pointer;
  276. }
  277. }
  278. .cg_price {
  279. margin: 10px 0 6px;
  280. .fl {
  281. color: $colorMain;
  282. font-size: 14px;
  283. .fl strong {
  284. font-size: 18px;
  285. }
  286. }
  287. .fr {
  288. font-size: 12px;
  289. color: #999;
  290. line-height: 20px;
  291. em {
  292. color: $colorMain2;
  293. margin-left: 2px;
  294. }
  295. }
  296. }
  297. }
  298. }
  299. .fav_store_list {
  300. margin-bottom: 100px;
  301. overflow: hidden;
  302. width: 100%;
  303. .fav_store_type {
  304. height: 50px;
  305. background: #fff;
  306. span {
  307. margin-right: 2px;
  308. display: inline-block;
  309. line-height: 50px;
  310. width: 118px;
  311. text-align: center;
  312. font-weight: 600;
  313. font-size: 10px;
  314. cursor: pointer;
  315. }
  316. .on {
  317. color: $colorMain2;
  318. border-bottom: 3px solid $colorMain2;
  319. }
  320. }
  321. .sld_vendor_item {
  322. width: 100%;
  323. height: 300px;
  324. margin-top: 10px;
  325. background-color: #fff;
  326. border: 1px solid #eeeeee;
  327. .sld_vendor {
  328. position: relative;
  329. width: 25%;
  330. height: 298px;
  331. padding: 46px 60px 0 60px;
  332. box-sizing: border-box;
  333. border-right: 1px solid #eee;
  334. &:hover .sld_vendor_top {
  335. opacity: 1;
  336. z-index: 2;
  337. cursor: pointer;
  338. }
  339. .sld_rate {
  340. margin-top: 8px;
  341. text-align: center;
  342. }
  343. .sld_vendor_bottom {
  344. position: absolute;
  345. bottom: 0;
  346. left: 0;
  347. text-align: center;
  348. width: 100%;
  349. border-top: 1px solid #eee;
  350. a {
  351. width: 100%;
  352. height: 46px;
  353. text-align: center;
  354. line-height: 46px;
  355. color: #444444;
  356. font-size: 14px;
  357. i {
  358. font-size: 14px;
  359. color: $colorMain2;
  360. margin-right: 6px;
  361. }
  362. }
  363. }
  364. .sld_vendor_top {
  365. position: absolute;
  366. top: 0;
  367. left: 0;
  368. width: 100%;
  369. height: 32px;
  370. color: #000;
  371. opacity: 0;
  372. z-index: -1;
  373. transition: all 0.3s;
  374. button {
  375. //width: 49.5%;
  376. width: 100%;
  377. height: 32px;
  378. background-color: #cccccc;
  379. border: none;
  380. cursor: pointer;
  381. }
  382. }
  383. .sld_rate {
  384. margin-top: 8px;
  385. text-align: center;
  386. i {
  387. float: left;
  388. margin: 0 1px;
  389. color: $colorMain;
  390. }
  391. }
  392. .sld_vendor_logo {
  393. width: 114px;
  394. height: 114px;
  395. }
  396. .sld_vendor_name {
  397. text-align: center;
  398. color: #444444;
  399. font-size: 13px;
  400. margin-top: 10px;
  401. }
  402. }
  403. .main_lbbox {
  404. position: relative;
  405. width: 75%;
  406. height: 298px;
  407. overflow: hidden;
  408. .sld_vendor_collect {
  409. height: 70px;
  410. padding: 15px 0 20px 15px;
  411. box-sizing: border-box;
  412. a {
  413. float: left;
  414. display: inline-block;
  415. width: 200px;
  416. height: 34px;
  417. line-height: 34px;
  418. text-align: center;
  419. border: 1px solid #eeeeee;
  420. background-color: #fff;
  421. color: #444444;
  422. font-size: 14px;
  423. &:last-child {
  424. border-left: none;
  425. }
  426. }
  427. .sld_follow_on {
  428. background-color: $colorMain2;
  429. color: #fff;
  430. }
  431. }
  432. .sld_vendor_goods {
  433. position: relative;
  434. padding: 0 48px;
  435. overflow: hidden;
  436. .goods_price {
  437. font-size: 16px;
  438. color: $colorMain2;
  439. margin-top: 3px;
  440. font-weight: 600;
  441. }
  442. .goods_name {
  443. width: 140px;
  444. margin-top: 15px;
  445. color: #444444;
  446. font-size: 14px;
  447. overflow: hidden;
  448. text-overflow: ellipsis;
  449. white-space: nowrap;
  450. }
  451. li {
  452. width: 140px;
  453. float: left;
  454. margin-right: 20px;
  455. .sld_img {
  456. width: 140px;
  457. height: 150px;
  458. }
  459. }
  460. .hd {
  461. i {
  462. font-size: 20px;
  463. }
  464. .next,
  465. .prev {
  466. position: absolute;
  467. top: 45px;
  468. width: 32px;
  469. height: 70px;
  470. font-size: 16px;
  471. color: #fff;
  472. background-color: #8d8b8b;
  473. text-align: center;
  474. line-height: 70px;
  475. }
  476. .next {
  477. right: 0;
  478. }
  479. .prev {
  480. left: 0;
  481. background-color: #ccc;
  482. -webkit-transform: rotate(180deg);
  483. -moz-transform: rotate(180deg);
  484. -ms-transform: rotate(180deg);
  485. -o-transform: rotate(180deg);
  486. transform: rotate(180deg);
  487. }
  488. }
  489. .slide_wrap {
  490. width: 100%;
  491. height: 213px;
  492. overflow: hidden;
  493. .bd {
  494. display: flex;
  495. transition: all 0.3s;
  496. li {
  497. float: left;
  498. }
  499. }
  500. }
  501. }
  502. }
  503. }
  504. }
  505. }
  506. }
  507. .el-pager li.active {
  508. color: $colorMain;
  509. cursor: default;
  510. }
  511. .el-pager li:hover {
  512. color: $colorMain;
  513. }
  514. .el-button--primary {
  515. color: #fff;
  516. background-color: $colorMain;
  517. border-color: $colorMain;
  518. }