mine.wxss 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176
  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: bold;
  68. margin-bottom: 24rpx;
  69. }
  70. .user-id, .user-address {
  71. display: flex;
  72. align-items: center;
  73. font-size: 30rpx;
  74. margin-bottom: 20rpx;
  75. color: rgba(255, 255, 255, 1);
  76. }
  77. .id-icon, .address-icon {
  78. width: 32rpx;
  79. height: 32rpx;
  80. margin-right: 10rpx;
  81. }
  82. .user-phone, .user-address {
  83. display: flex;
  84. font-size: 15px;
  85. margin-bottom: 3px;
  86. color: rgba(255, 255, 255, 1);
  87. }
  88. .user-phone image, .user-address image {
  89. width: 32rpx;
  90. height: 32rpx;
  91. margin-right: 10rpx;
  92. }
  93. .edit-btn {
  94. position: absolute;
  95. right: 30rpx;
  96. top: 30rpx;
  97. font-size: 28rpx;
  98. color: #1989fa;
  99. padding: 10rpx 20rpx;
  100. border: 1px solid #1989fa;
  101. border-radius: 30rpx;
  102. }
  103. /* 固定返回按钮样式 */
  104. .fixed-back {
  105. position: fixed;
  106. top: 50rpx;
  107. left: 30rpx;
  108. z-index: 999;
  109. border-radius: 50%;
  110. width: 50rpx;
  111. height: 200rpx;
  112. display: flex;
  113. align-items: center;
  114. color: rgba(255, 255, 255, 1);
  115. }
  116. .scrollable-content {
  117. height: 100%;
  118. width: 100%;
  119. }
  120. /* 功能选择框样式 */
  121. .function-content {
  122. width: 100%;
  123. padding: 0 30rpx;
  124. box-sizing: border-box;
  125. z-index: 100;
  126. }
  127. .function-group {
  128. background-color: #fff;
  129. border-radius: 16rpx;
  130. margin-bottom: 20rpx;
  131. box-shadow: 0 2rpx 10rpx rgba(0, 0, 0, 0.05);
  132. overflow: hidden;
  133. }
  134. .function-item {
  135. display: flex;
  136. justify-content: space-between;
  137. align-items: center;
  138. height: 110rpx;
  139. padding: 0 20rpx;
  140. background-color: #fff;
  141. }
  142. .divider {
  143. height: 1rpx;
  144. background-color: #f0f0f0;
  145. margin: 0 20rpx;
  146. }
  147. .function-text {
  148. font-size: 32rpx;
  149. color: #333;
  150. }
  151. .arrow-icon {
  152. width: 20rpx;
  153. height: 30rpx;
  154. color: rgba(51, 51, 51, 1);
  155. }