detail.wxss 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300
  1. .container.data-v-db914789 {
  2. width: 100%;
  3. height: 100vh;
  4. background-color: #FFFFFF;
  5. display: flex;
  6. flex-direction: column;
  7. overflow: hidden;
  8. /* 防止页面整体滚动,交给 scroll-view */
  9. }
  10. /* 返回按钮 */
  11. .custom-nav.data-v-db914789 {
  12. position: fixed;
  13. top: 0;
  14. left: 0;
  15. width: 100%;
  16. z-index: 999;
  17. padding-left: 30rpx;
  18. }
  19. .custom-nav .nav-back-wrap.data-v-db914789 {
  20. width: 64rpx;
  21. height: 64rpx;
  22. background: rgba(0, 0, 0, 0.35);
  23. border-radius: 50%;
  24. display: flex;
  25. align-items: center;
  26. justify-content: center;
  27. margin-top: 10px;
  28. }
  29. .custom-nav .nav-back-wrap .back-icon.data-v-db914789 {
  30. width: 44rpx;
  31. height: 44rpx;
  32. }
  33. /* 滑动主体 */
  34. .scroll-body.data-v-db914789 {
  35. flex: 1;
  36. /* 撑满剩余空间 */
  37. height: 0;
  38. /* 触发 flex 计算 */
  39. }
  40. /* 轮播图 */
  41. .banner-section.data-v-db914789 {
  42. width: 100%;
  43. height: 500rpx;
  44. }
  45. .banner-section .banner-swiper.data-v-db914789 {
  46. width: 100%;
  47. height: 100%;
  48. }
  49. .banner-section .banner-img.data-v-db914789 {
  50. width: 100%;
  51. height: 100%;
  52. }
  53. /* 内容板块 */
  54. .content-panel.data-v-db914789 {
  55. background: #FFF;
  56. border-radius: 40rpx 40rpx 0 0;
  57. margin-top: -40rpx;
  58. position: relative;
  59. z-index: 10;
  60. padding: 50rpx 40rpx 0;
  61. }
  62. .content-panel .header-info.data-v-db914789 {
  63. margin-bottom: 40rpx;
  64. }
  65. .content-panel .header-info .title.data-v-db914789 {
  66. font-size: 44rpx;
  67. font-weight: bold;
  68. color: #1A1A1A;
  69. display: block;
  70. margin-bottom: 30rpx;
  71. }
  72. .content-panel .header-info .meta-list.data-v-db914789 {
  73. display: flex;
  74. flex-direction: column;
  75. gap: 16rpx;
  76. }
  77. .content-panel .header-info .meta-list .meta-item.data-v-db914789 {
  78. display: flex;
  79. font-size: 28rpx;
  80. }
  81. .content-panel .header-info .meta-list .meta-item .label.data-v-db914789 {
  82. color: #666;
  83. width: 160rpx;
  84. flex-shrink: 0;
  85. }
  86. .content-panel .header-info .meta-list .meta-item .value.data-v-db914789 {
  87. color: #333;
  88. font-weight: 500;
  89. }
  90. .content-panel .divider-line.data-v-db914789 {
  91. height: 1rpx;
  92. background: #F0F0F0;
  93. margin: 40rpx 0;
  94. }
  95. .content-panel .detail-section.data-v-db914789 {
  96. margin-bottom: 40rpx;
  97. }
  98. .content-panel .detail-section .section-title.data-v-db914789 {
  99. font-size: 34rpx;
  100. font-weight: bold;
  101. color: #1A1A1A;
  102. display: block;
  103. margin-bottom: 30rpx;
  104. }
  105. .content-panel .detail-section .tag-cloud.data-v-db914789 {
  106. display: flex;
  107. flex-wrap: wrap;
  108. gap: 16rpx;
  109. margin-bottom: 32rpx;
  110. }
  111. .content-panel .detail-section .tag-cloud .detail-tag.data-v-db914789 {
  112. font-size: 24rpx;
  113. color: #666;
  114. background: #F5F7FA;
  115. padding: 10rpx 24rpx;
  116. border-radius: 10rpx;
  117. }
  118. .content-panel .detail-section .description.data-v-db914789 {
  119. margin-bottom: 40rpx;
  120. }
  121. .content-panel .detail-section .description .desc-label.data-v-db914789 {
  122. font-size: 28rpx;
  123. color: #1A1A1A;
  124. font-weight: bold;
  125. display: block;
  126. margin-bottom: 12rpx;
  127. }
  128. .content-panel .detail-section .description .desc-content.data-v-db914789 {
  129. font-size: 28rpx;
  130. color: #666;
  131. line-height: 1.6;
  132. }
  133. .content-panel .diagram-section.data-v-db914789 {
  134. width: 100%;
  135. margin-top: 20rpx;
  136. }
  137. .content-panel .diagram-section .diagram-img.data-v-db914789 {
  138. width: 100%;
  139. border-radius: 12rpx;
  140. }
  141. .content-panel .loading-state.data-v-db914789 {
  142. display: flex;
  143. justify-content: center;
  144. align-items: center;
  145. padding: 80rpx 0;
  146. }
  147. .content-panel .loading-state .loading-text.data-v-db914789 {
  148. font-size: 28rpx;
  149. color: #999;
  150. }
  151. .end-of-page.data-v-db914789 {
  152. display: flex;
  153. align-items: center;
  154. justify-content: center;
  155. padding: 60rpx 0 40rpx;
  156. }
  157. .end-of-page .line.data-v-db914789 {
  158. width: 60rpx;
  159. height: 1rpx;
  160. background: #EEE;
  161. margin: 0 20rpx;
  162. }
  163. .end-of-page .end-text.data-v-db914789 {
  164. font-size: 24rpx;
  165. color: #BBB;
  166. }
  167. .bottom-placeholder.data-v-db914789 {
  168. height: calc(140rpx + env(safe-area-inset-bottom));
  169. }
  170. .bottom-bar.data-v-db914789 {
  171. position: fixed;
  172. bottom: 0;
  173. left: 0;
  174. right: 0;
  175. background: #FFF;
  176. padding: 20rpx 40rpx;
  177. padding-bottom: calc(20rpx + env(safe-area-inset-bottom));
  178. box-shadow: 0 -4rpx 20rpx rgba(0, 0, 0, 0.05);
  179. z-index: 1000;
  180. display: flex;
  181. align-items: center;
  182. gap: 40rpx;
  183. }
  184. .bottom-bar .action-item.data-v-db914789 {
  185. display: flex;
  186. flex-direction: column;
  187. align-items: center;
  188. min-width: 100rpx;
  189. }
  190. .bottom-bar .action-item .action-icon.data-v-db914789 {
  191. width: 44rpx;
  192. height: 44rpx;
  193. margin-bottom: 4rpx;
  194. }
  195. .bottom-bar .action-item .action-text.data-v-db914789 {
  196. font-size: 22rpx;
  197. color: #666;
  198. }
  199. .bottom-bar .action-item .action-text.active.data-v-db914789 {
  200. color: #FFB700;
  201. }
  202. .bottom-bar .small-consult-btn.data-v-db914789 {
  203. flex: 1;
  204. height: 84rpx;
  205. line-height: 84rpx;
  206. background: #FFB700;
  207. color: #FFF;
  208. border-radius: 42rpx;
  209. font-size: 30rpx;
  210. font-weight: bold;
  211. box-shadow: 0 6rpx 12rpx rgba(255, 183, 0, 0.2);
  212. }
  213. .bottom-bar .small-consult-btn.data-v-db914789::after {
  214. border: none;
  215. }
  216. .bottom-bar .small-consult-btn.data-v-db914789:active {
  217. opacity: 0.9;
  218. }
  219. .bottom-bar .report-btn.data-v-db914789 {
  220. flex: 1;
  221. height: 84rpx;
  222. line-height: 84rpx;
  223. background: #E8F0FF;
  224. color: #2B5CFF;
  225. border-radius: 42rpx;
  226. font-size: 30rpx;
  227. font-weight: bold;
  228. }
  229. .bottom-bar .report-btn.data-v-db914789::after {
  230. border: none;
  231. }
  232. .bottom-bar .report-btn.data-v-db914789:active {
  233. opacity: 0.9;
  234. }
  235. .bottom-bar .report-btn.disabled.data-v-db914789 {
  236. background: #F0F2F5;
  237. color: #C0C4CC;
  238. pointer-events: none;
  239. }
  240. .bottom-bar .start-exam-btn.data-v-db914789 {
  241. flex: 1.5;
  242. height: 84rpx;
  243. line-height: 84rpx;
  244. background: linear-gradient(135deg, #1F6CFF 0%, #0056FF 100%);
  245. color: #FFF;
  246. border-radius: 42rpx;
  247. font-size: 30rpx;
  248. font-weight: bold;
  249. box-shadow: 0 6rpx 16rpx rgba(31, 108, 255, 0.3);
  250. }
  251. .bottom-bar .start-exam-btn.data-v-db914789::after {
  252. border: none;
  253. }
  254. .bottom-bar .start-exam-btn.data-v-db914789:active {
  255. opacity: 0.9;
  256. transform: scale(0.98);
  257. }
  258. .bottom-bar .apply-btn.data-v-db914789 {
  259. flex: 1.5;
  260. height: 84rpx;
  261. line-height: 84rpx;
  262. background: #1F6CFF;
  263. color: #FFF;
  264. border-radius: 42rpx;
  265. font-size: 30rpx;
  266. font-weight: bold;
  267. box-shadow: 0 6rpx 16rpx rgba(31, 108, 255, 0.3);
  268. }
  269. .bottom-bar .apply-btn.data-v-db914789::after {
  270. border: none;
  271. }
  272. .bottom-bar .apply-btn.data-v-db914789:active {
  273. opacity: 0.9;
  274. transform: scale(0.98);
  275. }
  276. .bottom-bar .applied-btn.data-v-db914789 {
  277. flex: 1.5;
  278. height: 84rpx;
  279. line-height: 84rpx;
  280. background: #E0E0E0;
  281. color: #999;
  282. border-radius: 42rpx;
  283. font-size: 30rpx;
  284. font-weight: bold;
  285. }
  286. .bottom-bar .applied-btn.data-v-db914789::after {
  287. border: none;
  288. }
  289. /* 针对所有 scroll-view 隐藏滚动条 */
  290. ::-webkit-scrollbar {
  291. display: none !important;
  292. width: 0 !important;
  293. height: 0 !important;
  294. background: transparent;
  295. }