index.wxss 4.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271
  1. /* pages/exhibition/activeDetails/index.wxss */
  2. .detail-container {
  3. position: relative;
  4. min-height: 100vh;
  5. padding: 20rpx 20rpx 80rpx 20rpx;
  6. background: url('https://sit-kelamayi.4dage.com/mini/wxImg/bg.png') no-repeat;
  7. background-size: cover;
  8. }
  9. .back-button {
  10. position: absolute;
  11. top: 20rpx;
  12. left: 20rpx;
  13. width: 80rpx;
  14. height: 80rpx;
  15. border-radius: 50%;
  16. z-index: 10;
  17. }
  18. .back-button image {
  19. width: 80rpx;
  20. height: 80rpx;
  21. }
  22. .loading-container {
  23. display: flex;
  24. justify-content: center;
  25. align-items: center;
  26. height: 400rpx;
  27. }
  28. .loading-text {
  29. font-size: 32rpx;
  30. color: #666;
  31. }
  32. .detail-content {
  33. margin-top: 80rpx;
  34. padding: 16rpx;
  35. border-radius: 20rpx;
  36. }
  37. .detail-content.notMargin {
  38. margin-top: 20rpx;
  39. }
  40. .detail-title {
  41. font-size: 48rpx;
  42. font-weight: bold;
  43. color: #584735;
  44. margin-bottom: 20rpx;
  45. line-height: 1.4;
  46. }
  47. .detail-time {
  48. font-size: 28rpx;
  49. color: #584735;
  50. margin-bottom: 20rpx;
  51. }
  52. .line {
  53. height: 4rpx;
  54. background: linear-gradient(90deg, rgba(91, 71, 46, 0.5) 0%, rgba(91, 71, 46, 0) 100%);
  55. margin-bottom: 20rpx;
  56. }
  57. .detail-text {
  58. font-size: 32rpx;
  59. line-height: 1.6;
  60. color: #584735;
  61. margin-top: 40rpx;
  62. }
  63. .error-state {
  64. display: flex;
  65. flex-direction: column;
  66. justify-content: center;
  67. align-items: center;
  68. height: 400rpx;
  69. }
  70. .error-text {
  71. font-size: 32rpx;
  72. color: #584735;
  73. margin-bottom: 40rpx;
  74. }
  75. .retry-button {
  76. padding: 20rpx 40rpx;
  77. background: #007bff;
  78. color: white;
  79. border: none;
  80. border-radius: 10rpx;
  81. font-size: 28rpx;
  82. }
  83. /* 展览特有按钮样式 */
  84. .exhibition-actions {
  85. margin-top: 60rpx;
  86. text-align: center;
  87. }
  88. .online-exhibition-btn {
  89. width: 560rpx;
  90. display: inline-flex;
  91. align-items: center;
  92. justify-content: center;
  93. padding: 24rpx 80rpx;
  94. background: linear-gradient(135deg, #B8956A 0%, #A0845A 100%);
  95. color: white;
  96. border-radius: 50rpx;
  97. font-size: 32rpx;
  98. font-weight: 500;
  99. box-shadow: 0 8rpx 24rpx rgba(184, 149, 106, 0.3);
  100. }
  101. .btn-icon {
  102. width: 40rpx;
  103. height: 40rpx;
  104. margin-right: 16rpx;
  105. }
  106. .active-preview-btn {
  107. height: 120rpx;
  108. position: fixed;
  109. bottom: 28rpx;
  110. left: 0;
  111. width: 100%;
  112. display: flex;
  113. justify-content: center;
  114. align-items: center;
  115. margin-top: 60rpx;
  116. }
  117. .preview-btn {
  118. width: 560rpx;
  119. height: 120rpx;
  120. background: #B1967B;
  121. display: flex;
  122. align-items: center;
  123. justify-content: center;
  124. color: #fff;
  125. border-radius: 100rpx;
  126. font-size: 32rpx;
  127. }
  128. /* 处理后的HTML内容样式 */
  129. .processed-html-content {
  130. margin-top: 20rpx;
  131. }
  132. .text-item {
  133. margin-bottom: 20rpx;
  134. line-height: 1.6;
  135. color: #584735;
  136. }
  137. .text-item.indent {
  138. text-indent: 4em;
  139. }
  140. .text-content {
  141. display: block;
  142. margin-bottom: 20rpx;
  143. line-height: 1.6;
  144. color: #584735;
  145. }
  146. .text-content.indent {
  147. text-indent: 1em;
  148. }
  149. .text-with-links {
  150. margin-bottom: 20rpx;
  151. line-height: 1.6;
  152. color: #584735;
  153. }
  154. .text-with-links.indent {
  155. text-indent: 1em;
  156. }
  157. .link-text {
  158. color: #007bff;
  159. text-decoration: underline;
  160. margin: 0 8rpx;
  161. }
  162. .link-text:active {
  163. color: #0056b3;
  164. }
  165. .rich-text-content {
  166. line-height: 1.6;
  167. color: #584735;
  168. }
  169. /* rich-text内部链接样式 */
  170. .rich-text-content > span[data-url] {
  171. color: #007bff !important;
  172. text-decoration: underline !important;
  173. cursor: pointer;
  174. }
  175. .rich-text-content > span[data-url]:active {
  176. color: #0056b3 !important;
  177. }
  178. .image-item {
  179. margin: 40rpx 0;
  180. text-align: center;
  181. }
  182. .content-image {
  183. max-width: 100%;
  184. border-radius: 16rpx;
  185. }
  186. .video-item {
  187. width: 100%;
  188. margin: 40rpx 0;
  189. text-align: center;
  190. }
  191. .content-video {
  192. width: 100%;
  193. height: 400rpx;
  194. }
  195. .audio-item {
  196. margin: 30rpx 0;
  197. padding: 30rpx;
  198. text-align: center;
  199. background: rgba(255, 255, 255, 0.1);
  200. border-radius: 16rpx;
  201. }
  202. .audio-title {
  203. font-size: 28rpx;
  204. color: #584735;
  205. margin-bottom: 20rpx;
  206. }
  207. .audio-placeholder {
  208. font-size: 24rpx;
  209. color: #888;
  210. padding: 20rpx;
  211. background: rgba(0, 0, 0, 0.05);
  212. border-radius: 8rpx;
  213. }
  214. /* 响应式处理 */
  215. @media (max-width: 768rpx) {
  216. .detail-title {
  217. font-size: 44rpx;
  218. }
  219. .detail-text {
  220. font-size: 30rpx;
  221. }
  222. .online-exhibition-btn {
  223. width: 480rpx;
  224. font-size: 30rpx;
  225. }
  226. .preview-btn {
  227. width: 480rpx;
  228. font-size: 30rpx;
  229. }
  230. }