chatIndex.wxss 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189
  1. page {
  2. height: 100%;
  3. min-height: 100%;
  4. background: #f4f4f4;
  5. }
  6. .container {
  7. background: #f4f4f4;
  8. width: 100%;
  9. height: auto;
  10. min-height: 100%;
  11. overflow: hidden;
  12. }
  13. .top {
  14. margin-top: 10rpx;
  15. background: #ffde57;
  16. padding: 15px 0;
  17. margin-bottom: 20rpx;
  18. border-bottom: 2rpx solid #999;
  19. border-top: 2rpx solid #999;
  20. }
  21. .top .msg {
  22. color: #000;
  23. margin-left: 30rpx;
  24. }
  25. .top .item-group {
  26. width: 750rpx;
  27. padding-bottom: 10px;
  28. padding: 0 31.25rpx;
  29. display: flex;
  30. flex-flow: row nowrap;
  31. align-items: center;
  32. justify-content: space-between;
  33. }
  34. .top .item-group .item {
  35. align-items: center;
  36. font-size: 25rpx;
  37. color: #000;
  38. }
  39. .result-empty {
  40. width: 100%;
  41. height: auto;
  42. margin: 0 auto;
  43. }
  44. .result-empty .c {
  45. width: 100%;
  46. height: auto;
  47. margin-top: 280rpx;
  48. }
  49. .result-empty .c image {
  50. margin: 0 auto;
  51. display: block;
  52. text-align: center;
  53. width: 180rpx;
  54. height: 180rpx;
  55. }
  56. .result-empty .c text {
  57. margin: 30rpx auto;
  58. display: block;
  59. width: 258rpx;
  60. height: 29rpx;
  61. line-height: 29rpx;
  62. text-align: center;
  63. font-size: 29rpx;
  64. color: #999;
  65. }
  66. .result-list {
  67. width: 100%;
  68. height: auto;
  69. overflow: hidden;
  70. margin-bottom: 120rpx;
  71. }
  72. .result-list .chat {
  73. height: auto;
  74. width: 100%;
  75. background: #fff;
  76. margin-bottom: 20rpx;
  77. }
  78. .result-list .item {
  79. height: 164rpx;
  80. width: 100%;
  81. overflow: hidden;
  82. border-bottom: 1rpx solid #ddd;
  83. border-top: 1rpx solid #ddd;
  84. }
  85. .result-list .item .avatar-item {
  86. float: left;
  87. /* width:190rpx; */
  88. }
  89. .result-list .item .avatar {
  90. float: left;
  91. height: 110rpx;
  92. width: 110rpx;
  93. background: #f4f4f4;
  94. margin: 19.5rpx 18rpx 19.5rpx 25rpx;
  95. border-radius: 50%;
  96. }
  97. .result-list .item .badge {
  98. background: red;
  99. position: relative;
  100. left: 110rpx;
  101. top: 13px;
  102. border: 3rpx solid #fff;
  103. border-radius: 50%;
  104. padding: 2rpx;
  105. width: 32rpx;
  106. height: 32rpx;
  107. }
  108. .result-list .item .badge .num {
  109. position: absolute;
  110. color: #fff;
  111. left: 0rpx;
  112. font-size: 20rpx;
  113. text-align: center;
  114. font-weight: bold;
  115. width: 30rpx;
  116. line-height: 13px;
  117. }
  118. .result-list .item .img {
  119. float: right;
  120. height: 130rpx;
  121. width: 130rpx;
  122. background: #f4f4f4;
  123. margin: 19.5rpx 18rpx 19.5rpx 25rpx;
  124. }
  125. .result-list .item .info {
  126. float: left;
  127. height: 125rpx;
  128. width: 380rpx;
  129. margin: 19.5rpx 0rpx 19.5rpx 20rpx;
  130. }
  131. .result-list .item .t {
  132. margin: 8rpx 0;
  133. font-size: 25rpx;
  134. color: #333;
  135. overflow: hidden;
  136. }
  137. .result-list .item .name {
  138. height: 28rpx;
  139. max-width: 310rpx;
  140. line-height: 30rpx;
  141. font-size: 30rpx;
  142. color: #000;
  143. overflow: hidden;
  144. }
  145. .result-list .item .time {
  146. margin-bottom: 17rpx;
  147. height: 24rpx;
  148. line-height: 24rpx;
  149. font-size: 22rpx;
  150. color: #666;
  151. overflow: hidden;
  152. }
  153. .result-list .item .b {
  154. height: 28rpx;
  155. line-height: 28rpx;
  156. font-size: 25rpx;
  157. color: #333;
  158. overflow: hidden;
  159. }
  160. .result-list .item .chat-msg {
  161. float: left;
  162. color: #666;
  163. font-size: 27rpx;
  164. }