木邻有你前端代码仓库
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

206 lines
5.2 KiB

1 month ago
1 month ago
1 month ago
1 month ago
1 month ago
  1. @charset "UTF-8";
  2. /**
  3. * 这里是uni-app内置的常用样式变量
  4. *
  5. * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
  6. * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
  7. *
  8. */
  9. /**
  10. * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
  11. *
  12. * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
  13. */
  14. /* 颜色变量 */
  15. /* 行为相关颜色 */
  16. /* 文字基本颜色 */
  17. /* 背景颜色 */
  18. /* 边框颜色 */
  19. /* 尺寸变量 */
  20. /* 文字尺寸 */
  21. /* 图片尺寸 */
  22. /* Border Radius */
  23. /* 水平间距 */
  24. /* 垂直间距 */
  25. /* 透明度 */
  26. /* 文章场景相关 */
  27. .activity-page.data-v-13e34265 {
  28. background-color: #f5f5f5;
  29. min-height: 100vh;
  30. }
  31. .search-section.data-v-13e34265 {
  32. height: 350rpx;
  33. background: linear-gradient(180deg, #1488db, #98b5f1);
  34. padding-top: 180rpx;
  35. /* 使用padding-top避免margin塌陷 */
  36. box-sizing: border-box;
  37. /* 确保padding包含在高度内 */
  38. }
  39. .search-bar.data-v-13e34265 {
  40. padding: 5rpx 40rpx;
  41. }
  42. .search-input.data-v-13e34265 {
  43. flex: 1;
  44. font-size: 28rpx;
  45. color: #333;
  46. }
  47. .search-input.data-v-13e34265::-webkit-input-placeholder {
  48. color: #999;
  49. }
  50. .search-input.data-v-13e34265::placeholder {
  51. color: #999;
  52. }
  53. .primary-tabs.data-v-13e34265 {
  54. display: flex;
  55. padding: 0 20rpx;
  56. margin-bottom: 20rpx;
  57. }
  58. .primary-tab-item.data-v-13e34265 {
  59. flex: 1;
  60. text-align: center;
  61. padding: 20rpx 0;
  62. font-size: 32rpx;
  63. color: #000000;
  64. /* 白色半透明 */
  65. position: relative;
  66. transition: color 0.3s ease;
  67. }
  68. .primary-tab-item.active.data-v-13e34265 {
  69. color: white;
  70. /* 激活状态为纯白色 */
  71. font-weight: 600;
  72. }
  73. .primary-tab-item.active.data-v-13e34265::after {
  74. content: "";
  75. position: absolute;
  76. bottom: 0;
  77. left: 50%;
  78. -webkit-transform: translateX(-50%);
  79. transform: translateX(-50%);
  80. width: 100rpx;
  81. height: 6rpx;
  82. background-color: white;
  83. /* 下划线改为白色 */
  84. border-radius: 3rpx;
  85. }
  86. .secondary-tabs.data-v-13e34265 {
  87. background-color: white;
  88. border-bottom: 1px solid #f0f0f0;
  89. position: relative;
  90. }
  91. .secondary-tabs .tab-scroll.data-v-13e34265 {
  92. white-space: nowrap;
  93. }
  94. .secondary-tabs .tab-scroll .tab-list.data-v-13e34265 {
  95. display: flex;
  96. justify-content: space-evenly;
  97. }
  98. .secondary-tabs .tab-scroll .tab-list .tab-item.data-v-13e34265 {
  99. flex-shrink: 0;
  100. padding: 24rpx 32rpx;
  101. display: flex;
  102. align-items: center;
  103. justify-content: center;
  104. transition: all 0.3s ease;
  105. }
  106. .secondary-tabs .tab-scroll .tab-list .tab-item .tab-text.data-v-13e34265 {
  107. font-size: 28rpx;
  108. color: #666666;
  109. font-weight: 500;
  110. transition: color 0.5s ease;
  111. }
  112. .secondary-tabs .tab-scroll .tab-list .tab-item.active .tab-text.data-v-13e34265 {
  113. color: #007AFF;
  114. font-weight: 600;
  115. }
  116. .secondary-tabs .tab-scroll .tab-line.data-v-13e34265 {
  117. position: absolute;
  118. bottom: 10;
  119. height: 6rpx;
  120. background-color: #007AFF;
  121. border-radius: 3rpx;
  122. transition: -webkit-transform 0.3s ease;
  123. transition: transform 0.3s ease;
  124. transition: transform 0.3s ease, -webkit-transform 0.3s ease;
  125. }
  126. .activity-list.data-v-13e34265 {
  127. padding: 20rpx;
  128. }
  129. .activity-item.data-v-13e34265 {
  130. background-color: white;
  131. border-radius: 12rpx;
  132. margin-bottom: 30rpx;
  133. padding: 20rpx;
  134. display: flex;
  135. box-shadow: 0 4rpx 20rpx rgba(0, 0, 0, 0.05);
  136. }
  137. .activity-image.data-v-13e34265 {
  138. width: 180rpx;
  139. height: 180rpx;
  140. border-radius: 8rpx;
  141. overflow: hidden;
  142. flex-shrink: 0;
  143. margin-right: 20rpx;
  144. }
  145. .image.data-v-13e34265 {
  146. width: 100%;
  147. height: 100%;
  148. }
  149. .activity-info.data-v-13e34265 {
  150. flex: 1;
  151. display: flex;
  152. flex-direction: column;
  153. justify-content: space-between;
  154. }
  155. .title-row.data-v-13e34265 {
  156. display: flex;
  157. align-items: center;
  158. margin-bottom: 10rpx;
  159. }
  160. .activity-tag.data-v-13e34265 {
  161. width: 31px;
  162. height: 20px;
  163. background: #218cdd;
  164. border-radius: 3.5px;
  165. margin-right: 7rpx;
  166. display: flex;
  167. align-items: center;
  168. justify-content: center;
  169. font-size: 18rpx;
  170. color: white;
  171. font-weight: 600;
  172. }
  173. .activity-title.data-v-13e34265 {
  174. font-size: 28rpx;
  175. font-weight: bold;
  176. color: #333;
  177. line-height: 1.4;
  178. }
  179. .activity-location.data-v-13e34265,
  180. .activity-time.data-v-13e34265,
  181. .activity-participants.data-v-13e34265 {
  182. display: flex;
  183. align-items: center;
  184. margin-bottom: 6rpx;
  185. }
  186. .activity-location .location-text.data-v-13e34265,
  187. .activity-location .time-text.data-v-13e34265,
  188. .activity-location .participants-text.data-v-13e34265,
  189. .activity-time .location-text.data-v-13e34265,
  190. .activity-time .time-text.data-v-13e34265,
  191. .activity-time .participants-text.data-v-13e34265,
  192. .activity-participants .location-text.data-v-13e34265,
  193. .activity-participants .time-text.data-v-13e34265,
  194. .activity-participants .participants-text.data-v-13e34265 {
  195. font-size: 24rpx;
  196. color: #666;
  197. margin-left: 6rpx;
  198. }
  199. .activity-action.data-v-13e34265 {
  200. display: flex;
  201. align-items: flex-end;
  202. padding-bottom: 10rpx;
  203. }
  204. .empty-state.data-v-13e34265 {
  205. padding: 100rpx 40rpx;
  206. }