index.wxss 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237
  1. .content {
  2. display: flex;
  3. flex-direction: column;
  4. background-color: #e3f4ff;
  5. min-height: 100vh;
  6. }
  7. /* 顶部区域 */
  8. .header {
  9. padding: 80rpx 30rpx 20rpx;
  10. display: flex;
  11. justify-content: space-between;
  12. align-items: center;
  13. }
  14. .logo-container {
  15. display: flex;
  16. align-items: center;
  17. }
  18. .logo {
  19. width: 80rpx;
  20. height: 80rpx;
  21. margin-right: 20rpx;
  22. }
  23. .logo-text {
  24. display: flex;
  25. flex-direction: column;
  26. }
  27. .logo-text-top {
  28. font-size: 36rpx;
  29. font-weight: bold;
  30. color: #333;
  31. }
  32. .logo-text-bottom {
  33. font-size: 36rpx;
  34. font-weight: bold;
  35. color: #333;
  36. background-color: #ffeb3b;
  37. padding: 0 10rpx;
  38. }
  39. .header-mascot {
  40. width: 120rpx;
  41. height: 120rpx;
  42. }
  43. /* 会员广告条 */
  44. .vip-banner {
  45. margin: 20rpx 30rpx;
  46. background-color: #3a9eeb;
  47. border-radius: 20rpx;
  48. padding: 20rpx 30rpx;
  49. display: flex;
  50. justify-content: space-between;
  51. align-items: center;
  52. color: white;
  53. }
  54. .vip-info {
  55. display: flex;
  56. align-items: center;
  57. }
  58. .vip-icon {
  59. width: 80rpx;
  60. height: 80rpx;
  61. margin-right: 20rpx;
  62. }
  63. .vip-text {
  64. display: flex;
  65. flex-direction: column;
  66. }
  67. .vip-title {
  68. font-size: 32rpx;
  69. font-weight: bold;
  70. margin-bottom: 5rpx;
  71. }
  72. .vip-price {
  73. font-size: 26rpx;
  74. }
  75. .vip-button {
  76. background-color: white;
  77. color: #3a9eeb;
  78. padding: 10rpx 30rpx;
  79. border-radius: 50rpx;
  80. font-size: 28rpx;
  81. }
  82. /* 热门行程 */
  83. .section {
  84. margin: 20rpx 0;
  85. }
  86. .section-header {
  87. padding: 0 30rpx;
  88. display: flex;
  89. justify-content: space-between;
  90. align-items: center;
  91. margin-bottom: 20rpx;
  92. }
  93. .section-title {
  94. font-size: 36rpx;
  95. font-weight: bold;
  96. color: #333;
  97. }
  98. .section-more {
  99. display: flex;
  100. align-items: center;
  101. color: #3a9eeb;
  102. font-size: 28rpx;
  103. }
  104. .more-icon {
  105. margin-left: 5rpx;
  106. }
  107. .trip-scroll {
  108. width: 100%;
  109. }
  110. .trip-cards {
  111. display: flex;
  112. padding: 0 30rpx;
  113. }
  114. .trip-card {
  115. width: 620rpx;
  116. background-color: white;
  117. border-radius: 20rpx;
  118. margin-right: 20rpx;
  119. overflow: hidden;
  120. position: relative;
  121. }
  122. .trip-image {
  123. width: 100%;
  124. height: 300rpx;
  125. }
  126. .trip-tag {
  127. position: absolute;
  128. top: 20rpx;
  129. left: 20rpx;
  130. background-color: rgba(58, 158, 235, 0.8);
  131. color: white;
  132. padding: 5rpx 20rpx;
  133. border-radius: 50rpx;
  134. font-size: 24rpx;
  135. }
  136. .trip-info {
  137. padding: 20rpx;
  138. }
  139. .trip-title {
  140. font-size: 30rpx;
  141. font-weight: bold;
  142. color: #333;
  143. margin-bottom: 10rpx;
  144. display: block;
  145. }
  146. .trip-count, .trip-days {
  147. font-size: 26rpx;
  148. color: #666;
  149. background-color: #f0f0f0;
  150. padding: 5rpx 15rpx;
  151. border-radius: 10rpx;
  152. }
  153. .trip-data {
  154. display: flex;
  155. justify-content: space-between;
  156. }
  157. .trip-people {
  158. font-size: 26rpx;
  159. color: #999;
  160. }
  161. /* 热门目的地样式 */
  162. .hot-spots-section {
  163. margin: 20rpx 0 30rpx;
  164. padding: 30rpx 0;
  165. background-color: #ffffff;
  166. }
  167. .section-title {
  168. font-size: 36rpx;
  169. font-weight: bold;
  170. padding: 0 30rpx;
  171. margin-bottom: 20rpx;
  172. color: #333;
  173. display: flex;
  174. align-items: center;
  175. }
  176. .section-title::before {
  177. content: "";
  178. width: 8rpx;
  179. height: 36rpx;
  180. background: linear-gradient(to bottom, #4facfe, #00f2fe);
  181. margin-right: 16rpx;
  182. border-radius: 4rpx;
  183. }
  184. .spots-grid {
  185. display: flex;
  186. justify-content: space-between;
  187. padding: 0 30rpx;
  188. }
  189. .spot-card {
  190. width: 330rpx;
  191. height: 280rpx;
  192. background-color: #fff;
  193. border-radius: 20rpx;
  194. overflow: hidden;
  195. position: relative;
  196. box-shadow: 0 4rpx 12rpx rgba(0,0,0,0.1);
  197. }
  198. .spot-image {
  199. width: 100%;
  200. height: 180rpx;
  201. border-radius: 20rpx 20rpx 0 0;
  202. }
  203. .spot-tag {
  204. position: absolute;
  205. top: 16rpx;
  206. left: 16rpx;
  207. background-color: #ff6b35;
  208. color: white;
  209. font-size: 24rpx;
  210. padding: 4rpx 12rpx;
  211. border-radius: 8rpx;
  212. font-weight: bold;
  213. z-index: 1;
  214. }
  215. .spot-name {
  216. font-size: 30rpx;
  217. font-weight: bold;
  218. color: #333;
  219. padding: 16rpx 16rpx 8rpx;
  220. }
  221. .spot-location {
  222. display: flex;
  223. align-items: center;
  224. font-size: 24rpx;
  225. color: #999;
  226. padding: 0 16rpx;
  227. }
  228. .location-dot {
  229. color: #ff4f81;
  230. font-size: 24rpx;
  231. margin-right: 6rpx;
  232. }