index.css 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194
  1. /*
  2. /* 热门问答 */
  3. .rnwdList {
  4. width: 100%;
  5. }
  6. .list {
  7. border-bottom: solid 2rpx #f6f6f6;
  8. padding: 10rpx 0;
  9. width: 100%;
  10. }
  11. .listTitle {
  12. font-size: 32rpx;
  13. color: #333;
  14. line-height: 40rpx;
  15. }
  16. .jlSj {
  17. height: 40rpx;
  18. display: flex;
  19. justify-content: space-between;
  20. align-items: center;
  21. font-size: 24rpx;
  22. margin: 20rpx 0 0 0;
  23. }
  24. .jf {
  25. color: #07c160;
  26. }
  27. .icon-jifen {
  28. font-size: 26rpx;
  29. color: #07c160;
  30. margin: 0 0 0 6rpx;
  31. }
  32. .ck {
  33. color: #c4c4c4;
  34. }
  35. .icon-pinglun,
  36. .icon-chakan,
  37. .icon-shoucang {
  38. font-size: 28rpx;
  39. margin: 0 6rpx 0 20rpx;
  40. color: #c4c4c4;
  41. }
  42. .onePic {
  43. width: 100%;
  44. height: 360rpx;
  45. border-radius: 20rpx;
  46. overflow: hidden;
  47. margin: 20rpx 0;
  48. }
  49. .onePic image {
  50. width: 100%;
  51. height: 100%;
  52. }
  53. .imageContainer {
  54. display: flex;
  55. }
  56. .imageContainer.one-image {
  57. justify-content: center;
  58. align-items: center;
  59. }
  60. .imageContainer.two-images {
  61. justify-content: space-between;
  62. }
  63. .imageContainer.three-images {
  64. justify-content: space-between;
  65. }
  66. .imageContainer image {
  67. /* 根据需要设置图片样式 */
  68. }
  69. .twoPic {
  70. width: 100%;
  71. height: 220rpx;
  72. margin: 20rpx 0;
  73. display: flex;
  74. justify-content: space-between;
  75. }
  76. .twoPic image {
  77. width: 49%;
  78. height: auto;
  79. border-radius: 20rpx;
  80. }
  81. .threePic {
  82. width: 100%;
  83. height: 160rpx;
  84. margin: 20rpx 0;
  85. display: flex;
  86. justify-content: space-between;
  87. }
  88. .threePic image {
  89. width: 32%;
  90. height: auto;
  91. border-radius: 20rpx;
  92. }
  93. /* 热门知识 */
  94. .rmzsList li {
  95. width: 100%;
  96. border-bottom: solid 2rpx #f6f6f6;
  97. padding: 20rpx 0;
  98. display: flex;
  99. justify-content: space-between;
  100. }
  101. .rmzsList li image {
  102. width: 40%;
  103. height: 200rpx;
  104. }
  105. .listCont {
  106. width: 58%;
  107. }
  108. .listCont p {
  109. font-size: 32rpx;
  110. color: #333;
  111. overflow: hidden;
  112. line-height: 40rpx;
  113. overflow: hidden;
  114. text-overflow: ellipsis;
  115. display: -webkit-box;
  116. -webkit-line-clamp: 2;
  117. -webkit-box-orient: vertical;
  118. }
  119. .listCont text {
  120. font-size: 24rpx;
  121. color: #9c9c9c;
  122. }
  123. .biaoqian {
  124. display: flex;
  125. margin: 6rpx 0;
  126. }
  127. .biaoqian span {
  128. padding: 2rpx 20rpx;
  129. font-size: 20rpx;
  130. background: #e0e0e0;
  131. color: #9c9c9c;
  132. margin: 0 20rpx 0 0;
  133. border-radius: 30rpx;
  134. }
  135. .jiage {
  136. display: flex;
  137. }
  138. .yhjg {
  139. font-size: 30rpx;
  140. color: #07c160;
  141. }
  142. .yhjg em {
  143. font-size: 24rpx;
  144. color: #07c160;
  145. }
  146. .yjjg {
  147. font-size: 24rpx;
  148. color: #9c9c9c;
  149. margin: 6rpx 0 0 20rpx;
  150. text-decoration: line-through;
  151. }
  152. /* 公告start */
  153. .swiper_container {
  154. height: 55rpx;
  155. width: 70%;
  156. line-height: 60rpx;
  157. }
  158. .swiper_item {
  159. color: #000;
  160. font-size: 28rpx;
  161. overflow: hidden;
  162. text-overflow: ellipsis;
  163. white-space: nowrap;
  164. }