user.css 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602
  1. .user-page {
  2. display: flex;
  3. flex-direction: column;
  4. width: 100VW;
  5. padding-top: 6.66667VW;
  6. background-image: linear-gradient(rgba(255, 208, 221, 0.5), rgba(204, 201, 201, 0.5));
  7. }
  8. .user-page .user-page-login {
  9. z-index: 1;
  10. width: calc(100% - 5.33333vW);
  11. height: 13.3VW;
  12. padding: 0 2.6666VW;
  13. margin-bottom: 6.66666VW;
  14. }
  15. .user-page .user-page-login .user-info-show {
  16. display: flex;
  17. }
  18. .user-page .user-page-login .user-info-show .user-info-show-avatar {
  19. width: 13VW;
  20. height: 13VW;
  21. background-color: rgb(190, 218, 248);
  22. display: flex;
  23. justify-content: center;
  24. align-items: center;
  25. border-radius: 50%;
  26. margin-right: 2.333333vw;
  27. }
  28. .user-page .user-page-login .user-info-show .user-info-show-avatar img {
  29. border-radius: inherit;
  30. min-width: 50px;
  31. min-height: 50px;
  32. max-width: 50px;
  33. max-height: 50px;
  34. }
  35. .user-page .user-page-login .user-info-show .user-info-show-name .user-info-show-name-text {
  36. height: 5.6vw;
  37. font-weight: 700;
  38. font-size: 4.53333vw;
  39. color: rgb(26, 26, 26);
  40. line-height: 5.6vw;
  41. margin-bottom: 2.26667vw;
  42. }
  43. .user-page .user-page-login .user-info-show .user-info-show-name .user-info-show-name-button {
  44. font-size: 3.46667vw;
  45. font-weight: normal;
  46. line-height: 5.86667vw;
  47. height: 5.86667vw;
  48. letter-spacing: 0;
  49. font-feature-settings: "kern";
  50. color: rgb(118, 118, 118);
  51. }
  52. .user-page .user-page-handler {
  53. height: 100VH;
  54. background-color: white;
  55. border-radius: 4.26667VW 4.26667VW 0 0;
  56. }
  57. .user-page .user-page-handler .user-handler-info {
  58. display: flex;
  59. -webkit-box-align: center;
  60. align-items: center;
  61. width: 94.6667vw;
  62. height: 15.2vw;
  63. margin: 0px auto;
  64. position: relative;
  65. }
  66. .user-page .user-page-handler .user-handler-info .user-handler-info-item {
  67. width: 23.4667vw;
  68. height: 100%;
  69. display: flex;
  70. flex-direction: column;
  71. -webkit-box-pack: center;
  72. justify-content: center;
  73. -webkit-box-align: center;
  74. align-items: center;
  75. position: relative;
  76. }
  77. .user-handler-info .user-handler-info-item .user-handler-info-item-number {
  78. font-size: 4.8vw;
  79. font-weight: 500;
  80. line-height: 4.26667vw;
  81. text-align: center;
  82. letter-spacing: 0;
  83. color: rgb(26, 26, 26);
  84. }
  85. .user-handler-info .user-handler-info-item .user-handler-info-item-remark {
  86. font-size: 3.46667vw;
  87. font-weight: normal;
  88. line-height: 4.26667vw;
  89. margin-top: 1.33333vw;
  90. text-align: center;
  91. letter-spacing: 0px;
  92. color: rgb(26, 26, 26);
  93. }
  94. .user-handler-other {
  95. width: 94.6667vw;
  96. padding: 2.66667vw;
  97. background: rgb(255, 255, 255);
  98. border-radius: 1.06667vw;
  99. margin: 0px auto 2.66667vw;
  100. }
  101. .user-handler-other .user-handler-other-header {
  102. display: flex;
  103. -webkit-box-align: center;
  104. align-items: center;
  105. -webkit-box-pack: justify;
  106. justify-content: space-between;
  107. margin-bottom: 2vw;
  108. }
  109. .user-handler-other .user-handler-other-header .title {
  110. height: 6.4vw;
  111. font-weight: 500;
  112. font-size: 4.53333vw;
  113. color: rgb(26, 26, 26);
  114. line-height: 6.4vw;
  115. }
  116. .user-handler-other .user-handler-other-header .more-btn {
  117. font-size: 3.46667vw;
  118. color: rgb(118, 118, 118);
  119. }
  120. .user-handler-other .user-handler-other-bottom {
  121. width: 100%;
  122. height: 17.3333vw;
  123. background: rgb(255, 255, 255);
  124. display: flex;
  125. -webkit-box-align: center;
  126. align-items: center;
  127. -webkit-box-pack: justify;
  128. justify-content: space-between;
  129. padding: 0px 1.33333vw;
  130. }
  131. .user-handler-other .user-handler-other-bottom .user-handler-other-bottom-item {
  132. width: 17.3333vw;
  133. height: 11.2vw;
  134. position: relative;
  135. }
  136. .user-handler-other .user-handler-other-bottom .user-handler-other-bottom-item .icon {
  137. display: flex;
  138. -webkit-box-pack: center;
  139. justify-content: center;
  140. -webkit-box-align: center;
  141. align-items: center;
  142. width: 100%;
  143. }
  144. .user-handler-other .user-handler-other-bottom .user-handler-other-bottom-item .icon img {
  145. width: 24px;
  146. height: 24px;
  147. }
  148. .user-handler-other .user-handler-other-bottom .user-handler-other-bottom-item .label {
  149. margin-top: 0.8vw;
  150. font-size: 3.46667vw;
  151. font-weight: normal;
  152. line-height: 4.33333vw;
  153. text-align: center;
  154. letter-spacing: 0px;
  155. color: rgb(26, 26, 26);
  156. }
  157. .user-page-handler .user-handler-goods-recommend {
  158. width: 94.6667vw;
  159. padding: 2.66667vw;
  160. background: rgb(255, 255, 255);
  161. border-radius: 1.06667vw;
  162. margin: 0px auto 2.66667vw;
  163. }
  164. .user-page-handler .user-handler-goods-recommend .user-handler-goods-recommend-header {
  165. display: flex;
  166. -webkit-box-align: center;
  167. align-items: center;
  168. -webkit-box-pack: justify;
  169. justify-content: space-between;
  170. margin-bottom: 2vw;
  171. }
  172. .user-page-handler .user-handler-goods-recommend .user-handler-goods-recommend-header .title {
  173. height: 6.4vw;
  174. font-weight: 500;
  175. font-size: 4.53333vw;
  176. color: rgb(26, 26, 26);
  177. line-height: 6.4vw;
  178. }
  179. .user-page-handler .user-handler-goods-recommend .user-handler-goods-recommend-header .more-btn {
  180. font-size: 3.46667vw;
  181. color: rgb(118, 118, 118);
  182. }
  183. .user-page-handler .user-handler-goods-recommend .user-handler-goods-recommend-skus {
  184. display: flex;
  185. flex-wrap: wrap;
  186. padding: 0px 1.06667vw;
  187. margin-top: 1.33333vw;
  188. }
  189. .user-page-handler .user-handler-goods-recommend .user-handler-goods-recommend-skus .sku-item {
  190. width: 26.4vw;
  191. margin-right: 4vw;
  192. margin-bottom: 4vw;
  193. border-radius: 1.06667vw;
  194. overflow: hidden;
  195. position: relative;
  196. }
  197. .user-page-handler .user-handler-goods-recommend .user-handler-goods-recommend-skus .sku-item .image {
  198. height: 34.6667vw;
  199. width: 100%;
  200. overflow: hidden;
  201. display: flex;
  202. -webkit-box-align: center;
  203. align-items: center;
  204. -webkit-box-pack: center;
  205. justify-content: center;
  206. }
  207. .user-page-handler .user-handler-goods-recommend .user-handler-goods-recommend-skus .sku-item .image img {
  208. border-radius: 5px;
  209. width: 100%;
  210. height: 100%;
  211. }
  212. .user-page-handler .user-handler-goods-recommend .user-handler-goods-recommend-skus .sku-item .name {
  213. font-size: 3.46667vw;
  214. line-height: 4.8vw;
  215. color: rgb(26, 26, 26);
  216. display: -webkit-box;
  217. -webkit-box-orient: vertical;
  218. -webkit-line-clamp: 2;
  219. text-overflow: ellipsis;
  220. overflow: hidden;
  221. margin-top: 1.2vw;
  222. }
  223. .router-bar-view {
  224. position: fixed;
  225. top: 0;
  226. left: 0;
  227. right: 0;
  228. bottom: 0;
  229. z-index: 12;
  230. background-color: white;
  231. width: 100%;
  232. }
  233. .router-bar-view .view-header {
  234. display: flex;
  235. width: 100VW;
  236. text-align: center;
  237. box-shadow: rgba(100, 100, 100, 0.1) 0px 2px 4px;
  238. }
  239. .view-header .view-header-back-btn .header-return {
  240. width: 10.5VW;
  241. height: 10.5VW;
  242. font-size: 1.6em;
  243. line-height: 10.5VW;
  244. position: fixed;
  245. text-align: center;
  246. color: #666666;
  247. border-radius: 50%;
  248. user-select: none;
  249. }
  250. .view-header .view-header-back-btn .header-return::after {
  251. content: "<";
  252. }
  253. .view-header .view-header-back-btn .header-title {
  254. width: 100VW;
  255. height: 10.5VW;
  256. font-size: 1.6em;
  257. line-height: 10.5VW;
  258. text-align: center;
  259. color: #666666;
  260. border-radius: 50%;
  261. user-select: none;
  262. display: -webkit-box; /* 创建弹性盒子模型 */
  263. -webkit-box-orient: vertical; /* 垂直排列子元素 */
  264. overflow: hidden; /* 隐藏溢出的内容 */
  265. text-overflow: ellipsis; /* 溢出的部分显示省略号 */
  266. -webkit-line-clamp: 1; /* 限制显示的行数,这里限制为3行 */
  267. max-height: calc(1.5em * 3); /* 计算出元素的最大高度(行高乘以行数) */
  268. }
  269. /*----用户信息----*/
  270. .router-bar-user-info-view {
  271. display: flex;
  272. flex-direction: column;
  273. justify-content: flex-start;
  274. padding: 4VW;
  275. }
  276. .router-bar-user-info-view .router-user-info-list {
  277. display: flex;
  278. flex-direction: column;
  279. justify-content: space-between;
  280. padding: 0 15px;
  281. }
  282. .router-bar-user-info-view .router-user-info-list .list-item {
  283. display: flex;
  284. flex-direction: row;
  285. justify-content: space-between;
  286. padding: 4VW 0;
  287. }
  288. .router-bar-user-info-view .router-user-info-list .list-item .title {
  289. font-size: 3.33333VW;
  290. color: #333333;
  291. }
  292. .router-bar-user-info-view .router-user-info-list .list-item .value {
  293. font-size: 3.33333VW;
  294. color: #999999;
  295. }
  296. .router-bar-user-info-view .router-user-info-list .router-user-info-avatar {
  297. margin-bottom: 4VW;
  298. }
  299. .router-bar-user-info-view .router-user-info-list .router-user-info-avatar .title {
  300. font-size: 3.33333VW;
  301. color: #333333;
  302. width: 16.5VW;
  303. line-height: 16.5VW;
  304. }
  305. .router-bar-user-info-view .router-user-info-list .router-user-info-email {
  306. border-bottom: 1px solid #aaaaaa;
  307. }
  308. .router-bar-user-info-view .router-user-info-list .router-user-info-avatar img {
  309. width: 16.5VW;
  310. height: 16.5VW;
  311. border-radius: 50%;
  312. box-shadow: rgba(100, 100, 100, 0.5) 0 2px 4px;
  313. }
  314. .router-bar-user-info-view .router-user-logout {
  315. font-size: 3.7VW;
  316. text-align: center;
  317. padding: 4VW;
  318. color: rgb(20, 117, 250);;
  319. margin-bottom: 4VW;
  320. }
  321. /*订单*/
  322. .router-bar-user-order-view {
  323. display: flex;
  324. flex-direction: column;
  325. justify-content: flex-start;
  326. padding: 0 4VW;
  327. }
  328. .router-bar-user-order-view .order-tags {
  329. display: flex;
  330. justify-content: space-between;
  331. flex-direction: column;
  332. background-color: white;
  333. }
  334. .router-bar-user-order-view .tag-list {
  335. background-color: white;
  336. display: flex;
  337. justify-content: space-around;
  338. height: 12VW;
  339. line-height: 12VW;
  340. font-size: 4VW;
  341. }
  342. .router-bar-user-order-view .tag-item {
  343. transition: font-size .3s, color .3s;
  344. padding: 0 2VW;
  345. }
  346. .router-bar-user-order-view .tag-item-select {
  347. font-weight: bold;
  348. font-size: 4.2VW;
  349. color: #1470da;
  350. }
  351. .router-bar-user-order-view .order-content {
  352. display: flex;
  353. flex-direction: column;
  354. width: 92VW;
  355. height: calc(100VH - 18.5VW);
  356. }
  357. .router-bar-user-order-view .order-content .order-empty {
  358. margin: 0 auto;
  359. text-align: center;
  360. font-size: 4.6VW;
  361. color: #666666;
  362. }
  363. .router-bar-user-order-view .order-content .order-empty img {
  364. margin-top: calc(50VW - 9.5VW);
  365. width: 50VW;
  366. text-align: center;
  367. font-size: 3.6VW;
  368. }
  369. .router-bar-user-order-view .order-content .order-list {
  370. color: #666666;
  371. overflow: auto;
  372. }
  373. .router-bar-user-order-view .order-content .order-list::-webkit-scrollbar {
  374. display: none; /* 隐藏滚动条 */
  375. }
  376. .router-bar-user-order-view .order-content .order-list .order-item {
  377. display: flex;
  378. flex-direction: column;
  379. padding: 3VW 4VW 4VW;
  380. background-color: rgba(100, 145, 123, 0.1);
  381. margin: 1.2VW 0;
  382. border-radius: 3VW;
  383. }
  384. .router-bar-user-order-view .order-content .order-list div {
  385. display: -webkit-box; /* 用于设置弹性盒子模型 */
  386. -webkit-box-orient: vertical; /* 设置盒子内文本的垂直排列方式 */
  387. overflow: hidden; /* 隐藏超出区域的内容 */
  388. -webkit-line-clamp: 1; /* 限制文本行数,例如:2 行 */
  389. }
  390. .router-bar-user-order-view .order-content .order-list .order-item .order-item-header {
  391. /*height: 10.8VW;*/
  392. /*line-height: 10.8VW;*/
  393. flex-direction: row;
  394. font-size: 3.73333vw;
  395. line-height: 5.86667vw;
  396. display: flex;
  397. justify-content: space-between;
  398. }
  399. .router-bar-user-order-view .order-content .order-list .order-item .order-item-body {
  400. display: flex;
  401. flex-direction: row;
  402. justify-content: space-between;
  403. padding: 2.6666VW 0 0;
  404. }
  405. .router-bar-user-order-view .order-item .order-item-body .order-item-body-info {
  406. display: flex;
  407. flex-direction: column;
  408. justify-content: start;
  409. }
  410. .router-bar-user-order-view .order-item .order-item-body .order-item-body-img {
  411. width: 19VW;
  412. height: 21.333VW;
  413. display: flex;
  414. flex-direction: column;
  415. justify-content: start;
  416. border-radius: 1.3VW;
  417. overflow: hidden;
  418. }
  419. .router-bar-user-order-view .order-item .order-item-body .order-item-body-img img {
  420. width: 100%;
  421. height: 100%;
  422. }
  423. .router-bar-user-order-view .order-item .order-item-body .order-item-body-info {
  424. width: calc(100% - 11.4VW);
  425. margin-left: 5.4VW;
  426. }
  427. .router-bar-user-order-view .order-item .order-item-body .order-item-body-info .order-item-body-info-title, .order-item-body-info-desc {
  428. display: flex;
  429. flex-direction: row;
  430. justify-content: space-between;
  431. }
  432. .router-bar-user-order-view .order-item .order-item-body .order-item-body-info .order-item-body-info-title {
  433. color: #333333;
  434. height: 6.4VW;
  435. font-size: 4.2VW;
  436. font-weight: bold;
  437. line-height: 6.4VW;
  438. }
  439. .router-bar-user-order-view .order-item .order-item-body .order-item-body-info .order-item-body-info-title .order-item-body-info-title-name {
  440. width: calc(100% - 9VW);
  441. color: #333333;
  442. height: 6.4VW;
  443. font-size: 4.2VW;
  444. font-weight: bold;
  445. line-height: 6.4VW;
  446. }
  447. .router-bar-user-order-view .order-item .order-item-body .order-item-body-info .order-item-body-info-title .order-item-body-info-title-price {
  448. color: #333333;
  449. width: 9VW;
  450. height: 6.4VW;
  451. font-size: 3.5VW;
  452. font-weight: initial;
  453. line-height: 6.4VW;
  454. text-align: right;
  455. }
  456. .router-bar-user-order-view .order-item .order-item-body .order-item-body-info .order-item-body-info-desc {
  457. height: 5.6VW;
  458. font-size: 3.5VW;
  459. color: #777777;
  460. font-weight: initial;
  461. margin-top: 1.5VW;
  462. line-height: 5.6VW;
  463. display: flex;
  464. justify-content: space-between;
  465. flex-direction: row;
  466. }
  467. .router-bar-user-order-view .order-item .order-item-body .order-item-body-info .order-item-body-info-desc .order-item-body-info-desc-text {
  468. width: calc(100% - 9VW);
  469. }
  470. .router-bar-user-order-view .order-item .order-item-body .order-item-body-info .order-item-body-info-desc .order-item-body-info-desc-count {
  471. width: 9VW;
  472. text-align: right;
  473. }
  474. .router-bar-user-order-view .order-item .order-item-footer {
  475. margin-top: 2.4VW;
  476. /*height: 5.6VW;*/
  477. font-size: 3.733VW;
  478. color: #777777;
  479. font-weight: initial;
  480. line-height: 5.6VW;
  481. }
  482. .router-bar-user-order-view .order-item .order-item-footer .order-item-footer-orderid {
  483. display: flex;
  484. flex-direction: row;
  485. justify-content: space-between;
  486. }
  487. .router-bar-user-order-view .order-item .order-item-footer .order-item-footer-orderid div {
  488. display: flex;
  489. flex-direction: row;
  490. justify-content: space-between;
  491. }
  492. .router-bar-user-order-view .order-item .order-item-footer .order-item-footer-settlement {
  493. display: flex;
  494. flex-direction: row;
  495. justify-content: space-between;
  496. }
  497. .router-bar-user-order-view .order-item .order-item-footer .footer-orderid-copy {
  498. padding-left: 3VW;
  499. border-left: #aaaaaa 3px solid;
  500. margin-left: 3VW;
  501. display: flex;
  502. flex-direction: row;
  503. justify-content: space-between;
  504. }
  505. .router-bar-user-order-view .order-item .order-item-footer-settlement {
  506. padding-top: 2VW;
  507. }
  508. .router-bar-user-order-view .order-item .order-item-footer-btns {
  509. display: none;
  510. height: 0;
  511. overflow: hidden;
  512. }