业务交流通
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

listItem.wxss 3.1KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172
  1. /* components/listItem/listItem.wxss */
  2. .fl {
  3. float: left;
  4. }
  5. .fr {
  6. float: right;
  7. }
  8. /* list块-头部 */
  9. .list-avatar {
  10. height: 60rpx;
  11. line-height: 60rpx;
  12. }
  13. .list-chatHeads{
  14. width: 60rpx;
  15. height: 60rpx;
  16. border-radius: 50%;
  17. background: #999;
  18. }
  19. .list-chatHeads .chatHeads-img{
  20. width: 100%;
  21. height: 100%;
  22. border-radius: 50%;
  23. }
  24. /* 平台认证 */
  25. .list-certification {
  26. position: absolute;
  27. right: 0;
  28. top: 22rpx;
  29. width: 130rpx;
  30. height: 40rpx;
  31. line-height: 40rpx;
  32. background-color: #fff0be;
  33. border-radius: 18rpx 0 0 18rpx;
  34. text-align: center;
  35. color: #ef6f10;
  36. font-size: 20rpx;
  37. }
  38. .list-certification .certification-img{
  39. width: 26rpx;
  40. height: 27rpx;
  41. position: relative;
  42. top: 6rpx;
  43. }
  44. /* 名称 */
  45. .list-nick-name {
  46. margin-left: 15rpx;
  47. max-width: 300rpx;
  48. white-space:nowrap;
  49. overflow:hidden;
  50. text-overflow:ellipsis;
  51. font-weight: bold;
  52. }
  53. /* 主页 */
  54. .list-home {
  55. color: #827de5;
  56. border-radius: 16px;
  57. border: solid 1px #827de5;
  58. width: 96rpx;
  59. height: 32rpx;
  60. line-height: 32rpx;
  61. font-size: 20rpx;
  62. text-align: center;
  63. margin-top: 15rpx;
  64. margin-left: 15rpx;
  65. }
  66. .list-home .home-img{
  67. width: 22rpx;
  68. height: 23rpx;
  69. position: relative;
  70. top: 2rpx;
  71. }
  72. /* 内容容器 */
  73. .list-content {
  74. padding-left: 75rpx;
  75. padding-right: 15rpx;
  76. }
  77. /* 详情 */
  78. .list-details-text{
  79. margin: 15rpx 0;
  80. word-break: break-all;
  81. text-overflow: ellipsis;
  82. overflow: hidden;
  83. display: -webkit-box;
  84. }
  85. .list-details-text.need {
  86. -webkit-line-clamp: 3;
  87. -webkit-box-orient: vertical;
  88. }
  89. /* 标签 */
  90. .list-tag-view {
  91. margin-bottom: 20rpx;
  92. }
  93. .list-tag-view .list-tag{
  94. display: inline-block;
  95. width: 120rpx;
  96. height: 36rpx;
  97. border-radius: 18rpx;
  98. text-align: center;
  99. line-height: 36rpx;
  100. font-size: 20rpx;
  101. margin-right: 15rpx;
  102. }
  103. .list-tag-view .list-tag:nth-child(1){
  104. background-color: #e4f1f7;
  105. color: #3d97e6;
  106. }
  107. .list-tag-view .list-tag:nth-child(2){
  108. background-color: #f7eee4;
  109. color: #f29f61;
  110. }
  111. .list-tag-view .list-tag:nth-child(3){
  112. background-color: #eafee3;
  113. color: #80c269;
  114. }
  115. /* 底部 */
  116. .list-foot {
  117. height: 62rpx;
  118. line-height: 62rpx;
  119. }
  120. .list-foot-text-lf{
  121. color: #999;
  122. font-size: 22rpx;
  123. margin-right: 40rpx;
  124. }
  125. .list-foot-text-lf .browse-img{
  126. width: 24rpx;
  127. height: 18rpx;
  128. }
  129. .list-foot-text-lf .time-img{
  130. width: 24rpx;
  131. height: 24rpx;
  132. position: relative;
  133. top: 1rpx;
  134. }
  135. .list-foot-text-chat {
  136. height: 62rpx;
  137. width: 180rpx;
  138. background-color: #5e73e5;
  139. box-shadow: -1px 3px 12px 4px
  140. rgba(62, 95, 179, 0.14);
  141. border-radius: 31rpx;
  142. text-align: center;
  143. color: #fff;
  144. font-size: 24rpx;
  145. }
  146. .list-foot-text-chat .chat-img{
  147. width: 28rpx;
  148. height: 28rpx;
  149. position: relative;
  150. top: 4rpx;
  151. left: -10rpx;
  152. }
  153. .list-collect-view .collect-img {
  154. width: 22rpx;
  155. height: 19rpx;
  156. }
  157. .list-collect-view {
  158. color: #e16531;
  159. font-size: 22rpx;
  160. position: relative;
  161. top: 1rpx;
  162. }
  163. .is-details-page .list-foot-text-lf{
  164. margin-right: 20rpx;
  165. }