my.css 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278
  1. page {
  2. background: #F6F6F6;
  3. }
  4. .wrap {
  5. width: 100%;
  6. display: flex;
  7. flex-direction: column;
  8. padding-bottom: 50rpx;
  9. }
  10. .head {
  11. width: 100%;
  12. min-height: 370rpx;
  13. display: flex;
  14. background: linear-gradient(180deg, #FFF7F2 60%, #F6F6F6);
  15. padding: 0 24rpx 0;
  16. box-sizing: border-box;
  17. }
  18. .avatar {
  19. width: 122rpx;
  20. height: 122rpx;
  21. border-radius: 50%;
  22. border: 2px solid #fff;
  23. box-sizing: border-box;
  24. margin-right: 36rpx;
  25. }
  26. .head-sidebar {
  27. flex: 1;
  28. height: 122rpx;
  29. display: flex;
  30. flex-direction: column;
  31. justify-content: center;
  32. }
  33. .head-sidebar-top {
  34. width: 100%;
  35. display: flex;
  36. justify-content: space-between;
  37. align-items: center;
  38. }
  39. .head-sidebar-column {
  40. flex: 1;
  41. height: 122rpx;
  42. display: flex;
  43. flex-direction: column;
  44. justify-content: center;
  45. }
  46. .my-tag {
  47. width: fit-content;
  48. min-width: 158rpx;
  49. height: 40rpx;
  50. line-height: 40rpx;
  51. background: url(../../static/bg-5.png) no-repeat;
  52. background-size: 100% 100%;
  53. display: flex;
  54. align-items: center;
  55. justify-content: center;
  56. color: #FF6D00;
  57. font-size: 24rpx;
  58. margin-top: 10rpx;
  59. }
  60. .my-tag>image {
  61. width: 28rpx;
  62. height: 28rpx;
  63. margin-right: 2rpx;
  64. }
  65. .head-btn-box {
  66. display: flex;
  67. align-items: center;
  68. }
  69. .head-btn-box>button {
  70. display: flex;
  71. align-items: center;
  72. margin-right: 20rpx;
  73. border-radius: initial;
  74. }
  75. .head-btn-box>button:last-child {
  76. margin-right: 0;
  77. }
  78. .head-btn-box>button>image {
  79. width: 44rpx;
  80. height: 44rpx;
  81. }
  82. .my-name {
  83. color: #333333;
  84. font-size: 34rpx;
  85. font-weight: bold;
  86. }
  87. .content-box {
  88. width: 100%;
  89. display: flex;
  90. flex-direction: column;
  91. padding: 0 24rpx 60rpx;
  92. box-sizing: border-box;
  93. margin-top: -200rpx;
  94. }
  95. .card {
  96. width: 100%;
  97. display: flex;
  98. flex-direction: column;
  99. margin-bottom: 20rpx;
  100. }
  101. .card-top {
  102. width: 100%;
  103. height: 82rpx;
  104. border-radius: 16rpx 16rpx 0 0;
  105. display: flex;
  106. background-color: #FDE4D0;
  107. }
  108. .card-top-item {
  109. flex: 1;
  110. display: flex;
  111. justify-content: center;
  112. align-items: center;
  113. color: #333333;
  114. font-size: 28rpx;
  115. position: relative;
  116. }
  117. .card-top-item::after {
  118. content: "";
  119. width: 1px;
  120. height: 42rpx;
  121. background-color: #FFC7AC;
  122. position: absolute;
  123. right: 0;
  124. top: 50%;
  125. margin-top: -21rpx;
  126. }
  127. .card-top-item text {
  128. font-weight: bold;
  129. margin-left: 20rpx;
  130. }
  131. .card-bottom {
  132. width: 100%;
  133. height: 162rpx;
  134. background-color: #FFFFFF;
  135. border-radius: 4rpx 0 16rpx 16rpx;
  136. display: flex;
  137. align-items: center;
  138. }
  139. .card-bottom-item {
  140. flex: 1;
  141. display: flex;
  142. flex-direction: column;
  143. align-items: center;
  144. }
  145. .card-bottom-item text:first-child {
  146. color: #333333;
  147. font-size: 36rpx;
  148. font-weight: bold;
  149. margin-bottom: 18rpx;
  150. }
  151. .card-bottom-item text:last-child {
  152. color: #747474;
  153. font-size: 28rpx;
  154. }
  155. .my-module {
  156. width: 100%;
  157. display: flex;
  158. flex-direction: column;
  159. border-radius: 12rpx;
  160. background-color: #FFFFFF;
  161. margin: 0 0 20rpx 0;
  162. padding: 26rpx 28rpx 0;
  163. box-sizing: border-box;
  164. }
  165. .my-top {
  166. width: 100%;
  167. display: flex;
  168. justify-content: space-between;
  169. align-items: center;
  170. margin-bottom: 50rpx;
  171. }
  172. .my-top-name {
  173. color: #333333;
  174. font-size: 30rpx;
  175. }
  176. .all-btn {
  177. display: flex;
  178. align-items: center;
  179. color: #747474;
  180. font-size: 24rpx;
  181. }
  182. .all-btn>image {
  183. width: 10rpx;
  184. margin-left: 10rpx;
  185. }
  186. .my-order-list {
  187. width: 100%;
  188. display: flex;
  189. flex-wrap: wrap;
  190. }
  191. .my-order-item {
  192. width: 20%;
  193. display: flex;
  194. flex-direction: column;
  195. align-items: center;
  196. color: #333333;
  197. font-size: 30rpx;
  198. position: relative;
  199. margin-bottom: 36rpx;
  200. }
  201. .num {
  202. width: fit-content;
  203. position: absolute;
  204. right: 19rpx;
  205. top: -3rpx;
  206. background-color: #FF0000;
  207. border-radius: 50%;
  208. min-width: 26rpx;
  209. height: 26rpx;
  210. display: flex;
  211. justify-content: center;
  212. align-items: center;
  213. font-size: 20rpx;
  214. color: #fff;
  215. }
  216. .my-order-item-img {
  217. width: 56rpx;
  218. height: 56rpx;
  219. margin-bottom: 22rpx;
  220. }
  221. .my-nav-list {
  222. width: 100%;
  223. display: flex;
  224. flex-wrap: wrap;
  225. padding-bottom: 18rpx;
  226. }
  227. .my-nav-item {
  228. width: 25%;
  229. display: flex;
  230. flex-direction: column;
  231. align-items: center;
  232. color: #333333;
  233. font-size: 28rpx;
  234. margin-bottom: 40rpx;
  235. }
  236. .my-nav-item-img {
  237. width: 66rpx;
  238. height: 66rpx;
  239. margin-bottom: 22rpx;
  240. }