index.less 2.8 KB

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