uc-home.css 7.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350
  1. /* 个人中心首页 */
  2. /* 用户信息 */
  3. .user-center .home .my-info {
  4. padding: 30px;
  5. border: 1px solid #eee;
  6. display: flex;
  7. }
  8. .user-center .home .my-info .info-box {
  9. padding-right: 30px;
  10. border-right: 1px solid #eee;
  11. display: flex;
  12. align-items: center;
  13. }
  14. .user-center .home .my-info .info-box .portrait-box {
  15. position: relative;
  16. width: 75px;
  17. height: 75px;
  18. border-radius: 50%;
  19. cursor: pointer;
  20. box-shadow: 0 0 5px rgba(0,0,0,.05);
  21. overflow: hidden;
  22. background: #fff;
  23. }
  24. .user-center .home .my-info .info-box .portrait-box .portrait {
  25. width: 100%;
  26. height: 100%;
  27. line-height: 75px;
  28. text-align: center;
  29. font-size: 0;
  30. }
  31. .user-center .home .my-info .info-box .portrait-box .portrait img {
  32. max-width: 100%;
  33. vertical-align: middle;
  34. }
  35. .user-center .home .my-info .info-box .portrait-box .edit {
  36. position: absolute;
  37. bottom: 0;
  38. left: 0;
  39. width: 100%;
  40. height: 100%;
  41. background: rgba(0,0,0,0.5);
  42. color: #fff;
  43. text-align: center;
  44. line-height: 75px;
  45. display: none;
  46. }
  47. .user-center .home .my-info .info-box .portrait-box:hover .edit {
  48. display: block;
  49. }
  50. .user-center .home .my-info .info-box .name-box {
  51. margin-left: 20px;
  52. }
  53. .user-center .home .my-info .info-box .name-box .name {
  54. margin-bottom: 12px;
  55. display: flex;
  56. width: 150px;
  57. font-weight: 600;
  58. }
  59. .user-center .home .my-info .info-box .name-box .name .text{
  60. overflow: hidden;
  61. white-space: nowrap;
  62. text-overflow: ellipsis;
  63. max-width: 115px;
  64. font-size: 16px;
  65. }
  66. .user-center .home .my-info .info-box .name-box .name .vip{
  67. margin-left: 5px;
  68. width: 28px;
  69. }
  70. .user-center .home .my-info .info-box .name-box .name .vip img{
  71. width: 28px;
  72. height: 14px;
  73. vertical-align: middle ;
  74. }
  75. .user-center .home .my-info .info-box .name-box .level-box {
  76. display: flex;
  77. align-items: center;
  78. margin-top: 5px;
  79. line-height: 16px;
  80. }
  81. .user-center .home .my-info .info-box .name-box .level-box .text {
  82. color: #999;
  83. }
  84. .user-center .home .my-info .info-box .name-box .level {
  85. flex: 1;
  86. line-height: 16px;
  87. padding-left: 19px;
  88. position: relative;
  89. display: -webkit-box;
  90. -webkit-box-orient: vertical;
  91. -webkit-line-clamp: 1;
  92. overflow: hidden;
  93. text-overflow: ellipsis;
  94. }
  95. .user-center .home .my-info .info-box .name-box .level::before {
  96. position: absolute;
  97. left: 0;
  98. top: 0;
  99. display: block;
  100. width: 14px;
  101. height: 14px;
  102. content: " ";
  103. background: url(../images/icons.png) no-repeat;
  104. }
  105. .user-center .home .my-info .info-box .name-box .level.v1::before {
  106. background-position: 0 -614px;
  107. }
  108. .user-center .home .my-info .info-box .name-box .level.v2::before {
  109. background-position: -19px -614px;
  110. }
  111. .user-center .home .my-info .info-box .name-box .level.v3::before {
  112. background-position: -38px -614px;
  113. }
  114. .user-center .home .my-info .info-box .name-box .number {
  115. font-family: arial;
  116. }
  117. .user-center .home .my-info .order-tab {
  118. flex: 1;
  119. display: flex;
  120. margin-left: 30px;
  121. text-align: center;
  122. }
  123. .user-center .home .my-info .order-tab .item {
  124. flex: 1;
  125. cursor: pointer;
  126. }
  127. .user-center .home .my-info .order-tab .item .img {
  128. width: 50px;
  129. height: 50px;
  130. margin: auto;
  131. background: url(../images/icons.png) no-repeat;
  132. }
  133. .user-center .home .my-info .order-tab .item .img.unpaid {
  134. background-position: 0 -559px;
  135. }
  136. .user-center .home .my-info .order-tab .item .img.no-shipped {
  137. background-position: -55px -559px;
  138. }
  139. .user-center .home .my-info .order-tab .item .img.shipped {
  140. background-position: -110px -559px;
  141. }
  142. .user-center .home .my-info .order-tab .item .img.no-reviewed {
  143. background-position: -165px -559px;
  144. }
  145. .user-center .home .my-info .order-tab .item .text {
  146. margin-top: 5px;
  147. height: 20px;
  148. line-height: 20px;
  149. -moz-transition: all 0.2s;
  150. -webkit-transition: all 0.2s;
  151. -o-transition: all 0.2s;
  152. transition: all 0.2s;
  153. }
  154. .user-center .home .my-info .order-tab .item:hover .text {
  155. color: #e1251b;
  156. }
  157. .user-center .home .my-info .order-tab .item .text .number {
  158. font-weight: 700;
  159. font-family: verdana;
  160. margin-left: 5px;
  161. color: #e1251b;
  162. }
  163. /* 用户信息 end */
  164. .user-center .home .buy-member {
  165. height: 120px;
  166. background: url(../images/uc-adv.jpg) no-repeat;
  167. background-size: 100% 100%;
  168. margin-top: 20px;
  169. display: flex;
  170. align-items: center;
  171. cursor: pointer;
  172. }
  173. .user-center .home .buy-member .text {
  174. margin-left: 320px;
  175. color: #fff;
  176. }
  177. .user-center .home .buy-member .text .big {
  178. font-size: 24px;
  179. width: 460px;
  180. overflow-wrap: break-word;
  181. word-wrap: break-word;
  182. }
  183. .user-center .home .buy-member .text .small {
  184. margin-top: 10px;
  185. font-family: arial;
  186. }
  187. .user-center .home .buy-member .btn {
  188. margin-left: 28px;
  189. width: 120px;
  190. height: 36px;
  191. line-height: 36px;
  192. background-size: 100% 100%;
  193. font-size: 14px;
  194. color: #150f0b;
  195. text-align: center;
  196. letter-spacing: 1px;
  197. font-weight: 600;
  198. }
  199. .user-center .home .en .btn {
  200. margin-left: 0px;
  201. }
  202. .user-center .home .order-head {
  203. padding: 10px 15px;
  204. background: #f9f9f9;
  205. border: 1px solid #eee;
  206. display: flex;
  207. margin-top: 20px;
  208. }
  209. .user-center .home .order-head .text {
  210. flex: 1;
  211. font-weight: 600;
  212. }
  213. .user-center .home .order-head .all {
  214. color: #999;
  215. }
  216. .user-center .home .order-head .all:hover {
  217. color: #e1251b;
  218. }
  219. .user-center .home .order-list .order-table {
  220. border: 1px solid #eee;
  221. border-top: 0;
  222. }
  223. .user-center .home .order-list .order-table .box {
  224. border: 0;
  225. }
  226. .user-center .home .order-list .order-table .box td {
  227. border: 0;
  228. padding: 10px 0;
  229. border-top: 1px dotted #ddd;
  230. }
  231. .user-center .home .order-list .order-table .box tr:first-child td {
  232. border-top: 0;
  233. }
  234. .user-center .order-list .order-table .box .multi-good-info {
  235. display: block !important;
  236. max-width: 600px;
  237. white-space: nowrap;
  238. overflow-x: auto;
  239. }
  240. .user-center .order-list .order-table .box .multi-good-info.hide-scrollbar {
  241. -ms-overflow-style: none;
  242. }
  243. .user-center .order-list .order-table .box .multi-good-info.hide-scrollbar::-webkit-scrollbar {
  244. display: none;
  245. }
  246. .user-center .order-list .order-table .box .multi-good-info .img {
  247. margin-right: 10px;
  248. display: inline-block;
  249. }
  250. .user-center .order-list .order-table .box .goods-info .img {
  251. position: relative;
  252. width: 60px;
  253. height: 60px;
  254. }
  255. .user-center .order-list .order-table .box .goods-info .nums-con {
  256. position: absolute;
  257. left: 0;
  258. bottom: 0;
  259. background-color: rgba(0,0,0,.3);
  260. color: #fff;
  261. text-align: center;
  262. width: 100%;
  263. height: 20px;
  264. line-height: 20px;
  265. z-index: 999;
  266. font-size: 12px;
  267. }
  268. .user-center .home .guess-like .guess-like-tit {
  269. height: 37px;
  270. line-height: 37px;
  271. padding: 0 5px 0 15px;
  272. background: #f9f9f9;
  273. border: 1px solid #eee;
  274. }
  275. .user-center .home .guess-like .guess-like-tit .text {
  276. font-size: 12px;
  277. }
  278. .user-center .home .guess-like .guess-like-tit .swiper-controls {
  279. margin-right: 0;
  280. }
  281. .user-center .home .guess-like .list-con {
  282. padding: 21px;
  283. border: 1px solid #eee;
  284. border-top: 0;
  285. }
  286. .user-center .home .guess-like .list-con .item {
  287. width: 244px;
  288. }
  289. .user-center .home .guess-like .list-con .item .goods-img {
  290. width: 244px;
  291. height: 244px;
  292. line-height: 244px;
  293. }
  294. /* 个人中心首页 end */