index.less 4.3 KB

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