index.less 2.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157
  1. .messagePage {
  2. overflow: hidden;
  3. border-top-left-radius: 24rpx;
  4. border-top-right-radius: 24rpx;
  5. background-color: white;
  6. .searchBox {
  7. position: relative;
  8. padding: 20rpx 40rpx;
  9. .input {
  10. background-color: #F2F6FC;
  11. font-size: 28rpx;
  12. padding: 14rpx 20rpx;
  13. border-radius: 26rpx;
  14. }
  15. .magnifier {
  16. position: absolute;
  17. right: 70rpx;
  18. top: 0rpx;
  19. bottom: 0rpx;
  20. margin: auto;
  21. padding: 10rpx 38rpx;
  22. width: 28rpx;
  23. height: 28rpx;
  24. border-radius: 50rpx;
  25. background-color: #30C866;
  26. }
  27. }
  28. .messageList {
  29. padding: 0rpx 36rpx 250rpx;
  30. box-sizing: border-box;
  31. .base {
  32. display: flex;
  33. align-items: center;
  34. justify-content: space-between;
  35. padding: 20rpx 0rpx 20rpx 20rpx;
  36. border-bottom: 1rpx solid #D8D8D8;
  37. .avatar {
  38. border-radius: 50rpx;
  39. width: 80rpx;
  40. height: 80rpx;
  41. }
  42. .body {
  43. flex: 1;
  44. padding: 0rpx 30rpx 0rpx 20rpx;
  45. .name {
  46. max-width: 320rpx;
  47. font-size: 30rpx;
  48. font-weight: bolder;
  49. }
  50. }
  51. .right {
  52. display: flex;
  53. flex-direction: column;
  54. align-items: flex-end;
  55. .date {
  56. font-size: 24rpx;
  57. }
  58. .unread {
  59. margin-top: 6rpx;
  60. width: 32rpx;
  61. height: 32rpx;
  62. line-height: 32rpx;
  63. border-radius: 550rpx;
  64. color: white;
  65. font-size: 20rpx;
  66. text-align: center;
  67. background-color: #FF0000;
  68. }
  69. }
  70. }
  71. .authority {
  72. .body {
  73. display: flex;
  74. justify-content: space-between;
  75. padding-right: 50rpx;
  76. .avatars {
  77. display: flex;
  78. .miniAvatar {
  79. width: 38rpx;
  80. height: 38rpx;
  81. border-radius: 50rpx;
  82. margin-left: 4rpx;
  83. }
  84. }
  85. }
  86. }
  87. .user {
  88. .info {
  89. margin-top: 4rpx;
  90. width: 400rpx;
  91. color: #969696;
  92. font-size: 24rpx;
  93. }
  94. }
  95. .pressHover {
  96. background-color: #f1f1f1;
  97. }
  98. }
  99. .menuBg {
  100. position: fixed;
  101. top: 0px;
  102. left: 0px;
  103. width: 100vw;
  104. height: 100vh;
  105. }
  106. .menu {
  107. position: fixed;
  108. width: 278rpx;
  109. height: 180rpx;
  110. padding: 0rpx 20rpx;
  111. box-sizing: border-box;
  112. border-radius: 24rpx;
  113. background-color: white;
  114. box-shadow: rgba(0, 0, 0, 0.24) 0px 6rpx 16rpx;
  115. view {
  116. height: 50%;
  117. display: flex;
  118. align-items: center;
  119. justify-content: center;
  120. }
  121. .icon {
  122. width: 30rpx;
  123. height: 30rpx;
  124. margin-right: 16rpx;
  125. }
  126. .menu-one {
  127. border-bottom: 1rpx solid #D8D8D8;
  128. .icon {
  129. width: 22rpx;
  130. height: 28rpx;
  131. }
  132. }
  133. }
  134. }