collect.scss 17 KB

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