木邻有你前端代码仓库
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.

211 lines
5.3 KiB

1 month ago
1 month ago
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. .click-animation.data-v-13e34265:active {
  16. -webkit-transform: scale(0.98);
  17. transform: scale(0.98);
  18. box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.12);
  19. }
  20. /* 行为相关颜色 */
  21. /* 文字基本颜色 */
  22. /* 背景颜色 */
  23. /* 边框颜色 */
  24. /* 尺寸变量 */
  25. /* 文字尺寸 */
  26. /* 图片尺寸 */
  27. /* Border Radius */
  28. /* 水平间距 */
  29. /* 垂直间距 */
  30. /* 透明度 */
  31. /* 文章场景相关 */
  32. .activity-page.data-v-13e34265 {
  33. background-color: #f5f5f5;
  34. min-height: 100vh;
  35. }
  36. .search-section.data-v-13e34265 {
  37. height: 350rpx;
  38. background: linear-gradient(180deg, #1488db, #98b5f1);
  39. padding-top: 180rpx;
  40. /* 使用padding-top避免margin塌陷 */
  41. box-sizing: border-box;
  42. /* 确保padding包含在高度内 */
  43. }
  44. .search-bar.data-v-13e34265 {
  45. padding: 5rpx 40rpx;
  46. }
  47. .search-input.data-v-13e34265 {
  48. flex: 1;
  49. font-size: 28rpx;
  50. color: #333;
  51. }
  52. .search-input.data-v-13e34265::-webkit-input-placeholder {
  53. color: #999;
  54. }
  55. .search-input.data-v-13e34265::placeholder {
  56. color: #999;
  57. }
  58. .primary-tabs.data-v-13e34265 {
  59. display: flex;
  60. padding: 0 20rpx;
  61. margin-bottom: 20rpx;
  62. }
  63. .primary-tab-item.data-v-13e34265 {
  64. flex: 1;
  65. text-align: center;
  66. padding: 20rpx 0;
  67. font-size: 32rpx;
  68. color: #000000;
  69. /* 白色半透明 */
  70. position: relative;
  71. transition: color 0.3s ease;
  72. }
  73. .primary-tab-item.active.data-v-13e34265 {
  74. color: white;
  75. /* 激活状态为纯白色 */
  76. font-weight: 600;
  77. }
  78. .primary-tab-item.active.data-v-13e34265::after {
  79. content: "";
  80. position: absolute;
  81. bottom: 0;
  82. left: 50%;
  83. -webkit-transform: translateX(-50%);
  84. transform: translateX(-50%);
  85. width: 100rpx;
  86. height: 6rpx;
  87. background-color: white;
  88. /* 下划线改为白色 */
  89. border-radius: 3rpx;
  90. }
  91. .secondary-tabs.data-v-13e34265 {
  92. background-color: white;
  93. border-bottom: 1px solid #f0f0f0;
  94. position: relative;
  95. }
  96. .secondary-tabs .tab-scroll.data-v-13e34265 {
  97. white-space: nowrap;
  98. }
  99. .secondary-tabs .tab-scroll .tab-list.data-v-13e34265 {
  100. display: flex;
  101. justify-content: space-evenly;
  102. }
  103. .secondary-tabs .tab-scroll .tab-list .tab-item.data-v-13e34265 {
  104. flex-shrink: 0;
  105. padding: 24rpx 32rpx;
  106. display: flex;
  107. align-items: center;
  108. justify-content: center;
  109. transition: all 0.3s ease;
  110. }
  111. .secondary-tabs .tab-scroll .tab-list .tab-item .tab-text.data-v-13e34265 {
  112. font-size: 28rpx;
  113. color: #666666;
  114. font-weight: 500;
  115. transition: color 0.5s ease;
  116. }
  117. .secondary-tabs .tab-scroll .tab-list .tab-item.active .tab-text.data-v-13e34265 {
  118. color: #007AFF;
  119. font-weight: 600;
  120. }
  121. .secondary-tabs .tab-scroll .tab-line.data-v-13e34265 {
  122. position: absolute;
  123. bottom: 10;
  124. height: 6rpx;
  125. background-color: #007AFF;
  126. border-radius: 3rpx;
  127. transition: -webkit-transform 0.3s ease;
  128. transition: transform 0.3s ease;
  129. transition: transform 0.3s ease, -webkit-transform 0.3s ease;
  130. }
  131. .activity-list.data-v-13e34265 {
  132. padding: 20rpx;
  133. }
  134. .activity-item.data-v-13e34265 {
  135. background-color: white;
  136. border-radius: 12rpx;
  137. margin-bottom: 30rpx;
  138. padding: 20rpx;
  139. display: flex;
  140. box-shadow: 0 4rpx 20rpx rgba(0, 0, 0, 0.05);
  141. }
  142. .activity-image.data-v-13e34265 {
  143. width: 180rpx;
  144. height: 180rpx;
  145. border-radius: 8rpx;
  146. overflow: hidden;
  147. flex-shrink: 0;
  148. margin-right: 20rpx;
  149. }
  150. .image.data-v-13e34265 {
  151. width: 100%;
  152. height: 100%;
  153. }
  154. .activity-info.data-v-13e34265 {
  155. flex: 1;
  156. display: flex;
  157. flex-direction: column;
  158. justify-content: space-between;
  159. }
  160. .title-row.data-v-13e34265 {
  161. display: flex;
  162. align-items: center;
  163. margin-bottom: 10rpx;
  164. }
  165. .activity-tag.data-v-13e34265 {
  166. width: 31px;
  167. height: 20px;
  168. background: #218cdd;
  169. border-radius: 3.5px;
  170. margin-right: 7rpx;
  171. display: flex;
  172. align-items: center;
  173. justify-content: center;
  174. font-size: 18rpx;
  175. color: white;
  176. font-weight: 600;
  177. }
  178. .activity-title.data-v-13e34265 {
  179. font-size: 28rpx;
  180. font-weight: bold;
  181. color: #333;
  182. line-height: 1.4;
  183. }
  184. .activity-location.data-v-13e34265,
  185. .activity-time.data-v-13e34265,
  186. .activity-participants.data-v-13e34265 {
  187. display: flex;
  188. align-items: center;
  189. margin-bottom: 6rpx;
  190. }
  191. .activity-location .location-text.data-v-13e34265,
  192. .activity-location .time-text.data-v-13e34265,
  193. .activity-location .participants-text.data-v-13e34265,
  194. .activity-time .location-text.data-v-13e34265,
  195. .activity-time .time-text.data-v-13e34265,
  196. .activity-time .participants-text.data-v-13e34265,
  197. .activity-participants .location-text.data-v-13e34265,
  198. .activity-participants .time-text.data-v-13e34265,
  199. .activity-participants .participants-text.data-v-13e34265 {
  200. font-size: 24rpx;
  201. color: #666;
  202. margin-left: 6rpx;
  203. }
  204. .activity-action.data-v-13e34265 {
  205. display: flex;
  206. align-items: flex-end;
  207. padding-bottom: 10rpx;
  208. }
  209. .empty-state.data-v-13e34265 {
  210. padding: 100rpx 40rpx;
  211. }