index.less 3.2 KB

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