index.wxss 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586
  1. .community-item {
  2. box-sizing: border-box;
  3. display: flex;
  4. padding: 60rpx 30rpx;
  5. }
  6. .community-item .group-head {
  7. width: 80rpx;
  8. height: 80rpx;
  9. border-radius: 80rpx;
  10. }
  11. .community-item .community-title {
  12. font-size: 32rpx;
  13. line-height: 32rpx;
  14. height: 32rpx;
  15. width: 520rpx;
  16. margin-bottom: 20rpx;
  17. display: flex;
  18. justify-content: space-between;
  19. align-items: flex-end;
  20. }
  21. .community-item .community-title .span {
  22. color: #444;
  23. font-weight: 500;
  24. }
  25. .community-item .community-title .em {
  26. color: #ff5344;
  27. font-size: 26rpx;
  28. line-height: 26rpx;
  29. white-space: nowrap;
  30. }
  31. .community-item .community-address {
  32. font-size: 26rpx;
  33. line-height: 34rpx;
  34. color: #666;
  35. width: 520rpx;
  36. display: -webkit-box;
  37. -webkit-box-orient: vertical;
  38. -webkit-line-clamp: 2;
  39. overflow: hidden;
  40. text-overflow: initial;
  41. white-space: normal;
  42. /* margin-bottom: 6rpx; */
  43. }
  44. .community-item .group-master {
  45. width: 560rpx;
  46. font-size: 26rpx;
  47. line-height: 26rpx;
  48. color: #aaa;
  49. position: relative;
  50. margin-bottom: 6rpx;
  51. }
  52. .community-item .group-master .right-arrow {
  53. position: absolute;
  54. right: 0;
  55. top: 0;
  56. width: 14rpx;
  57. height: 28rpx;
  58. }
  59. .group-img {
  60. position: relative;
  61. width: 80rpx;
  62. height: 80rpx;
  63. border-radius: 80rpx;
  64. margin-right: 20rpx;
  65. overflow: hidden;
  66. }
  67. .rest {
  68. position: absolute;
  69. left: 0;
  70. bottom: 8rpx;
  71. right: 0;
  72. font-size: 18rpx;
  73. background: rgba(255, 83, 68, 0.8);
  74. text-align: center;
  75. color: #fff;
  76. padding: 2rpx 0 3rpx;
  77. }