user.css 8.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375
  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. }
  313. .router-bar-user-info-view .router-user-logout{
  314. font-size: 3.7VW;
  315. text-align: center;
  316. padding: 4VW;
  317. color: rgb(20, 117, 250);;
  318. margin-bottom: 4VW;
  319. }