mine.wxss 2.9 KB

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