index.wxss 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255
  1. /* pages/user/map/index.wxss */
  2. @import "../../../utils/wxParse/wxParse.wxss";
  3. .detail-container {
  4. position: relative;
  5. min-height: 100vh;
  6. padding: 20rpx;
  7. background: url('https://sit-kelamayi.4dage.com/mini/wxImg/bg.png') no-repeat;
  8. background-size: cover;
  9. }
  10. .back-button {
  11. position: absolute;
  12. top: 20rpx;
  13. left: 20rpx;
  14. width: 80rpx;
  15. height: 80rpx;
  16. border-radius: 50%;
  17. z-index: 10;
  18. }
  19. .back-button image {
  20. width: 80rpx;
  21. height: 80rpx;
  22. }
  23. .loading-container {
  24. display: flex;
  25. justify-content: center;
  26. align-items: center;
  27. height: 400rpx;
  28. }
  29. .loading-text {
  30. font-size: 32rpx;
  31. color: #666;
  32. }
  33. .detail-content {
  34. padding: 40rpx;
  35. border-radius: 20rpx;
  36. padding-bottom: 240rpx; /* 为导航按钮留出空间 */
  37. }
  38. .detail-title {
  39. font-size: 48rpx;
  40. font-weight: bold;
  41. color: #584735;
  42. margin-bottom: 20rpx;
  43. }
  44. .line {
  45. height: 4rpx;
  46. background: linear-gradient(90deg, rgba(91, 71, 46, 0.5) 0%, rgba(91, 71, 46, 0) 100%);
  47. margin-bottom: 40rpx;
  48. }
  49. .detail-text {
  50. font-size: 32rpx;
  51. line-height: 1.6;
  52. color: #584735;
  53. margin-top: 40rpx;
  54. }
  55. .detail-description {
  56. font-size: 32rpx;
  57. line-height: 1.6;
  58. color: #584735;
  59. margin-top: 40rpx;
  60. }
  61. .error-state {
  62. display: flex;
  63. flex-direction: column;
  64. justify-content: center;
  65. align-items: center;
  66. height: 400rpx;
  67. }
  68. .error-text {
  69. font-size: 32rpx;
  70. color: #584735;
  71. margin-bottom: 40rpx;
  72. }
  73. .retry-button {
  74. padding: 20rpx 40rpx;
  75. background: #007bff;
  76. color: white;
  77. border: none;
  78. border-radius: 10rpx;
  79. font-size: 28rpx;
  80. }
  81. /* 内容列表样式 */
  82. .content-list {
  83. margin-top: 20rpx;
  84. }
  85. .content-item {
  86. margin-bottom: 30rpx;
  87. }
  88. /* 标题内容样式 */
  89. .heading-content {
  90. line-height: 1.4;
  91. color: #584735;
  92. font-size: 36rpx;
  93. font-weight: bold;
  94. margin: 30rpx 0 20rpx 0;
  95. }
  96. /* 居中标题样式 */
  97. .heading-center {
  98. width: 100%;
  99. text-align: center;
  100. }
  101. /* span内容样式 */
  102. .span-content {
  103. line-height: 1.6;
  104. color: #333;
  105. font-size: 28rpx;
  106. margin: 15rpx 0;
  107. }
  108. /* 删除线内容样式 */
  109. .strikethrough-content {
  110. line-height: 1.6;
  111. color: #666;
  112. font-size: 28rpx;
  113. margin: 0;
  114. text-decoration: line-through;
  115. display: inline;
  116. }
  117. /* 文本内容样式 */
  118. .text-content {
  119. line-height: 1.6;
  120. color: #333;
  121. font-size: 28rpx;
  122. margin: 20rpx 0;
  123. }
  124. /* 图片内容样式 */
  125. .image-content {
  126. margin: 20rpx 0;
  127. }
  128. .content-image {
  129. width: 100%;
  130. border-radius: 8rpx;
  131. }
  132. /* 视频内容样式 */
  133. .video-content {
  134. margin: 20rpx 0;
  135. }
  136. .content-video {
  137. width: 100%;
  138. height: 400rpx;
  139. border-radius: 8rpx;
  140. }
  141. /* 音频内容样式 */
  142. .audio-content {
  143. margin: 20rpx 0;
  144. padding: 20rpx;
  145. background-color: #f5f5f5;
  146. border-radius: 8rpx;
  147. }
  148. .audio-title {
  149. font-size: 28rpx;
  150. color: #333;
  151. margin-bottom: 15rpx;
  152. font-weight: bold;
  153. }
  154. .content-audio {
  155. width: 100%;
  156. }
  157. p {
  158. margin-bottom: 20rpx;
  159. line-height: 1.6;
  160. color: #584735;
  161. }
  162. image {
  163. max-width: 100%;
  164. height: 100rpx;
  165. margin: 20rpx 0;
  166. }
  167. .map-button {
  168. position: fixed;
  169. bottom: 40rpx;
  170. left: 50%;
  171. transform: translateX(-50%);
  172. width: 690rpx;
  173. height: 160rpx;
  174. color: rgba(88, 71, 53, 1);
  175. border-radius: 10rpx;
  176. z-index: 100;
  177. }
  178. .btn-bg {
  179. width: 100%;
  180. height: 140rpx;
  181. position: absolute;
  182. top: 0rpx;
  183. left: 0;
  184. }
  185. .btn-title {
  186. position: absolute;
  187. top: 50%;
  188. left: 50%;
  189. transform: translate(-50%, -50%);
  190. display: flex;
  191. justify-content: center;
  192. align-items: center;
  193. }
  194. .adress-img{
  195. width: 50rpx;
  196. height: 50rpx;
  197. margin-right: 16rpx;
  198. }
  199. .btn-title view {
  200. font-size: 28rpx;
  201. font-weight: 500;
  202. color: #584735;
  203. }
  204. .icon-position {
  205. margin-right: 16rpx;
  206. font-size: 32rpx;
  207. }
  208. /* 响应式处理 */
  209. @media (max-width: 750rpx) {
  210. .processed-image {
  211. margin: 0;
  212. padding: 0;
  213. }
  214. .indent {
  215. text-indent: 1.5em;
  216. }
  217. .indent-text {
  218. margin-left: 1.5em;
  219. }
  220. }