user-center.css 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737
  1. /* 个人中心 */
  2. .user-center .flex-box {
  3. display: flex;
  4. margin-top: 30px;
  5. /* min-height: 496px; */
  6. }
  7. .user-center .foot {
  8. margin-top: 30px;
  9. }
  10. .to-balance {
  11. cursor: pointer;
  12. }
  13. .user-center .flex-box .side-nav-zh {
  14. width: 120px;
  15. }
  16. .user-center .flex-box .side-nav-en {
  17. width: 160px;
  18. }
  19. .user-center .flex-box .side-nav .item {
  20. padding-bottom: 15px;
  21. }
  22. .user-center .flex-box .side-nav .item .tit {
  23. height: 28px;
  24. line-height: 28px;
  25. color: #333;
  26. font-weight: 700;
  27. }
  28. .user-center .flex-box .side-nav .item .item-a {
  29. display: block;
  30. height: 24px;
  31. line-height: 24px;
  32. color: #999;
  33. }
  34. .user-center .flex-box .side-nav .item .item-a .number {
  35. color: #e1251b;
  36. font-family: arial;
  37. margin-left: 2px;
  38. }
  39. .user-center .flex-box .side-nav .item .item-a:hover {
  40. color: #e1251b;
  41. }
  42. .user-center .flex-box .side-nav .item .item-a.active {
  43. color: #e1251b;
  44. font-weight: 600;
  45. }
  46. .user-center .flex-box .con-box {
  47. flex: 1;
  48. padding-left: 6px;
  49. }
  50. .user-center .flex-box .con-box.apply-list .goods-info .sku {
  51. display: inline-block;
  52. margin-top: 5px;
  53. color: #999;
  54. }
  55. /* 订单列表 */
  56. .user-center .order-list .order-table {
  57. margin-bottom: 20px;
  58. }
  59. .user-center .order-list .order-table .box {
  60. border: 1px solid #eee;
  61. width: 100%;
  62. }
  63. .user-center .order-list .order-table .box td {
  64. padding: 15px 0;
  65. border-top: 1px solid #eee;
  66. text-align: center;
  67. }
  68. .user-center .order-list .order-table .box .bl {
  69. border-left: 1px solid #eee;
  70. }
  71. .user-center .order-list .order-table .box .box-tit th {
  72. height: 32px;
  73. line-height: 32px;
  74. text-align: center;
  75. background: #f9f9f9;
  76. font-weight: 400;
  77. border: 1px solid #f9f9f9;
  78. }
  79. .user-center .order-list .order-table .box .box-space td {
  80. border-left: 1px solid #fff;
  81. border-right: 1px solid #fff;
  82. padding: 0;
  83. height: 14px;
  84. }
  85. .user-center .order-list .order-table .box .pl {
  86. padding-left: 50px;
  87. text-align: left !important;
  88. }
  89. .user-center .order-list .order-table .box .pr {
  90. padding-right: 20px;
  91. }
  92. .user-center .order-list .order-table .box .box-hd {
  93. background: #f9f9f9;
  94. }
  95. .user-center .order-list .order-table .box .box-hd td {
  96. background: #f9f9f9;
  97. height: 32px;
  98. padding: 0 15px;
  99. line-height: 18px;
  100. }
  101. .user-center .order-list .order-table .box .box-hd .time {
  102. float: left;
  103. margin-right: 40px;
  104. font-family: arial;
  105. color: #999;
  106. }
  107. .user-center .order-list .order-table .box .box-hd .order-number {
  108. color: #999;
  109. float: left;
  110. text-align: left;
  111. }
  112. .user-center .order-list .order-table .box .box-hd .order-number .num {
  113. font-family: arial;
  114. color: #000;
  115. vertical-align: top;
  116. display: inline-block;
  117. }
  118. .user-center .order-list .order-table .box .box-hd .shop {
  119. display: block;
  120. float: left;
  121. margin-left: 40px;
  122. cursor: pointer;
  123. }
  124. .user-center .order-list .order-table .box .box-hd .shop .shop-icon {
  125. width: 14px;
  126. height: 14px;
  127. vertical-align: top;
  128. display: inline-block;
  129. margin-top: 2px;
  130. margin-right: 5px;
  131. background: url(../images/icons.png) no-repeat -28px -458px;
  132. }
  133. .user-center .order-list .order-table .box .box-hd .shop:hover .shop-icon {
  134. background-position: -9px -458px;
  135. }
  136. .user-center .order-list .order-table .box .box-hd .shop:hover {
  137. color: #e1251b;
  138. }
  139. .user-center .order-list .order-table .box .box-hd .del {
  140. float: right;
  141. width: 14px;
  142. height: 14px;
  143. margin-top: 3px;
  144. background: url(../images/icons.png) no-repeat 0 -415px;
  145. cursor: pointer;
  146. }
  147. .user-center .order-list .order-table .box .box-hd .del:hover {
  148. background-position: -19px -415px;
  149. }
  150. .user-center .order-list .order-table .box .box-tr .goods-info {
  151. text-align: left;
  152. display: flex;
  153. padding-left: 15px;
  154. }
  155. .user-center .order-list .order-table .box .box-tr .goods-info .img {
  156. width: 70px;
  157. height: 70px;
  158. font-size: 0;
  159. }
  160. .user-center .order-list .order-table .box .box-tr .goods-info .img img {
  161. width: 100%;
  162. height: 100%;
  163. cursor: pointer;
  164. }
  165. .user-center .order-list .order-table .box .box-tr .goods-info .name-sku {
  166. display: flex;
  167. flex-direction: column;
  168. justify-content: space-between;
  169. flex: 1;
  170. margin: 0 15px;
  171. }
  172. .user-center .order-list .order-table .box .box-tr .goods-info .name-sku .name {
  173. max-height: 36px;
  174. line-height: 18px;
  175. display: -webkit-box;
  176. -webkit-box-orient: vertical;
  177. -webkit-line-clamp: 2;
  178. overflow: hidden;
  179. text-overflow: ellipsis;
  180. }
  181. .user-center .order-list .order-table .box .box-tr .goods-info .name-sku .sku {
  182. display: flex;
  183. color: #999;
  184. justify-content: space-between;
  185. }
  186. .user-center .order-list .order-table .box .box-tr .goods-info .name-sku .name:hover {
  187. color: #e1251b;
  188. cursor: pointer;
  189. }
  190. .user-center .order-list .order-table .box .box-tr .goods-info .name-sku .sku-info-con {
  191. display: flex;
  192. align-items: center;
  193. }
  194. .user-center .order-list .order-table .box .box-tr .goods-info .name-sku .sku-info-con .order-sgin {
  195. display: inline-block;
  196. padding: 3px 6px;
  197. background-color: #e1251b;
  198. color: #fff;
  199. margin-top: 6px;
  200. font-size: 12px;
  201. border-radius: 2px;
  202. }
  203. .user-center .order-list .order-table .box .box-tr .goods-info .name-sku .sku-info-con .order-sgin.prod-sgin {
  204. margin-top: 0;
  205. padding: 1px 3px;
  206. border: 1px solid #e1251b;
  207. color: #e1251b;
  208. background: #fff;
  209. }
  210. .user-center .order-list .order-table .box .box-tr .goods-info .name-sku .sku-info-con .sku {
  211. max-width: 60%;
  212. margin-right: 10px;
  213. color: #999;
  214. display: -webkit-box;
  215. -webkit-box-orient: vertical;
  216. -webkit-line-clamp: 1;
  217. overflow: hidden;
  218. text-overflow: ellipsis;
  219. }
  220. /* .user-center .order-list .order-table .box .box-tr .goods-return {
  221. float: left;
  222. line-height: 18px;
  223. color: #999;
  224. text-align: right;
  225. width: 60px;
  226. padding-right: 20px;
  227. }
  228. .user-center .order-list .order-table .box .box-tr .goods-return:hover {
  229. color: #e1251b;
  230. } */
  231. .user-center .order-list .order-table .box .box-tr .goods-number,
  232. .user-center .order-list .order-table .box .box-tr .amount,
  233. .user-center .order-list .order-table .box .box-tr .status,
  234. .user-center .order-list .order-table .box .box-tr .action {
  235. line-height: 20px;
  236. color: #999;
  237. }
  238. .user-center .order-list .order-table .box .box-tr .amount .price {
  239. display: block;
  240. color: #000;
  241. }
  242. .user-center .order-list .order-table .box .box-tr .status .no-finish {
  243. color: #e1251b;
  244. }
  245. .user-center .order-list .order-table .box .box-tr .status .order-detail {
  246. color: #000;
  247. }
  248. .user-center .order-list .order-table .box .box-tr .status .order-detail:hover {
  249. color: #e1251b;
  250. }
  251. .user-center .order-list .order-table .box .box-tr .action .action-btn {
  252. display: block;
  253. background: #fff;
  254. border-radius: 2px;
  255. width: 96px;
  256. /* height: 18px; */
  257. line-height: 18px;
  258. padding: 2px 0;
  259. margin: 3px auto;
  260. text-align: center;
  261. }
  262. .user-center .order-list .order-table .box .box-tr .action .action-btn.default {
  263. background: #f9f9f9;
  264. border: 1px solid #eee;
  265. color: #000;
  266. }
  267. .user-center
  268. .order-list
  269. .order-table
  270. .box
  271. .box-tr
  272. .action
  273. .action-btn.default:hover {
  274. background: #fff;
  275. color: #e1251b;
  276. border: 1px solid #e1251b;
  277. }
  278. .user-center .order-list .order-table .box .box-tr .action .action-btn.active {
  279. color: #e1251b;
  280. border: 1px solid #e1251b;
  281. }
  282. .user-center
  283. .order-list
  284. .order-table
  285. .box
  286. .box-tr
  287. .action
  288. .action-btn.active:hover {
  289. background: #e1251b;
  290. color: #fff;
  291. }
  292. .user-center .order-list .order-table .box .box-tr .action .action-a {
  293. color: #000;
  294. }
  295. .user-center .order-list .order-table .box .box-tr .action .action-a:hover {
  296. color: #e1251b;
  297. }
  298. /* 订单列表 end */
  299. /* 导航 */
  300. .user-center .uc-nav {
  301. border-bottom: 1px solid #eee;
  302. margin: 15px 0;
  303. display: flex;
  304. }
  305. .user-center .uc-nav .nav-box {
  306. position: relative;
  307. bottom: -1px;
  308. flex: 1;
  309. display: flex;
  310. }
  311. .user-center .uc-nav .nav-box .nav-item {
  312. position: relative;
  313. border-bottom: 1px solid #eee;
  314. cursor: pointer;
  315. }
  316. .user-center .uc-nav .nav-box .nav-item.active {
  317. color: #e1251b;
  318. border-bottom: 1px solid #e1251b;
  319. }
  320. .user-center .uc-nav .nav-box .nav-item:hover {
  321. color: #e1251b;
  322. }
  323. .user-center .uc-nav .nav-box .nav-item .text {
  324. display: inline-block;
  325. line-height: 1;
  326. padding: 0 20px 12px;
  327. font-size: 14px;
  328. -webkit-transition: all 0.2s ease;
  329. -moz-transition: all 0.2s ease;
  330. -o-transition: all 0.2s ease;
  331. transition: all 0.2s ease;
  332. }
  333. .user-center .uc-nav .nav-box .nav-item .line {
  334. background-color: #eee;
  335. width: 1px;
  336. height: 14px;
  337. font-size: 0;
  338. position: absolute;
  339. top: 2px;
  340. right: 0;
  341. }
  342. .user-center .uc-nav .nav-box .nav-item:last-child .line {
  343. width: 0;
  344. }
  345. .user-center .uc-nav .nav-box .nav-item .number {
  346. color: #e1251b;
  347. margin-left: 5px;
  348. font-family: arial;
  349. }
  350. /* 导航 end */
  351. /* 搜索 */
  352. .user-center .uc-serach {
  353. margin-bottom: 15px;
  354. display: flex;
  355. }
  356. .user-center .uc-serach .left {
  357. flex: 1;
  358. display: flex;
  359. }
  360. .user-center .uc-serach .left .select-item {
  361. position: relative;
  362. height: 28px;
  363. z-index: 10;
  364. margin-right: 10px;
  365. }
  366. .user-center .uc-serach .left .select-item .tit {
  367. cursor: pointer;
  368. display: block;
  369. width: 106px;
  370. border: 1px solid #eee;
  371. padding: 0px 28px 0 12px;
  372. line-height: 26px;
  373. color: #777;
  374. position: relative;
  375. -webkit-transition: all 0.2s ease;
  376. -moz-transition: all 0.2s ease;
  377. -o-transition: all 0.2s ease;
  378. transition: all 0.2s ease;
  379. }
  380. .user-center .uc-serach .left .select-item:hover .tit {
  381. color: #e1251b;
  382. }
  383. .user-center .uc-serach .left .select-item .tit::after {
  384. position: absolute;
  385. right: 10px;
  386. top: 11px;
  387. width: 0;
  388. height: 0;
  389. content: ' ';
  390. border: 5px solid transparent;
  391. border-top: 5px solid #bcbcbc;
  392. border-radius: 2px;
  393. }
  394. .user-center .uc-serach .left .select-item:hover .tit::after {
  395. border-top: 5px solid #e1251b;
  396. }
  397. .user-center .uc-serach .left .select-item .select {
  398. position: relative;
  399. top: -1px;
  400. left: 0;
  401. border-width: 0 1px 1px;
  402. border-style: solid;
  403. border-color: #eee;
  404. background-color: #fff;
  405. line-height: 28px;
  406. font-size: 12px;
  407. color: #999;
  408. text-align: center;
  409. box-shadow: 0 5px 5px rgba(0, 0, 0, 0.1);
  410. display: none;
  411. }
  412. .user-center .uc-serach .left .select-item:hover .select {
  413. display: block;
  414. }
  415. .user-center .uc-serach .left .select-item .select .s-item {
  416. display: block;
  417. padding: 2px 15px;
  418. cursor: pointer;
  419. -webkit-transition: all 0.2s ease;
  420. -moz-transition: all 0.2s ease;
  421. -o-transition: all 0.2s ease;
  422. transition: all 0.2s ease;
  423. text-align: left;
  424. }
  425. .user-center .uc-serach .left .select-item .select .s-item:hover {
  426. color: #e1251b;
  427. background: #f9f9f9;
  428. }
  429. .user-center .uc-serach .left .action-btn {
  430. height: 28px;
  431. display: flex;
  432. }
  433. .user-center .uc-serach .left .action-btn .batch {
  434. padding: 0 12px;
  435. color: #777;
  436. border: 1px solid #eee;
  437. height: 26px;
  438. line-height: 26px;
  439. margin-right: 10px;
  440. }
  441. .user-center .uc-serach .left .action-btn .batch:hover {
  442. color: #e1251b;
  443. border-color: #e1251b;
  444. }
  445. .user-center .uc-serach .left .action-btn .batch-box {
  446. display: none;
  447. vertical-align: top;
  448. line-height: 28px;
  449. color: #777;
  450. }
  451. .user-center .uc-serach .left .action-btn.active .batch-box {
  452. display: flex;
  453. align-items: center;
  454. }
  455. .user-center .uc-serach .left .action-btn .batch-box .check {
  456. margin-right: 10px;
  457. cursor: pointer;
  458. }
  459. .user-center .uc-serach .left .action-btn .batch-box .check .checkbox {
  460. margin-top: 7px;
  461. }
  462. .user-center .uc-serach .left .action-btn .batch-box .check .checkbox::before {
  463. border-color: #aaa;
  464. }
  465. .user-center
  466. .uc-serach
  467. .left
  468. .action-btn
  469. .batch-box
  470. .check:hover
  471. .checkbox.default::before {
  472. border-color: #e1251b;
  473. }
  474. .user-center .uc-serach .left .action-btn .batch-box .check .text {
  475. margin-left: 3px;
  476. -moz-transition: all 0.2s;
  477. -webkit-transition: all 0.2s;
  478. -o-transition: all 0.2s;
  479. transition: all 0.2s;
  480. }
  481. .user-center .uc-serach .left .action-btn .batch-box .check:hover .text {
  482. color: #e1251b;
  483. }
  484. .user-center .uc-serach .left .action-btn .batch-box .cancel-collection {
  485. cursor: pointer;
  486. }
  487. .user-center .uc-serach .left .action-btn .batch-box .cancel-collection .icon {
  488. display: inline-block;
  489. vertical-align: top;
  490. width: 14px;
  491. height: 14px;
  492. margin-top: 7px;
  493. background: url(../images/icons.png) no-repeat 0 -415px;
  494. }
  495. .user-center
  496. .uc-serach
  497. .left
  498. .action-btn
  499. .batch-box
  500. .cancel-collection:hover
  501. .icon {
  502. background-position: -19px -415px;
  503. }
  504. .user-center .uc-serach .left .action-btn .batch-box .cancel-collection .text {
  505. margin-left: 3px;
  506. -moz-transition: all 0.2s;
  507. -webkit-transition: all 0.2s;
  508. -o-transition: all 0.2s;
  509. transition: all 0.2s;
  510. }
  511. .user-center
  512. .uc-serach
  513. .left
  514. .action-btn
  515. .batch-box
  516. .cancel-collection:hover
  517. .text {
  518. color: #e1251b;
  519. }
  520. .user-center .uc-serach .right {
  521. display: flex;
  522. align-items: center;
  523. }
  524. .user-center .uc-serach .right .input {
  525. width: 222px;
  526. border: 1px solid #eee;
  527. height: 26px;
  528. line-height: 26px;
  529. font-size: 12px;
  530. padding: 0 5px;
  531. }
  532. .user-center .uc-serach .right .search {
  533. padding: 0 10px;
  534. height: 28px;
  535. line-height: 28px;
  536. color: #fff;
  537. background-color: #e1251b;
  538. display: inline-block;
  539. vertical-align: top;
  540. margin: 0 10px;
  541. }
  542. .user-center .uc-serach .right .search:hover {
  543. opacity: 0.8;
  544. }
  545. .user-center .uc-serach .right .search-value {
  546. position: relative;
  547. height: 28px;
  548. z-index: 10;
  549. margin-right: 10px;
  550. }
  551. .user-center .uc-serach .right .search-value .ordernum {
  552. cursor: pointer;
  553. display: block;
  554. width: 100px;
  555. border: 1px solid #eee;
  556. padding: 0px 17px 0 12px;
  557. line-height: 26px;
  558. color: #777;
  559. position: relative;
  560. -webkit-transition: all 0.2s ease;
  561. -moz-transition: all 0.2s ease;
  562. -o-transition: all 0.2s ease;
  563. transition: all 0.2s ease;
  564. }
  565. .user-center .uc-serach .right .search-value:hover .ordernum {
  566. color: #e1251b;
  567. }
  568. .user-center .uc-serach .right .search-value .ordernum::after {
  569. position: absolute;
  570. right: 10px;
  571. top: 11px;
  572. width: 0;
  573. height: 0;
  574. content: ' ';
  575. border: 5px solid transparent;
  576. border-top: 5px solid #bcbcbc;
  577. border-radius: 2px;
  578. }
  579. .user-center .uc-serach .right .search-value:hover .ordernum::after {
  580. border-top: 5px solid #e1251b;
  581. }
  582. .user-center .uc-serach .right .search-value .options {
  583. position: relative;
  584. top: -1px;
  585. left: 0;
  586. border-width: 0 1px 1px;
  587. border-style: solid;
  588. border-color: #eee;
  589. background-color: #fff;
  590. line-height: 28px;
  591. font-size: 12px;
  592. color: #999;
  593. text-align: center;
  594. box-shadow: 0 5px 5px rgba(0, 0, 0, 0.1);
  595. }
  596. .user-center .uc-serach .right .search-value .options .options-item {
  597. display: block;
  598. padding: 2px 15px;
  599. cursor: pointer;
  600. -webkit-transition: all 0.2s ease;
  601. -moz-transition: all 0.2s ease;
  602. -o-transition: all 0.2s ease;
  603. transition: all 0.2s ease;
  604. text-align: left;
  605. }
  606. .user-center .uc-serach .right .search-value .options .options-item:hover {
  607. color: #e1251b;
  608. background: #f9f9f9;
  609. }
  610. /* 搜索 end */
  611. .message-chat {
  612. position: relative;
  613. }
  614. /* 客服信息小红点 */
  615. .message-radio {
  616. border-radius: 50%;
  617. width: 5px;
  618. height: 5px;
  619. background-color: red;
  620. display: inline-block;
  621. position: absolute;
  622. top: 2px;
  623. left: 48px;
  624. }
  625. /* 个人中心 end */