my.wxss 2.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139
  1. .my-container {
  2. padding: 20rpx;
  3. background-color: #f5f5f5;
  4. min-height: 100vh;
  5. }
  6. .user-info {
  7. display: flex;
  8. align-items: center;
  9. background-color: #ffffff;
  10. padding: 30rpx;
  11. border-radius: 12rpx;
  12. margin-bottom: 20rpx;
  13. }
  14. .avatar {
  15. width: 120rpx;
  16. height: 120rpx;
  17. border-radius: 60rpx;
  18. margin-right: 20rpx;
  19. }
  20. .user-details {
  21. display: flex;
  22. flex-direction: column;
  23. }
  24. .username {
  25. font-size: 36rpx;
  26. font-weight: bold;
  27. margin-bottom: 10rpx;
  28. }
  29. .user-id {
  30. font-size: 24rpx;
  31. color: #999;
  32. }
  33. .user-phone {
  34. font-size: 24rpx;
  35. color: #666;
  36. margin-top: 6rpx;
  37. }
  38. .menu-list {
  39. background-color: #ffffff;
  40. border-radius: 12rpx;
  41. margin-bottom: 20rpx;
  42. }
  43. .menu-item {
  44. display: flex;
  45. justify-content: space-between;
  46. align-items: center;
  47. padding: 30rpx;
  48. border-bottom: 1rpx solid #f5f5f5;
  49. }
  50. .menu-item:last-child {
  51. border-bottom: none;
  52. }
  53. .menu-item-left {
  54. display: flex;
  55. align-items: center;
  56. }
  57. .menu-text {
  58. margin-left: 20rpx;
  59. font-size: 28rpx;
  60. }
  61. .logout-btn {
  62. background-color: #ffffff;
  63. border-radius: 12rpx;
  64. padding: 30rpx;
  65. text-align: center;
  66. color: #ff0000;
  67. font-size: 32rpx;
  68. }
  69. /* 这里应该引入iconfont,但为了简化,我们先不添加 */
  70. .iconfont {
  71. font-size: 36rpx;
  72. color: #007AFF;
  73. }
  74. .icon-right {
  75. color: #cccccc;
  76. }
  77. /* 授权弹窗样式 */
  78. .auth-modal {
  79. position: fixed;
  80. top: 0;
  81. left: 0;
  82. right: 0;
  83. bottom: 0;
  84. background-color: rgba(0, 0, 0, 0.5);
  85. display: flex;
  86. justify-content: center;
  87. align-items: center;
  88. z-index: 999;
  89. }
  90. .auth-content {
  91. width: 80%;
  92. background-color: #fff;
  93. border-radius: 12rpx;
  94. padding: 40rpx;
  95. display: flex;
  96. flex-direction: column;
  97. align-items: center;
  98. }
  99. .auth-title {
  100. font-size: 36rpx;
  101. font-weight: bold;
  102. margin-bottom: 20rpx;
  103. }
  104. .auth-desc {
  105. font-size: 28rpx;
  106. color: #666;
  107. margin-bottom: 40rpx;
  108. text-align: center;
  109. }
  110. .auth-btn {
  111. width: 100%;
  112. height: 80rpx;
  113. line-height: 80rpx;
  114. background-color: #07c160;
  115. color: #fff;
  116. border-radius: 8rpx;
  117. margin-bottom: 20rpx;
  118. }
  119. .auth-cancel {
  120. width: 100%;
  121. height: 80rpx;
  122. line-height: 80rpx;
  123. background-color: #f5f5f5;
  124. color: #333;
  125. border-radius: 8rpx;
  126. }
  127. /* 添加获取手机号按钮样式 */
  128. .get-phone-btn {
  129. margin-top: 20rpx;
  130. background-color: #07c160;
  131. color: #fff;
  132. border-radius: 8rpx;
  133. font-size: 28rpx;
  134. padding: 16rpx 0;
  135. }