index.wxss 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  1. page {
  2. height: 100%;
  3. }
  4. .num {
  5. position: absolute;
  6. width: 40rpx;
  7. height: 40rpx;
  8. background: #FF0000;
  9. border-radius: 50%;
  10. color: #ffffff;
  11. text-align: center;
  12. line-height: 40rpx;
  13. font-size: 22rpx !important;
  14. right: -40rpx;
  15. top: 0rpx;
  16. }
  17. .conversations {
  18. width: 750rpx;
  19. overflow-x: hidden;
  20. display: flex;
  21. flex-direction: column;
  22. box-sizing: border-box;
  23. /* height: 100%; */
  24. padding-bottom: 100rpx;
  25. }
  26. .conversations .scroll-item {
  27. height: 152rpx;
  28. display: flex;
  29. align-items: center;
  30. padding-left: 32rpx;
  31. border-bottom: 1px solid #EFEFEF;
  32. }
  33. .conversations .scroll-item .head-icon {
  34. width: 100rpx;
  35. height: 100rpx;
  36. margin-right: 28rpx;
  37. }
  38. .conversations .scroll-item_info {
  39. height: 151rpx;
  40. width: 590rpx;
  41. padding-right: 32rpx;
  42. box-sizing: border-box;
  43. }
  44. .conversations .scroll-item_info .item-info-top {
  45. padding-top: 20rpx;
  46. height: 60rpx;
  47. line-height: 60rpx;
  48. display: flex;
  49. align-items: center;
  50. justify-content: space-between;
  51. }
  52. .conversations .item-info-top_name {
  53. font-size: 34rpx;
  54. color: #262628;
  55. }
  56. .conversations .item-info-top_time {
  57. font-size: 26rpx;
  58. color: rgba(179, 179, 179, 0.8);
  59. font-family: Source Han Sans CN;
  60. }
  61. .conversations .item-info-bottom {
  62. height: 40rpx;
  63. line-height: 40rpx;
  64. overflow: hidden;
  65. }
  66. .conversations .item-info-bottom-item {
  67. display: flex;
  68. justify-content: space-between;
  69. }
  70. .item-info-bottom .item-info-top_content {
  71. font-size: 30rpx;
  72. color: #b3b3b3;
  73. overflow: hidden;
  74. text-overflow: ellipsis;
  75. white-space: nowrap;
  76. }
  77. .item-info-bottom .item-info-bottom_action {
  78. width: 50rpx;
  79. height: 50rpx;
  80. font-size: 20rpx;
  81. background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAASCAYAAABWzo5XAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAABgSURBVHgB7Y6xDYAwDASDvQAjsBmNF2CDsAEDuGEzRsgCtnikBCEqQpucFOlPl8IhdBpmUNXZzDbsxMxRRPYSaxpBImTEm3K4qWmUpZBeF39u5O4LxnEJ9vr8+bd1muMEOUNL5++YjiMAAAAASUVORK5CYII=) no-repeat center;
  82. background-size: 28rpx 30rpx;
  83. }
  84. .no-conversation {
  85. width: 100%;
  86. text-align: center;
  87. height: 80rpx;
  88. line-height: 80rpx;
  89. font-size: 28rpx;
  90. color: #9D9D9D;
  91. }
  92. .item-head {
  93. position: relative;
  94. }
  95. .item-head .item-head_unread {
  96. padding: 6rpx;
  97. background-color: #EE593C;
  98. color: #FFFFFF;
  99. font-size: 24rpx;
  100. line-height: 28rpx;
  101. border-radius: 24rpx;
  102. min-width: 24rpx;
  103. min-height: 24rpx;
  104. text-align: center;
  105. position: absolute;
  106. top: 0;
  107. right: 15rpx;
  108. }
  109. .action-container {
  110. width: 100%;
  111. height: 100%;
  112. position: absolute;
  113. top: 0;
  114. left: 0;
  115. display: flex;
  116. justify-content: center;
  117. align-items: center;
  118. }
  119. .action-container .layer {
  120. position: absolute;
  121. top: 0;
  122. left: 0;
  123. background: rgba(51, 51, 51, 0.5);
  124. width: 100%;
  125. height: 100%;
  126. z-index: 99;
  127. }
  128. .action-box {
  129. width: 400rpx;
  130. height: 240rpx;
  131. background: #ffffff;
  132. position: relative;
  133. z-index: 100;
  134. border-radius: 20rpx;
  135. overflow: hidden;
  136. }
  137. .action-item {
  138. text-align: center;
  139. line-height: 120rpx;
  140. font-size: 34rpx;
  141. color: #262628;
  142. border-bottom: 1px solid #EFEFEF;
  143. }