index.less 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275
  1. .index {
  2. min-height: 100vh;
  3. background-color: #f9f9f9;
  4. padding: 20px 16px;
  5. box-sizing: border-box;
  6. .container {
  7. padding: 60px 10px 20px 10px;
  8. box-sizing: border-box;
  9. border-radius: 20px;
  10. background-color: #fff;
  11. .header {
  12. display: flex;
  13. justify-content: space-between;
  14. align-items: center;
  15. .header-left {
  16. display: flex;
  17. align-items: center;
  18. flex-direction: column;
  19. .name {
  20. font-weight: 700;
  21. font-size: 48px;
  22. color: #000000;
  23. }
  24. .level {
  25. display: flex;
  26. align-items: center;
  27. margin-top: 20px;
  28. position: relative;
  29. padding-left: 55px;
  30. height: 45px;
  31. .level-icon {
  32. width: 144px;
  33. height: 100%;
  34. position: absolute;
  35. left: 0;
  36. top: 0;
  37. }
  38. .level-text {
  39. font-size: 21px;
  40. color: #3D3D3D;
  41. z-index: 1;
  42. }
  43. }
  44. }
  45. .header-right {
  46. .header-right-avatar {
  47. width: 144px;
  48. height: 144px;
  49. border-radius: 50%;
  50. background-color: red;
  51. }
  52. }
  53. }
  54. // 个人资料
  55. .personal-info {
  56. display: flex;
  57. flex-direction: column;
  58. width: 100%;
  59. box-shadow: 0px 1px 10px 0px rgba(0, 0, 0, 0.1);
  60. border-radius: 10px 10px 10px 10px;
  61. overflow: hidden;
  62. margin-top: 30px;
  63. padding: 4px 23px;
  64. box-sizing: border-box;
  65. .info-top,
  66. .info-bottom {
  67. display: flex;
  68. width: 100%;
  69. align-items: center;
  70. .personal-info-item {
  71. flex: 1;
  72. display: flex;
  73. flex-direction: column;
  74. padding: 36px 0 33px 17px;
  75. box-sizing: border-box;
  76. .personal-info-item-label {
  77. font-size: 24px;
  78. color: #AEAEAE;
  79. }
  80. .personal-info-item-value {
  81. font-size: 26px;
  82. color: #000000;
  83. margin-top: 13px;
  84. }
  85. }
  86. }
  87. .line {
  88. width: 1px;
  89. height: 126px;
  90. background-color: #D8D8D8;
  91. margin-right: 57px;
  92. }
  93. .line-column {
  94. width: 100%;
  95. height: 1px;
  96. background-color: #D8D8D8;
  97. margin: 10px 0;
  98. }
  99. }
  100. // 订单列表样式
  101. .order-list {
  102. margin-top: 24px;
  103. .at-divider {
  104. height: 0;
  105. margin-bottom: 18px;
  106. }
  107. .order-item {
  108. background: #FFFFFF;
  109. border-radius: 20px;
  110. padding: 0 18px 34px 18px;
  111. margin-bottom: 24px;
  112. box-sizing: border-box;
  113. border-radius: 20px 20px 20px 20px;
  114. box-shadow: 0px 1px 10px 0px rgba(0, 0, 0, 0.1);
  115. &:last-child {
  116. margin-bottom: 0;
  117. }
  118. .order-info {
  119. display: flex;
  120. justify-content: space-between;
  121. padding-bottom: 24px;
  122. padding-top: 24px;
  123. .order-details {
  124. .detail-item {
  125. display: flex;
  126. align-items: center;
  127. margin-bottom: 8px;
  128. .label {
  129. color: #999;
  130. font-size: 22px;
  131. margin-right: 12px;
  132. line-height: 32px;
  133. }
  134. .value {
  135. color: #999;
  136. font-size: 22px;
  137. line-height: 32px;
  138. }
  139. .copy-text {
  140. color: #F6C71A;
  141. font-size: 22px;
  142. margin-left: 30px;
  143. line-height: 32px;
  144. }
  145. }
  146. }
  147. .member-info {
  148. display: flex;
  149. flex-direction: column;
  150. justify-content: flex-start;
  151. align-items: center;
  152. .member-icon {
  153. width: 58px;
  154. height: 49px;
  155. }
  156. .member-text {
  157. font-size: 18px;
  158. color: #E7BE78;
  159. line-height: 26px;
  160. margin-top: 4px;
  161. }
  162. }
  163. }
  164. .product-info {
  165. display: flex;
  166. padding-top: 20px;
  167. height: 168px;
  168. .product-image {
  169. width: 297px;
  170. height: 168px;
  171. border-radius: 8px;
  172. margin-right: 16px;
  173. }
  174. .product-details {
  175. flex: 1;
  176. height: 100%;
  177. display: flex;
  178. flex-direction: column;
  179. justify-content: space-between;
  180. .product-name {
  181. font-size: 28px;
  182. color: #000000;
  183. line-height: 41px;
  184. overflow: hidden;
  185. text-overflow: ellipsis;
  186. display: -webkit-box;
  187. -webkit-line-clamp: 2;
  188. -webkit-box-orient: vertical;
  189. margin-bottom: 16px;
  190. }
  191. .promotion-info {
  192. display: flex;
  193. align-items: center;
  194. justify-content: center;
  195. margin-bottom: 16px;
  196. height: 30px;
  197. width: fit-content;
  198. border-radius: 10px;
  199. .tag {
  200. color: #F6C71A;
  201. font-size: 18px;
  202. z-index: 1;
  203. background-color: #fff;
  204. padding: 2px 6px;
  205. box-sizing: border-box;
  206. border: 1px solid #F6C71A;
  207. }
  208. .amount {
  209. color: #fff;
  210. font-size: 18px;
  211. z-index: 1;
  212. background-color: #f6c71a;
  213. padding: 2px 4px;
  214. box-sizing: border-box;
  215. border: 1px solid #F6C71A;
  216. }
  217. }
  218. .payment-info {
  219. display: flex;
  220. align-items: center;
  221. font-weight: 500;
  222. .label {
  223. color: #000000;
  224. font-size: 22px;
  225. margin-right: 10px;
  226. }
  227. .amount {
  228. color: #000000;
  229. font-size: 22px;
  230. }
  231. }
  232. }
  233. }
  234. }
  235. }
  236. .at-divider__content {
  237. font-size: 22px;
  238. }
  239. }
  240. }