index.wxss 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. .page_container {
  2. background-color: #f5f5f5;
  3. height: 100vh;
  4. font-family: PingFang SC;
  5. }
  6. .top_bg {
  7. height: 120rpx;
  8. }
  9. .main_content {
  10. background-color: #fff;
  11. border-top-left-radius: 30rpx;
  12. border-top-right-radius: 30rpx;
  13. height: calc(100vh - 120rpx);
  14. position: relative;
  15. }
  16. .userinfo_container {
  17. display: flex;
  18. gap: 80rpx;
  19. align-items: center;
  20. gap: 20rpx;
  21. position: absolute;
  22. top: -30rpx;
  23. padding: 0rpx 60rpx;
  24. }
  25. .avatar {
  26. width: 128rpx;
  27. height: 128rpx;
  28. /* background-color: #e5e5e5; */
  29. border-radius: 50%;
  30. transform: scale(1.8);
  31. }
  32. .username {
  33. color: #333;
  34. font-size: 32rpx;
  35. margin-top: 20rpx;
  36. color: rgba(0, 0, 0, 0.9);
  37. max-width: 200rpx;
  38. }
  39. .settings_container {
  40. position: relative;
  41. top: 150rpx;
  42. padding: 0 40rpx;
  43. display: flex;
  44. flex-direction: column;
  45. gap: 10rpx;
  46. }
  47. .setting_item {
  48. display: flex;
  49. align-items: center;
  50. justify-content: space-between;
  51. padding: 30rpx 0rpx;
  52. border-bottom: 1rpx solid rgba(0, 0, 0, 0.08);
  53. font-size: 28rpx;
  54. }
  55. .left {
  56. display: flex;
  57. align-items: center;
  58. gap: 20rpx;
  59. }
  60. .contact-button {
  61. padding-top: 10rpx;
  62. padding-bottom: 10rpx;
  63. box-sizing: border-box;
  64. padding-left: 0rpx;
  65. margin: 0;
  66. width: 400rpx;
  67. font-weight: 400;
  68. font-size: 28rpx;
  69. color: rgba(0, 0, 0, 0.9);
  70. line-height: 56rpx;
  71. text-align: left;
  72. }
  73. .button-hover {
  74. background-color: #fff;
  75. }
  76. .setting_icon {
  77. width: 40rpx;
  78. height: 40rpx;
  79. }
  80. .setting_text {
  81. color: rgba(0, 0, 0, 0.9);
  82. }
  83. .arrow_icon {
  84. width: 30rpx;
  85. height: 30rpx;
  86. }