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: 30rpx;
  57. height: 27rpx;
  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. flex: 1;
  74. display: flex;
  75. align-items: center;
  76. justify-content: space-between;
  77. border-bottom: 1rpx solid #D8D8D8;
  78. padding: 20rpx 0;
  79. .body {
  80. flex: 1;
  81. .name {
  82. max-width: 330rpx;
  83. font-size: 30rpx;
  84. font-weight: bolder;
  85. }
  86. }
  87. .right {
  88. min-width: 140rpx;
  89. display: flex;
  90. flex-direction: column;
  91. align-items: flex-end;
  92. .date {
  93. font-size: 24rpx;
  94. }
  95. .unread {
  96. margin-top: 6rpx;
  97. width: 32rpx;
  98. height: 32rpx;
  99. line-height: 32rpx;
  100. border-radius: 550rpx;
  101. color: white;
  102. font-size: 20rpx;
  103. text-align: center;
  104. background-color: #FF0000;
  105. }
  106. }
  107. }
  108. }
  109. .user {
  110. .info {
  111. margin-top: 4rpx;
  112. width: 400rpx;
  113. color: #969696;
  114. font-size: 24rpx;
  115. }
  116. }
  117. .pressHover {
  118. background-color: #f1f1f1;
  119. }
  120. }
  121. .menuBg {
  122. position: fixed;
  123. top: 0px;
  124. left: 0px;
  125. width: 100vw;
  126. height: 100vh;
  127. }
  128. .menu {
  129. position: fixed;
  130. width: 278rpx;
  131. // height: 180rpx;
  132. padding: 20rpx 20rpx;
  133. box-sizing: border-box;
  134. border-radius: 24rpx;
  135. background-color: white;
  136. box-shadow: rgba(0, 0, 0, 0.24) 0px 6rpx 16rpx;
  137. view {
  138. height: 50%;
  139. display: flex;
  140. align-items: center;
  141. justify-content: center;
  142. }
  143. .icon {
  144. width: 30rpx;
  145. height: 30rpx;
  146. margin-right: 16rpx;
  147. }
  148. .menu-one {
  149. // border-bottom: 1rpx solid #D8D8D8;
  150. .icon {
  151. width: 22rpx;
  152. height: 28rpx;
  153. }
  154. }
  155. }
  156. .skeleton {
  157. width: 100%;
  158. height: 80vh;
  159. position: relative;
  160. .messageList {
  161. padding: 0rpx;
  162. }
  163. }
  164. }