index.less 4.8 KB

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