questionlist.css 3.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191
  1. /* pages/sannong.wxss */
  2. .snTab {
  3. width: 100%;
  4. }
  5. .fontColorBox,
  6. .fontColorBox1 {
  7. color: #07c160;
  8. }
  9. .navBox {
  10. /* 顶部tab盒子样式 */
  11. width: 100%;
  12. height: 108rpx;
  13. background: white;
  14. display: flex;
  15. justify-content: space-between;
  16. align-items: center;
  17. justify-content: center;
  18. }
  19. /* 最后一个tab标题的样式 */
  20. .titleBox {
  21. /* 未选中文字的样式 */
  22. color: rgb(168, 170, 175);
  23. font-size: 30rpx;
  24. display: flex;
  25. flex-direction: column;
  26. align-items: center;
  27. width: 32%;
  28. }
  29. .lineBox,
  30. .notLineBox {
  31. /* 选中及未选中底线共同样式 */
  32. width: 32rpx;
  33. height: 8rpx;
  34. }
  35. .lineBox {
  36. /* 选中底线样式 */
  37. background: #07c160;
  38. margin-top: 16rpx;
  39. border-radius: 4rpx;
  40. }
  41. .notLineBox {
  42. /* 未选中底线样式 */
  43. background: transparent;
  44. }
  45. .swiperTtemBox {
  46. /* 底部内容样式 */
  47. height: 100vh;
  48. overflow: scroll;
  49. margin: 12rpx 0rpx;
  50. background: white;
  51. font-size: 28rpx;
  52. }
  53. /* 热门问答 */
  54. .rnwdList {
  55. width: 100%;
  56. height: 100%;
  57. }
  58. .list {
  59. border-bottom: solid 2rpx #f6f6f6;
  60. padding: 10rpx 0;
  61. width: 100%;
  62. }
  63. .listTitle {
  64. font-size: 32rpx;
  65. color: #333;
  66. line-height: 40rpx;
  67. }
  68. .jlSj {
  69. height: 40rpx;
  70. display: flex;
  71. justify-content: space-between;
  72. font-size: 24rpx;
  73. margin: 20rpx 0 0 0;
  74. }
  75. .jf {
  76. color: #07c160;
  77. }
  78. .icon-jifen {
  79. font-size: 28rpx;
  80. color: #07c160;
  81. margin: 0 0 0 6rpx;
  82. }
  83. .ck {
  84. color: #c4c4c4;
  85. }
  86. .icon-pinglun,
  87. .icon-chakan,
  88. .icon-shoucang {
  89. font-size: 28rpx;
  90. margin: 0 6rpx 0 20rpx;
  91. color: #c4c4c4;
  92. }
  93. .onePic {
  94. width: 100%;
  95. height: 360rpx;
  96. border-radius: 20rpx;
  97. overflow: hidden;
  98. margin: 20rpx 0;
  99. }
  100. .onePic image {
  101. width: 100%;
  102. height: 100%;
  103. }
  104. .twoPic {
  105. width: 100%;
  106. height: 220rpx;
  107. margin: 20rpx 0;
  108. display: flex;
  109. justify-content: space-between;
  110. }
  111. .twoPic image {
  112. width: 49%;
  113. height: auto;
  114. border-radius: 20rpx;
  115. }
  116. .threePic {
  117. width: 100%;
  118. height: 160rpx;
  119. margin: 20rpx 0;
  120. display: flex;
  121. justify-content: space-between;
  122. }
  123. .threePic image {
  124. width: 32%;
  125. height: auto;
  126. border-radius: 20rpx;
  127. }
  128. .pane-con {
  129. margin: 20rpx 0;
  130. }
  131. .tabs-pane {
  132. padding: 10rpx 20rpx;
  133. margin-right: 20rpx;
  134. border: 1px solid lightgrey;
  135. }
  136. .tabs-pane:nth-last-child(1) {
  137. margin-right: 0;
  138. }
  139. .tabs-pane.active {
  140. background: #5495df;
  141. border-color: #5495df;
  142. color: #fff;
  143. }
  144. .tab-class {
  145. position: absolute;
  146. top: 0;
  147. left: 0;
  148. width: 100vw;
  149. bottom: 0;
  150. }
  151. .guidebook .img_box {
  152. margin-bottom: 12rpx;
  153. padding-left: 4rpx;
  154. }
  155. .guidebook .img_box .many_img {
  156. display: flex;
  157. justify-self: start;
  158. flex-wrap: wrap;
  159. }
  160. .guidebook .img_item.four {
  161. width: 198rpx;
  162. height: 198rpx;
  163. margin-right: 16rpx;
  164. margin-bottom: 16rpx;
  165. border-radius: 16rpx;
  166. overflow: hidden;
  167. }
  168. .guidebook .img_item.four:nth-child(2n) {
  169. margin-right: 30rpx;
  170. }
  171. .guidebook .img_item.many {
  172. width: 198rpx;
  173. height: 198rpx;
  174. margin-right: 16rpx;
  175. margin-bottom: 16rpx;
  176. border-radius: 16rpx;
  177. overflow: hidden;
  178. }
  179. .guidebook .img_item.many:nth-child(3n) {
  180. margin-right: 0;
  181. }