index.scss 22 KB

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