user.wxss 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. /* pages/user/user.wxss */
  2. .container {
  3. position: relative;
  4. height: 100%;
  5. background-color: #f7f8fa;
  6. border-top: 2rpx solid #f7f8fa;
  7. }
  8. .user-top {
  9. display: flex;
  10. flex-direction: column;
  11. height: 364rpx;
  12. padding-top: 80rpx;
  13. align-items: center;
  14. background-color: #fff;
  15. }
  16. .user-top .avatar {
  17. width: 136rpx;
  18. height: 136rpx;
  19. border-radius: 50%;
  20. }
  21. .user-top .name {
  22. max-width: 80%;
  23. color: #555;
  24. font-size: 36rpx;
  25. font-weight: bold;
  26. margin-top: 20rpx;
  27. }
  28. .login {
  29. width: 252rpx;
  30. height: 68rpx;
  31. line-height: 68rpx;
  32. color: #646466;
  33. font-size: 30rpx;
  34. text-align: center;
  35. border-radius: 34rpx;
  36. border: 2rpx solid #d4d5d6;
  37. margin-top: 36rpx;
  38. }
  39. .user-nav {
  40. margin-top: 16rpx;
  41. padding: 10rpx 0;
  42. background-color: #fff;
  43. }
  44. .nav-item {
  45. display: flex;
  46. padding: 38rpx 0;
  47. margin: 0 44rpx;
  48. align-items: center;
  49. justify-content: space-between;
  50. border-bottom: 2rpx solid #f7f8fa;
  51. }
  52. .nav-item:last-child {
  53. border: 0;
  54. }
  55. .nav-item .item-left {
  56. display: flex;
  57. align-items: center;
  58. }
  59. .nav-item .icon {
  60. width: 44rpx;
  61. height: 44rpx;
  62. }
  63. .nav-item .label {
  64. color: #444;
  65. font-size: 30rpx;
  66. margin-left: 26rpx;
  67. }
  68. .nav-item .arrow {
  69. width: 16rpx;
  70. height: 26rpx;
  71. }
  72. /* 发布icon偏左,调整样式让icon看上去对齐 */
  73. .publish .icon {
  74. margin-left: 6rpx;
  75. }
  76. .publish .label {
  77. margin-left: 20rpx;
  78. }
  79. .logout {
  80. position: absolute;
  81. display: flex;
  82. bottom: 60rpx;
  83. width: 100%;
  84. justify-content: center;
  85. }
  86. .logout .button {
  87. width: 670rpx;
  88. color: #cacbcc;
  89. font-size: 32rpx;
  90. border-radius: 12rpx;
  91. background-color: transparent;
  92. border: 2rpx solid #cacbcc;
  93. }