index.less 4.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194
  1. @import "./index.skeleton.wxss";
  2. .messagePage {
  3. overflow: hidden;
  4. padding-top: 55rpx;
  5. /* .input {
  6. display: flex;
  7. align-items: center;
  8. justify-content: space-between;
  9. background-color: white;
  10. font-size: 28rpx;
  11. margin: 30rpx 30rpx 10rpx;
  12. padding: 16rpx 30rpx;
  13. border-radius: 50rpx;
  14. .searchBtn {
  15. padding: 4rpx 44rpx;
  16. background: #00C657;
  17. border-radius: 40rpx;
  18. .img {
  19. width: 24rpx;
  20. height: 24rpx;
  21. }
  22. }
  23. } */
  24. .messageList {
  25. padding: 0rpx 25rpx 250rpx;
  26. box-sizing: border-box;
  27. .fixed {
  28. margin: 0 auto 55rpx;
  29. width: 700rpx;
  30. padding: 46rpx 50rpx 40rpx;
  31. box-sizing: border-box;
  32. background: #FFFFFF;
  33. box-shadow: 0rpx 2rpx 14rpx 0rpx rgba(0, 0, 0, 0.07);
  34. border-radius: 30rpx;
  35. .inletBox {
  36. display: flex;
  37. align-items: center;
  38. justify-content: space-between;
  39. .authority {
  40. position: relative;
  41. display: flex;
  42. align-items: center;
  43. .avatar {
  44. width: 86rpx;
  45. height: 125rpx;
  46. }
  47. .unread {
  48. top: -4rpx;
  49. right: -10rpx;
  50. position: absolute;
  51. width: 32rpx;
  52. height: 32rpx;
  53. line-height: 32rpx;
  54. border-radius: 550rpx;
  55. color: white;
  56. font-size: 20rpx;
  57. text-align: center;
  58. background-color: #FF0000;
  59. }
  60. }
  61. }
  62. }
  63. .base {
  64. display: flex;
  65. align-items: center;
  66. justify-content: space-between;
  67. .avatar {
  68. margin-right: 20rpx;
  69. border-radius: 50rpx;
  70. width: 80rpx;
  71. height: 80rpx;
  72. background-color: #EEEEEE;
  73. }
  74. .infoBox {
  75. flex: 1;
  76. display: flex;
  77. align-items: center;
  78. justify-content: space-between;
  79. border-bottom: 1rpx solid #D8D8D8;
  80. padding: 20rpx 0;
  81. .body {
  82. flex: 1;
  83. .name {
  84. max-width: 330rpx;
  85. font-size: 30rpx;
  86. font-weight: bolder;
  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: 4rpx;
  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. }