mine.wxss 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177
  1. .page-container {
  2. position: relative;
  3. min-height: 100vh;
  4. background-color: #f5f5f5;
  5. }
  6. .container {
  7. display: flex;
  8. flex-direction: column;
  9. background-color: #f5f5f5;
  10. min-height: 50vh;
  11. position: relative;
  12. overflow: hidden;
  13. }
  14. .header {
  15. position: relative;
  16. width: 100%;
  17. height: 180rpx;
  18. }
  19. .header .background {
  20. position: absolute;
  21. top: 0;
  22. left: 0;
  23. width: 100%;
  24. height: 100%;
  25. background: linear-gradient(180deg, rgba(46, 130, 255, 1) 0%, rgba(46, 130, 255, 1) 84.9%, rgba(46, 130, 255, 0) 100%);
  26. }
  27. .back-icon {
  28. position: absolute;
  29. left: 30rpx;
  30. top: 120rpx;
  31. font-size: 40rpx;
  32. color: white;
  33. z-index: 10;
  34. width: 60rpx;
  35. height: 60rpx;
  36. display: flex;
  37. align-items: center;
  38. justify-content: center;
  39. }
  40. .header-title {
  41. text-align: center;
  42. font-size: 36rpx;
  43. margin-bottom: 20rpx;
  44. }
  45. .user-info-container {
  46. position: relative;
  47. display: flex;
  48. justify-content: space-between;
  49. align-items: flex-start;
  50. padding: 0rpx 30rpx;
  51. top: -230rpx;
  52. width: 100%;
  53. box-sizing: border-box;
  54. }
  55. .user-info {
  56. background-color: transparent;
  57. color: white;
  58. padding: 30rpx;
  59. border-radius: 20rpx;
  60. position: relative;
  61. width: 100%;
  62. }
  63. .user-name {
  64. font-size: 40rpx;
  65. font-weight: bold;
  66. margin-bottom: 24rpx;
  67. }
  68. .user-id, .user-address {
  69. display: flex;
  70. align-items: center;
  71. font-size: 30rpx;
  72. margin-bottom: 20rpx;
  73. color: rgba(255, 255, 255, 1);
  74. }
  75. .id-icon, .address-icon {
  76. width: 32rpx;
  77. height: 32rpx;
  78. margin-right: 10rpx;
  79. }
  80. .user-phone, .user-address {
  81. display: flex;
  82. font-size: 15px;
  83. margin-bottom: 3px;
  84. color: rgba(255, 255, 255, 1);
  85. }
  86. .user-phone image, .user-address image {
  87. width: 32rpx;
  88. height: 32rpx;
  89. margin-right: 10rpx;
  90. }
  91. .edit-btn {
  92. position: absolute;
  93. right: 30rpx;
  94. top: 30rpx;
  95. font-size: 28rpx;
  96. color: #1989fa;
  97. padding: 10rpx 20rpx;
  98. border: 1px solid #1989fa;
  99. border-radius: 30rpx;
  100. }
  101. /* 固定返回按钮样式 */
  102. .fixed-back {
  103. position: fixed;
  104. top: 50rpx;
  105. left: 30rpx;
  106. z-index: 999;
  107. border-radius: 50%;
  108. width: 50rpx;
  109. height: 200rpx;
  110. display: flex;
  111. align-items: center;
  112. color: rgba(255, 255, 255, 1);
  113. }
  114. .scrollable-content {
  115. height: 100%;
  116. width: 100%;
  117. }
  118. /* 功能选择框样式 */
  119. .function-list {
  120. width: 100%;
  121. padding: 0 30rpx;
  122. box-sizing: border-box;
  123. position: absolute;
  124. top: 400rpx;
  125. left: 0;
  126. z-index: 100;
  127. }
  128. .function-group {
  129. background-color: #fff;
  130. border-radius: 16rpx;
  131. margin-bottom: 20rpx;
  132. box-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.05);
  133. overflow: hidden;
  134. }
  135. .function-item {
  136. display: flex;
  137. justify-content: space-between;
  138. align-items: center;
  139. height: 110rpx;
  140. padding: 0 20rpx;
  141. background-color: #fff;
  142. }
  143. .divider {
  144. height: 1rpx;
  145. background-color: #f0f0f0;
  146. margin: 0 20rpx;
  147. }
  148. .function-text {
  149. font-size: 32rpx;
  150. color: #333;
  151. }
  152. .arrow-icon {
  153. width: 20rpx;
  154. height: 30rpx;
  155. color: rgba(51, 51, 51, 1);
  156. }