index.less 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163
  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. background-color: #EEEEEE;
  45. }
  46. .body {
  47. flex: 1;
  48. padding: 0rpx 20rpx;
  49. .name {
  50. max-width: 330rpx;
  51. font-size: 30rpx;
  52. font-weight: bolder;
  53. }
  54. }
  55. .right {
  56. min-width: 140rpx;
  57. display: flex;
  58. flex-direction: column;
  59. align-items: flex-end;
  60. .date {
  61. font-size: 24rpx;
  62. }
  63. .unread {
  64. margin-top: 6rpx;
  65. width: 32rpx;
  66. height: 32rpx;
  67. line-height: 32rpx;
  68. border-radius: 550rpx;
  69. color: white;
  70. font-size: 20rpx;
  71. text-align: center;
  72. background-color: #FF0000;
  73. }
  74. }
  75. }
  76. .authority {
  77. .body {
  78. display: flex;
  79. justify-content: space-between;
  80. padding-right: 50rpx;
  81. .avatars {
  82. display: flex;
  83. .miniAvatar {
  84. width: 38rpx;
  85. height: 38rpx;
  86. border-radius: 50rpx;
  87. margin-left: 4rpx;
  88. background-color: #E4E1E1;
  89. }
  90. }
  91. }
  92. }
  93. .user {
  94. .info {
  95. margin-top: 4rpx;
  96. width: 400rpx;
  97. color: #969696;
  98. font-size: 24rpx;
  99. }
  100. }
  101. .pressHover {
  102. background-color: #f1f1f1;
  103. }
  104. }
  105. .menuBg {
  106. position: fixed;
  107. top: 0px;
  108. left: 0px;
  109. width: 100vw;
  110. height: 100vh;
  111. }
  112. .menu {
  113. position: fixed;
  114. width: 278rpx;
  115. // height: 180rpx;
  116. padding: 20rpx 20rpx;
  117. box-sizing: border-box;
  118. border-radius: 24rpx;
  119. background-color: white;
  120. box-shadow: rgba(0, 0, 0, 0.24) 0px 6rpx 16rpx;
  121. view {
  122. height: 50%;
  123. display: flex;
  124. align-items: center;
  125. justify-content: center;
  126. }
  127. .icon {
  128. width: 30rpx;
  129. height: 30rpx;
  130. margin-right: 16rpx;
  131. }
  132. .menu-one {
  133. // border-bottom: 1rpx solid #D8D8D8;
  134. .icon {
  135. width: 22rpx;
  136. height: 28rpx;
  137. }
  138. }
  139. }
  140. }