index.less 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. .container {
  2. padding: 30rpx;
  3. .top-tab {
  4. position: fixed;
  5. top: 0;
  6. left: 0rpx;
  7. width: 100%;
  8. height: 80rpx;
  9. background: #ededed;
  10. box-sizing: border-box;
  11. display: flex;
  12. justify-content: space-between;
  13. align-items: center;
  14. z-index: 999;
  15. padding: 0 48rpx;
  16. .tabbar {
  17. display: flex;
  18. justify-content: center;
  19. align-items: center;
  20. width: 100rpx;
  21. height: 58rpx;
  22. line-height: 60rpx;
  23. font-size: 40rpx;
  24. opacity: 0.7;
  25. font-weight: 800;
  26. border-bottom: none;
  27. color: #333;
  28. }
  29. .select {
  30. color: #333;
  31. font-size: 40rpx;
  32. border-bottom: 6rpx solid #14c962;
  33. opacity: 1;
  34. }
  35. }
  36. .userBox {
  37. margin-top: 85rpx;
  38. display: flex;
  39. align-items: center;
  40. justify-content: space-between;
  41. background-color: white;
  42. padding: 30rpx 12rpx;
  43. border-radius: 20rpx;
  44. .avatar {
  45. width: 152rpx;
  46. height: 152rpx;
  47. border-radius: 50%;
  48. position: relative;
  49. }
  50. .userRight {
  51. flex: 1;
  52. margin-left: 40rpx;
  53. .uRtop {
  54. display: flex;
  55. justify-content: space-between;
  56. .uRtopleft {
  57. .nickName {
  58. color: #333;
  59. font-size: 30rpx;
  60. }
  61. .gradeText {
  62. margin: 14rpx 0rpx 8rpx;
  63. font-size: 23rpx;
  64. color: #989A9C;
  65. }
  66. }
  67. .uRtopRight {
  68. display: flex;
  69. align-items: center;
  70. .edit {
  71. width: 25rpx;
  72. height: 25rpx;
  73. }
  74. text {
  75. margin: 0px 10rpx;
  76. font-size: 24rpx;
  77. color: #666;
  78. }
  79. }
  80. }
  81. }
  82. }
  83. }