index.wxss 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174
  1. .home-container.data-v-4978fed5 {
  2. background: #f7f8fa;
  3. min-height: 100vh;
  4. padding-bottom: 120rpx;
  5. }
  6. .home-header.data-v-4978fed5 {
  7. display: flex;
  8. align-items: center;
  9. padding: 32rpx 24rpx 0 24rpx;
  10. }
  11. .search-input.data-v-4978fed5 {
  12. flex: 1;
  13. height: 64rpx;
  14. border-radius: 32rpx;
  15. border: none;
  16. background: #fff;
  17. padding: 0 24rpx;
  18. font-size: 28rpx;
  19. box-shadow: 0 2rpx 8rpx rgba(0,0,0,0.04);
  20. }
  21. .search-btn.data-v-4978fed5 {
  22. margin-left: 16rpx;
  23. background: #7ac81e;
  24. color: #fff;
  25. border: none;
  26. border-radius: 32rpx;
  27. height: 64rpx;
  28. padding: 0 32rpx;
  29. font-size: 28rpx;
  30. }
  31. .banner.data-v-4978fed5 {
  32. margin: 24rpx 24rpx 0 24rpx;
  33. }
  34. .banner-img.data-v-4978fed5 {
  35. width: 100%;
  36. border-radius: 16rpx;
  37. }
  38. .category-grid.data-v-4978fed5 {
  39. margin: 32rpx 24rpx 0 24rpx;
  40. }
  41. .category-row.data-v-4978fed5 {
  42. display: flex;
  43. margin-bottom: 16rpx;
  44. }
  45. .category-item.data-v-4978fed5 {
  46. flex: 1;
  47. background: #fff;
  48. border-radius: 16rpx;
  49. margin-right: 16rpx;
  50. padding: 24rpx 0 16rpx 0;
  51. text-align: center;
  52. position: relative;
  53. box-shadow: 0 2rpx 8rpx rgba(0,0,0,0.04);
  54. }
  55. .category-item.data-v-4978fed5:last-child {
  56. margin-right: 0;
  57. }
  58. .cat-title.data-v-4978fed5 {
  59. font-size: 28rpx;
  60. font-weight: bold;
  61. color: #333;
  62. }
  63. .cat-desc.data-v-4978fed5 {
  64. display: block;
  65. font-size: 20rpx;
  66. color: #7ac81e;
  67. margin-top: 8rpx;
  68. }
  69. .cat-badge.data-v-4978fed5 {
  70. position: absolute;
  71. top: 8rpx;
  72. right: 16rpx;
  73. background: #ffe600;
  74. color: #333;
  75. font-size: 18rpx;
  76. border-radius: 8rpx;
  77. padding: 2rpx 8rpx;
  78. }
  79. .activity-bar.data-v-4978fed5 {
  80. display: flex;
  81. flex-direction: row;
  82. margin: 24rpx 0 0 0;
  83. padding-left: 24rpx;
  84. background: #fff;
  85. height: 80rpx;
  86. align-items: center;
  87. overflow-x: scroll;
  88. }
  89. .activity-item.data-v-4978fed5 {
  90. min-width: 140rpx;
  91. margin-right: 32rpx;
  92. font-size: 24rpx;
  93. color: #ff6600;
  94. text-align: center;
  95. }
  96. .activity-item text.data-v-4978fed5 {
  97. color: #888;
  98. font-size: 20rpx;
  99. }
  100. .main-content.data-v-4978fed5 {
  101. display: flex;
  102. margin: 32rpx 24rpx 0 24rpx;
  103. }
  104. .video-section.data-v-4978fed5, .map-section.data-v-4978fed5 {
  105. flex: 1;
  106. margin-right: 16rpx;
  107. background: #fff;
  108. border-radius: 16rpx;
  109. overflow: hidden;
  110. position: relative;
  111. box-shadow: 0 2rpx 8rpx rgba(0,0,0,0.04);
  112. }
  113. .map-section.data-v-4978fed5 {
  114. margin-right: 0;
  115. }
  116. .video-img.data-v-4978fed5, .map-img.data-v-4978fed5 {
  117. width: 100%;
  118. height: 160rpx;
  119. object-fit: cover;
  120. }
  121. .video-title.data-v-4978fed5, .map-title.data-v-4978fed5 {
  122. position: absolute;
  123. left: 16rpx;
  124. bottom: 16rpx;
  125. color: #fff;
  126. font-size: 28rpx;
  127. text-shadow: 0 2rpx 8rpx rgba(0,0,0,0.2);
  128. }
  129. .float-btn.data-v-4978fed5 {
  130. position: fixed;
  131. right: 40rpx;
  132. bottom: 180rpx;
  133. width: 80rpx;
  134. height: 80rpx;
  135. background: #00e4ff;
  136. color: #fff;
  137. font-size: 60rpx;
  138. border-radius: 50%;
  139. display: flex;
  140. align-items: center;
  141. justify-content: center;
  142. box-shadow: 0 4rpx 16rpx rgba(0,228,255,0.15);
  143. z-index: 10;
  144. }
  145. .tab-bar.data-v-4978fed5 {
  146. position: fixed;
  147. left: 0;
  148. bottom: 0;
  149. width: 100vw;
  150. height: 100rpx;
  151. background: #fff;
  152. display: flex;
  153. border-top: 1rpx solid #eee;
  154. z-index: 20;
  155. }
  156. .tab-item.data-v-4978fed5 {
  157. flex: 1;
  158. text-align: center;
  159. color: #888;
  160. font-size: 22rpx;
  161. display: flex;
  162. flex-direction: column;
  163. align-items: center;
  164. justify-content: center;
  165. }
  166. .tab-item.active.data-v-4978fed5 {
  167. color: #00c3ff;
  168. }
  169. .tab-icon.data-v-4978fed5 {
  170. width: 40rpx;
  171. height: 40rpx;
  172. margin-bottom: 4rpx;
  173. }