index.wxss 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330
  1. @import "../../public/pages/public-view.wxss";
  2. Page {
  3. background-color: #F5F5F5;
  4. }
  5. .bg-scroll-view {
  6. width: 100%;
  7. height: 100%;
  8. background-color: rgba(0,0,0,0);
  9. }
  10. .banner, .banner+image, .banner+image+view {
  11. width: 750rpx;
  12. height: 192rpx;
  13. display: block;
  14. }
  15. .banner {
  16. margin-top: -600rpx;
  17. }
  18. .banner+image, .banner+image+view {
  19. margin-top: -192rpx;
  20. }
  21. .banner+image+view {
  22. display: flex;
  23. flex-direction: column;
  24. }
  25. .banner+image+view>text:first-child {
  26. font-size: 48rpx;
  27. color: white;
  28. margin: 22rpx auto 12rpx 56rpx;
  29. }
  30. .banner+image+view>text:last-child {
  31. font-size: 26rpx;
  32. color: white;
  33. margin-left: 56rpx;
  34. }
  35. /* broadcast */
  36. .broadcast {
  37. width: 100%;
  38. height: 90rpx;
  39. background-color: #FDF8EC;
  40. display: flex;
  41. }
  42. .broadcast>view {
  43. margin-left: 30rpx;
  44. width: 640rpx;
  45. overflow: hidden;
  46. }
  47. .broadcast>view>view {
  48. display: flex;
  49. }
  50. .broadcast view {
  51. height: 90rpx;
  52. }
  53. .broadcast text {
  54. margin-right: 200rpx;
  55. line-height: 90rpx;
  56. font-size: 26rpx;
  57. white-space: nowrap;
  58. overflow: hidden;
  59. /* background-color: #FDF8EC; */
  60. }
  61. .broadcast-text-n {
  62. color: #FF801A;
  63. }
  64. .broadcast-text-h {
  65. color: rgba(0, 0, 0, 0);
  66. }
  67. .broadcast>image {
  68. width: 60rpx;
  69. height: 60rpx;
  70. margin: auto 0;
  71. }
  72. /* tab-view */
  73. .tab-view {
  74. width: 100%;
  75. height: 228rpx;
  76. background-color: white;
  77. display: flex;
  78. }
  79. .tab-view>view {
  80. width: 180rpx;
  81. height: 228rpx;
  82. display: flex;
  83. flex-direction: column;
  84. margin-right: auto;
  85. }
  86. .tab-view>view:first-child {
  87. margin-left: 40rpx;
  88. }
  89. .tab-view>view:last-child {
  90. margin-right: 40rpx;
  91. }
  92. .tab-view image {
  93. width: 92rpx;
  94. height: 92rpx;
  95. margin: 40rpx auto 20rpx;
  96. }
  97. .tab-view text {
  98. font-size: 28rpx;
  99. color: #333333;
  100. text-align: center;
  101. }
  102. .tab-view + button {
  103. width: 180rpx;
  104. height: 228rpx;
  105. display: flex;
  106. margin-left: 40rpx;
  107. margin-top: -228rpx;
  108. }
  109. /* question-view */
  110. .question-view {
  111. background-color: white;
  112. width: 100%;
  113. display: flex;
  114. flex-direction: column;
  115. margin-top: 24rpx;
  116. }
  117. .question-view>view:first-child {
  118. width: 100%;
  119. height: 90rpx;
  120. display: flex;
  121. }
  122. .question-view>view:first-child>view:first-child {
  123. margin: auto 14rpx auto 30rpx;
  124. width: 6rpx;
  125. height: 28rpx;
  126. background-color: #3296FB;
  127. border-radius: 4px;
  128. }
  129. .question-view>view:first-child>text {
  130. font-size: 32rpx;
  131. color: #333333;
  132. font-weight: 700;
  133. line-height: 90rpx;
  134. }
  135. .question-view>view:first-child>view:last-child {
  136. font-family: PingFangSC-Regular;
  137. font-size: 28rpx;
  138. color: #3296FB;
  139. line-height: 90rpx;
  140. margin-left: auto;
  141. margin-right: 40rpx;
  142. }
  143. /* question-item */
  144. .question-item {
  145. background-color: white;
  146. width: 100%;
  147. height: 100rpx;
  148. display: flex;
  149. }
  150. .question-item>text {
  151. width: 620rpx;
  152. font-size: 32rpx;
  153. color: #333333;
  154. line-height: 100rpx;
  155. white-space: nowrap;
  156. text-overflow: ellipsis;
  157. overflow:hidden;
  158. }
  159. .question-item>image:first-child {
  160. width: 10rpx;
  161. height: 10rpx;
  162. margin: auto 20rpx auto 30rpx;
  163. }
  164. .question-item>image:last-child {
  165. width: 14rpx;
  166. height: 24rpx;
  167. margin: auto 30rpx auto 26rpx;
  168. }
  169. /* question-detail-view */
  170. .question-detail-view {
  171. width: 100%;
  172. height: 100%;
  173. position: fixed;
  174. background-color: rgba(0,0,0,0.56);
  175. top: 0rpx;
  176. z-index: 10001;
  177. }
  178. .question-detail-view>view {
  179. width: 100%;
  180. height: 800rpx;
  181. position: fixed;
  182. background-color: white;
  183. bottom: -800rpx;
  184. display: flex;
  185. flex-direction: column;
  186. }
  187. .question-detail-view>view>view:nth-child(1) {
  188. width: 100%;
  189. /* height: 108rpx; */
  190. display: flex;
  191. }
  192. .question-detail-view>view>view:nth-child(1)>view {
  193. width: 6rpx;
  194. height: 32rpx;
  195. margin: 36rpx 20rpx 0 30rpx;
  196. background-color: #3296FB;
  197. }
  198. .question-detail-view>view>view:nth-child(1)>text {
  199. font-family: PingFangSC-Medium;
  200. font-size: 32rpx;
  201. color: #333333;
  202. width: 600rpx;
  203. line-height: 56rpx;
  204. margin-right: auto;
  205. /* white-space: nowrap; */
  206. /* text-overflow: ellipsis;
  207. overflow:hidden; */
  208. margin: 26rpx auto 26rpx 0;
  209. }
  210. .question-detail-view>view>view:nth-child(1)>image {
  211. width: 92rpx;
  212. height: 92rpx;
  213. margin: 8rpx 0 0;
  214. }
  215. .question-detail-view>view>view:nth-child(2), .question-detail-view>view>view:nth-child(4) {
  216. width: 100%;
  217. height: 0.7px;
  218. background-color: #eeeeee;
  219. }
  220. .question-detail-view>view>view:nth-child(2) {
  221. margin-top: -0.7px;
  222. }
  223. .question-detail-view>view>view:nth-child(5) {
  224. width: 100%;
  225. height: 100rpx;
  226. display: flex;
  227. }
  228. .question-detail-view>view>view:nth-child(5)>text {
  229. font-size: 28rpx;
  230. color: #333333;
  231. line-height: 100rpx;
  232. margin-left: 30rpx;
  233. }
  234. .question-detail-view>view>view:nth-child(5)>view:nth-child(3) {
  235. width: 0.7px;
  236. height: 56rpx;
  237. margin: auto 0;
  238. background-color: #eeeeee;
  239. }
  240. .question-detail-view>view>view:nth-child(5)>view:nth-child(2),.question-detail-view>view>view:nth-child(5)>view:nth-child(4) {
  241. width: 240rpx;
  242. height: 100rpx;
  243. display: flex;
  244. }
  245. .question-detail-view>view>view:nth-child(5)>view:nth-child(2) {
  246. margin-left: auto;
  247. }
  248. .question-detail-view>view>view:nth-child(5)>view image {
  249. width: 36rpx;
  250. height: 36rpx;
  251. margin: auto 14rpx auto auto;
  252. }
  253. .question-detail-view>view>view:nth-child(5)>view text {
  254. font-size: 28rpx;
  255. color: #3296FB ;
  256. line-height: 100rpx;
  257. margin-right: auto;
  258. }
  259. .question-detail-scroll {
  260. width: 100%;
  261. height: 590rpx;
  262. }
  263. .question-detail-title {
  264. font-size: 30rpx;
  265. font-weight: bold;
  266. color: #333333;
  267. line-height: 52rpx;
  268. margin: 30rpx 40rpx 0;
  269. display: block;
  270. }
  271. .question-detail-title+text {
  272. font-size: 30rpx;
  273. color: #151515;
  274. line-height: 52rpx;
  275. margin: 0 40rpx 44rpx;
  276. display: block;
  277. }