index.wxss 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  1. .topic {
  2. background-color: #fff;
  3. margin-bottom: 20rpx;
  4. }
  5. .supply {
  6. position: relative;
  7. display: flex;
  8. justify-content: space-between;
  9. align-items: center;
  10. padding: 20rpx;
  11. font-size: 32rpx;
  12. }
  13. .supply::after {
  14. content: "";
  15. position: absolute;
  16. left: 0;
  17. bottom: 0;
  18. right: 0;
  19. border-bottom: 1px solid #ececec;
  20. transform-origin: 0 0;
  21. transform: scaleY(0.5);
  22. }
  23. .supply-l {
  24. display: flex;
  25. align-items: center;
  26. }
  27. .supply .avatar {
  28. position: relative;
  29. width: 80rpx;
  30. height: 80rpx;
  31. border-radius: 50%;
  32. background: #eee;
  33. margin-right: 8px;
  34. }
  35. .supply .avatar::before {
  36. content: "供";
  37. position: absolute;
  38. left: 0;
  39. top: 0;
  40. right: 0;
  41. display: block;
  42. line-height: 80rpx;
  43. text-align: center;
  44. color: #e5e5e5;
  45. font-weight: bold;
  46. z-index: 0;
  47. }
  48. .supply .avatar image {
  49. position: relative;
  50. width: 80rpx;
  51. height: 80rpx;
  52. border-radius: 50%;
  53. z-index: 1;
  54. }
  55. .supply .name {
  56. font-weight: bold;
  57. }
  58. .icon-right {
  59. width: 12rpx;
  60. height: 22rpx;
  61. margin-left: 5px;
  62. }
  63. .new-comers {
  64. position: relative;
  65. padding: 10rpx 20rpx 30rpx;
  66. }
  67. .new-comers-scroll {
  68. max-height: 320rpx;
  69. }
  70. .new-comers-wrap {
  71. position: relative;
  72. display: flex;
  73. flex-direction: row;
  74. flex-wrap: nowrap;
  75. }
  76. .new-comers-item {
  77. width: 240rpx;
  78. box-sizing: border-box;
  79. padding: 20rpx;
  80. font-size: 28rpx;
  81. }
  82. .new-comers-item .new-img {
  83. width: 200rpx;
  84. height: 180rpx;
  85. margin-bottom: 20rpx;
  86. }
  87. .new-comers-item .title {
  88. overflow: hidden;
  89. text-overflow: ellipsis;
  90. white-space: nowrap;
  91. }
  92. .new-comers-item .new-bot {
  93. display: flex;
  94. justify-content: space-between;
  95. align-items: center;
  96. margin-top: 10rpx;
  97. }
  98. .new-comers-item .add-cart {
  99. width: 44rpx;
  100. height: 44rpx;
  101. padding: 0;
  102. margin: 0;
  103. }
  104. .new-comers-item .add-cart .img {
  105. width: 44rpx;
  106. height: 44rpx;
  107. display: block;
  108. }
  109. .new-comers-item .price {
  110. color: #ff5041;
  111. }
  112. .new-comers-item {
  113. position: relative;
  114. }
  115. .new-comers-item .act-end {
  116. position: absolute;
  117. height: 60rpx;
  118. border-radius: 10rpx;
  119. background: rgba(0, 0, 0, 0.5);
  120. color: #fff;
  121. font-size: 28rpx;
  122. text-align: center;
  123. line-height: 60rpx;
  124. left: 50%;
  125. top: 80rpx;
  126. padding: 0 12rpx;
  127. transform: translateX(-50%);
  128. }