index.scss 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703
  1. @import '../theme.scss';
  2. .fl {
  3. float: left;
  4. }
  5. .fr {
  6. float: right;
  7. }
  8. em,
  9. i {
  10. font-style: normal;
  11. }
  12. ul,
  13. ol,
  14. li {
  15. list-style: none;
  16. }
  17. .clearfix {
  18. zoom: 1;
  19. display: block;
  20. &:after {
  21. content: ".";
  22. display: block;
  23. height: 0;
  24. clear: both;
  25. visibility: hidden;
  26. }
  27. }
  28. a:link,
  29. a:visited,
  30. a:active {
  31. text-decoration: none;
  32. color: #333333;
  33. }
  34. .sld_collect_index {
  35. float: left;
  36. width: 1007px;
  37. margin-left: 10px;
  38. //font-family: Microsoft YaHei;
  39. h3 {
  40. border-bottom: 1px solid #ddd;
  41. color: #000;
  42. font-size: 16px;
  43. font-weight: bold;
  44. line-height: 30px;
  45. overflow: hidden;
  46. padding: 5px 12px;
  47. background: #f9f9f9;
  48. margin-bottom: 20px;
  49. margin-top: 0px;
  50. }
  51. .user_info_top {
  52. overflow: hidden;
  53. .user_info_l {
  54. position: relative;
  55. // width: 340px;
  56. // height: 240px;
  57. width: 361px;
  58. height: 288px;
  59. text-align: center;
  60. background: url('/member/user_avatar_bg.png') no-repeat;
  61. background-size: 100% 100%;
  62. .user_avatar {
  63. display: inline-block;
  64. width: 80px;
  65. height: 80px;
  66. border-radius: 50%;
  67. margin: 31px 0 14px;
  68. overflow: hidden;
  69. box-shadow: 0px 0px 0px 4px rgba(255, 255, 255, 0.389);
  70. }
  71. .user_avatar_r {
  72. width: 672px;
  73. text-align: center;
  74. font-size: 18px;
  75. width: 100%;
  76. color: #fff;
  77. em {
  78. display: inline-block;
  79. line-height: 20px;
  80. padding: 0 4px;
  81. margin-right: 5px;
  82. background-color: #b6b08a;
  83. }
  84. b {
  85. display: block;
  86. }
  87. .grade {
  88. margin-top: 15px;
  89. }
  90. }
  91. .user_addr {
  92. display: block;
  93. position: absolute;
  94. bottom: 90px;
  95. transform: translateX(-50%);
  96. left: 50%;
  97. // width: 100%;
  98. width: 160px;
  99. border: 1px solid #ffffff;
  100. border-radius: 40px;
  101. // height: 49px;
  102. height: 40px;
  103. line-height: 40px;
  104. padding: 0 15px;
  105. // color: #f4ca3a;
  106. color: #fff;
  107. font-size: 15px;
  108. a {
  109. text-decoration: none;
  110. }
  111. i {
  112. font-size: 15px;
  113. }
  114. }
  115. .user_member {
  116. margin: auto;
  117. width: 339px;
  118. height: 52px;
  119. background-color: #000;
  120. position: absolute;
  121. bottom: 15px;
  122. left: 11px;
  123. display: flex;
  124. align-items: center;
  125. justify-content: space-between;
  126. padding: 0 15px;
  127. p {
  128. font-size: 14px;
  129. //font-family: Source Han Sans CN;
  130. font-weight: 400;
  131. color: #fcd6b0;
  132. }
  133. button {
  134. width: 89px;
  135. height: 32px;
  136. outline: none;
  137. background: linear-gradient(-90deg, #fdcb9a, #fbe7cf);
  138. border-radius: 32px;
  139. font-size: 14px;
  140. //font-family: Source Han Sans CN;
  141. font-weight: 400;
  142. color: #0d1e34;
  143. border: 0;
  144. }
  145. }
  146. .user_member_one {
  147. margin: auto;
  148. width: 339px;
  149. height: 52px;
  150. background: url(/member/member_bg.png) no-repeat;
  151. background-size: 100% 100%;
  152. position: absolute;
  153. bottom: 15px;
  154. left: 11px;
  155. display: flex;
  156. justify-content: space-between;
  157. padding: 10px 15px;
  158. img {
  159. width: 22px;
  160. height: 18px;
  161. }
  162. .user_member_box {
  163. display: flex;
  164. flex: 1;
  165. flex-direction: column;
  166. text-align: left;
  167. margin-left: 7px;
  168. justify-content: space-between;
  169. .user_member_tit {
  170. font-size: 14px;
  171. //font-family: Source Han Sans CN;
  172. font-weight: 500;
  173. color: #f8d4ac;
  174. }
  175. .user_member_time {
  176. font-size: 12px;
  177. //font-family: Source Han Sans CN;
  178. font-weight: 400;
  179. color: #ac9073;
  180. }
  181. }
  182. button {
  183. width: 89px;
  184. height: 32px;
  185. outline: none;
  186. border: 0;
  187. background: linear-gradient(-90deg, #fdcb9a, #fbe7cf);
  188. border-radius: 32px;
  189. font-size: 14px;
  190. //font-family: Source Han Sans CN;
  191. font-weight: 400;
  192. color: #0d1e34;
  193. }
  194. }
  195. .user_member_two {
  196. margin: auto;
  197. width: 339px;
  198. height: 52px;
  199. background: url(/member/expire.png) no-repeat;
  200. background-size: 100% 100%;
  201. position: absolute;
  202. bottom: 15px;
  203. left: 11px;
  204. display: flex;
  205. justify-content: space-between;
  206. align-items: center;
  207. padding: 0px 10px;
  208. img {
  209. width: 49px;
  210. height: 43px;
  211. }
  212. p {
  213. flex: 1;
  214. font-size: 14px;
  215. //font-family: Source Han Sans CN;
  216. font-weight: 400;
  217. color: #5c5e6d;
  218. text-align: left;
  219. }
  220. button {
  221. width: 89px;
  222. height: 32px;
  223. outline: none;
  224. border: 0;
  225. background: linear-gradient(-90deg, #fdcb9a, #fbe7cf);
  226. border-radius: 32px;
  227. font-size: 14px;
  228. //font-family: Source Han Sans CN;
  229. font-weight: 400;
  230. color: #0d1e34;
  231. }
  232. }
  233. }
  234. .info_rcol {
  235. width: 656px;
  236. float: left;
  237. h4 {
  238. font-style: normal;
  239. font-weight: normal;
  240. margin-bottom: 0px;
  241. }
  242. .user_title {
  243. line-height: 39px;
  244. padding-left: 17px;
  245. font-size: 16px;
  246. color: #333333;
  247. border-bottom: 1px solid #eee;
  248. display: flex;
  249. align-items: center;
  250. .title_img {
  251. width: 22px;
  252. height: 25px;
  253. margin-right: 11px;
  254. }
  255. i {
  256. margin-right: 5px;
  257. font-size: 20px;
  258. }
  259. }
  260. .acco_info {
  261. width: 100%;
  262. li em,
  263. .sld_link_red {
  264. display: inline-block;
  265. color: #333;
  266. font-size: 25px;
  267. font-weight: 600;
  268. // margin: 30px 0;
  269. margin-bottom: 15px;
  270. margin-top: 34px;
  271. &:hover {
  272. color: $colorMain;
  273. }
  274. }
  275. li {
  276. em,
  277. span {
  278. font-size: 25px;
  279. font-weight: 600;
  280. }
  281. &.acco_item {
  282. float: left;
  283. width: 25%;
  284. text-align: center;
  285. }
  286. &:first-child em {
  287. font-size: 18px;
  288. white-space: nowrap;
  289. }
  290. p {
  291. font-size: 14px;
  292. color: #666666;
  293. margin-bottom: 56px;
  294. }
  295. .sld_link {
  296. // color: #1890ff;
  297. color: #654c4c;
  298. font-size: 14px;
  299. cursor: pointer;
  300. }
  301. }
  302. }
  303. }
  304. .infoCon {
  305. background-color: #fff;
  306. padding: 10px;
  307. display: flex;
  308. align-items: center;
  309. .avatar{
  310. flex: 0 0 100px;
  311. img{
  312. width: 65px;
  313. }
  314. }
  315. .info{
  316. font-size: 17px;
  317. }
  318. }
  319. }
  320. .user_order {
  321. margin-top: 10px;
  322. background-color: #f7f7f7;
  323. .my_order {
  324. float: left;
  325. width: 638px;
  326. height: 690px;
  327. background-color: #fff;
  328. overflow: hidden;
  329. .order_list_title {
  330. left: 20px;
  331. padding-left: 30px;
  332. font-size: 9px;
  333. color: #333333;
  334. }
  335. .user-order-item {
  336. height: 123px;
  337. border-top: 1px solid #ebebeb;
  338. padding: 20px 10px 20px 28px;
  339. .img {
  340. width: 80px;
  341. height: 80px;
  342. margin-right: 14px;
  343. }
  344. p {
  345. &:first-child {
  346. padding-top: 1px;
  347. }
  348. &:nth-child(3) {
  349. transform-origin: left;
  350. transform: scale(0.9);
  351. -ms-transform-origin: left;
  352. -ms-transform: scale(0.9);
  353. -webkit-transform-origin: left;
  354. -webkit-transform: scale(0.9);
  355. -moz-transform-origin: left;
  356. -moz-transform: scale(0.9);
  357. -o-transform-origin: left;
  358. -o-transform: scale(0.9);
  359. color: #999999;
  360. }
  361. max-width: 240px;
  362. color: #444;
  363. line-height: 16px;
  364. padding: 7px 0;
  365. overflow: hidden;
  366. text-overflow: ellipsis;
  367. white-space: nowrap;
  368. &.price {
  369. color: $colorMain2;
  370. padding: 0;
  371. }
  372. }
  373. .orderState,
  374. .orderSn {
  375. color: #999999;
  376. }
  377. .orderState {
  378. padding-top: 0;
  379. padding-bottom: 9px;
  380. }
  381. & > .fr {
  382. margin-right: 5px;
  383. text-align: right;
  384. .line {
  385. display: inline-block;
  386. width: 1px;
  387. height: 13px;
  388. background-color: #cfc9c9;
  389. margin: 0 10px;
  390. vertical-align: middle;
  391. }
  392. a {
  393. color: #333;
  394. &:hover {
  395. color: $colorMain;
  396. }
  397. }
  398. }
  399. }
  400. .order_state_nav {
  401. height: 145px;
  402. li {
  403. float: left;
  404. width: 20%;
  405. text-align: center;
  406. padding: 16px 0;
  407. .tag {
  408. position: absolute;
  409. background-color: $colorMain2;
  410. color: #fff;
  411. padding: 2px 6px 2px;
  412. top: 5px;
  413. right: 5px;
  414. border-radius: 20px;
  415. font-size: 12px;
  416. text-align: center;
  417. }
  418. em {
  419. position: absolute;
  420. top: 10px;
  421. right: 10px;
  422. width: 16px;
  423. height: 16px;
  424. background-color: $colorMain2;
  425. border-radius: 50%;
  426. text-align: center;
  427. line-height: 16px;
  428. color: #fff;
  429. }
  430. &:hover a {
  431. box-shadow: 0 0 8px rgba(0, 0, 0, 0.2);
  432. color: #333333;
  433. }
  434. &:hover a i {
  435. color: $colorMain2;
  436. }
  437. &:hover span {
  438. box-shadow: 0 0 0 1px $colorMain2;
  439. }
  440. a {
  441. position: relative;
  442. display: block;
  443. width: 80px;
  444. height: 106px;
  445. text-align: center;
  446. margin: 0 auto;
  447. }
  448. i {
  449. position: relative;
  450. display: block;
  451. font-size: 40px;
  452. line-height: 70px;
  453. color: #666;
  454. }
  455. p {
  456. margin-top: 7px;
  457. }
  458. span {
  459. display: inline-block;
  460. width: 46px;
  461. height: 46px;
  462. border-radius: 50%;
  463. margin-top: 12px;
  464. background-color: #ebebeb;
  465. margin-bottom: 12px;
  466. i {
  467. font-size: 18px;
  468. line-height: 46px;
  469. }
  470. }
  471. }
  472. }
  473. }
  474. .my_follow {
  475. .my_follow_item {
  476. background-color: #fff;
  477. margin-bottom: 14px;
  478. &.cartItem{
  479. .list_item:hover{
  480. border: none;
  481. }
  482. ul{
  483. height: 100%;
  484. overflow: inherit;
  485. li{
  486. width: 100%;
  487. /* justify-content: flex-start; */
  488. display: block;
  489. margin: 0;
  490. height: auto;
  491. font-size: 14px;
  492. margin-bottom: 5px;
  493. p{
  494. line-height: 1;
  495. margin-bottom: 8px;
  496. b{
  497. margin-right: 5px;
  498. }
  499. .devider{
  500. border-left: 2px solid #bcbcbc;
  501. margin: 0 15px;
  502. }
  503. span{
  504. margin-right: 10px;
  505. }
  506. }
  507. }
  508. }
  509. }
  510. .follow_item {
  511. float: left;
  512. width: 50%;
  513. height: 182px;
  514. padding-top: 50px;
  515. text-align: center;
  516. .follow_num {
  517. font-size: 28px;
  518. color: #333333;
  519. line-height: 1;
  520. padding-bottom: 22px;
  521. &:hover {
  522. color: $colorMain;
  523. }
  524. }
  525. p {
  526. color: #666;
  527. font-size: 14px;
  528. i {
  529. vertical-align: bottom;
  530. margin-right: 4px;
  531. }
  532. }
  533. }
  534. }
  535. .goods,
  536. .store,
  537. .cartItem,
  538. .footprint {
  539. h4 a {
  540. float: right;
  541. color: #999;
  542. padding-right: 17px;
  543. line-height: 39px;
  544. font-size: 14px;
  545. cursor: pointer;
  546. &:hover {
  547. color: $colorMain2;
  548. }
  549. }
  550. ul {
  551. padding: 20px;
  552. overflow: hidden;
  553. white-space: nowrap;
  554. height: 110px;
  555. li:nth-child(n + 13) {
  556. display: none;
  557. }
  558. }
  559. }
  560. .list_item {
  561. float: left;
  562. width: 66px;
  563. height: 70px;
  564. margin-right: 10px;
  565. display: flex;
  566. align-items: center;
  567. justify-content: center;
  568. overflow: hidden;
  569. cursor: pointer;
  570. &:last-child {
  571. margin-right: 0;
  572. }
  573. img {
  574. width: 100%;
  575. /*height: 100%;*/
  576. vertical-align: bottom;
  577. }
  578. &:hover {
  579. border: 1px solid $colorMain;
  580. }
  581. }
  582. }
  583. }
  584. .user_hot_goods {
  585. margin-top: 10px;
  586. background-color: #fff;
  587. h3 {
  588. padding-top: 11px;
  589. padding-left: 24px;
  590. line-height: 39px;
  591. color: #333;
  592. font-size: 16px;
  593. background-color: #fff;
  594. margin-bottom: 0;
  595. border-bottom: 1px solid #ebebeb;
  596. }
  597. ul {
  598. padding: 21px 30px 18px 18px;
  599. }
  600. li {
  601. float: left;
  602. width: 25%;
  603. padding: 10px;
  604. text-align: center;
  605. cursor: pointer;
  606. .img {
  607. width: 150px;
  608. height: 150px;
  609. margin: 4px auto;
  610. img {
  611. width: 150px;
  612. height: 150px;
  613. }
  614. }
  615. &:hover {
  616. box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
  617. }
  618. }
  619. .hot_goods_name {
  620. width: 100%;
  621. line-height: 18px;
  622. height: 36px;
  623. color: #444;
  624. word-break: break-all;
  625. text-overflow: ellipsis;
  626. display: -webkit-box;
  627. -webkit-box-orient: vertical;
  628. -webkit-line-clamp: 2;
  629. overflow: hidden;
  630. }
  631. .hot_goods_price {
  632. color: $colorMain;
  633. font-size: 14px;
  634. margin-top: 4px;
  635. em {
  636. font-size: 15px;
  637. }
  638. }
  639. }
  640. }
  641. .wd {
  642. width: 967px;
  643. padding: 10px 0 0 10px;
  644. box-sizing: border-box;
  645. margin-left: 0;
  646. }
  647. .sld_img_center {
  648. position: relative;
  649. width: 80px;
  650. height: 80px;
  651. overflow: hidden;
  652. img {
  653. position: absolute;
  654. top: 50%;
  655. left: 50%;
  656. // max-width: 100%;
  657. // max-height: 100%;
  658. width: 100%;
  659. height: 100%;
  660. -webkit-transform: translate(-50%, -50%);
  661. -moz-transform: translate(-50%, -50%);
  662. -ms-transform: translate(-50%, -50%);
  663. -o-transform: translate(-50%, -50%);
  664. transform: translate(-50%, -50%);
  665. }
  666. }
  667. .user_title {
  668. line-height: 39px;
  669. padding-left: 17px;
  670. font-size: 16px;
  671. color: #333333;
  672. border-bottom: 1px solid #ebebeb;
  673. i {
  674. margin-right: 5px;
  675. font-size: 20px;
  676. }
  677. }
  678. h4 {
  679. font-size: 1em;
  680. font-style: normal;
  681. font-weight: normal;
  682. margin-bottom: 0px;
  683. margin-top: 0px;
  684. }