国外MOSE官网
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.

177 lines
4.4 KiB

3 days 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. background-color: white;
  41. border-radius: 50rpx;
  42. padding: 20rpx 30rpx;
  43. display: flex;
  44. align-items: center;
  45. gap: 20rpx;
  46. width: 85%;
  47. margin: 0 auto;
  48. /* 移除margin-top,只保留左右居中和下边距 */
  49. }
  50. .search-input.data-v-13e34265 {
  51. flex: 1;
  52. font-size: 28rpx;
  53. color: #333;
  54. }
  55. .search-input.data-v-13e34265::-webkit-input-placeholder {
  56. color: #999;
  57. }
  58. .search-input.data-v-13e34265::placeholder {
  59. color: #999;
  60. }
  61. .primary-tabs.data-v-13e34265 {
  62. display: flex;
  63. padding: 0 20rpx;
  64. margin-bottom: 20rpx;
  65. }
  66. .primary-tab-item.data-v-13e34265 {
  67. flex: 1;
  68. text-align: center;
  69. padding: 20rpx 0;
  70. font-size: 32rpx;
  71. color: #000000;
  72. /* 白色半透明 */
  73. position: relative;
  74. }
  75. .primary-tab-item.active.data-v-13e34265 {
  76. color: white;
  77. /* 激活状态为纯白色 */
  78. font-weight: 600;
  79. }
  80. .primary-tab-item.active.data-v-13e34265::after {
  81. content: "";
  82. position: absolute;
  83. bottom: 0;
  84. left: 50%;
  85. -webkit-transform: translateX(-50%);
  86. transform: translateX(-50%);
  87. width: 100rpx;
  88. height: 6rpx;
  89. background-color: white;
  90. /* 下划线改为白色 */
  91. border-radius: 3rpx;
  92. }
  93. .secondary-tabs.data-v-13e34265 {
  94. background-color: white;
  95. border-bottom: 1px solid #f0f0f0;
  96. }
  97. .activity-list.data-v-13e34265 {
  98. padding: 20rpx;
  99. }
  100. .activity-item.data-v-13e34265 {
  101. background-color: white;
  102. border-radius: 12rpx;
  103. margin-bottom: 30rpx;
  104. padding: 20rpx;
  105. display: flex;
  106. box-shadow: 0 4rpx 20rpx rgba(0, 0, 0, 0.05);
  107. }
  108. .activity-image.data-v-13e34265 {
  109. width: 180rpx;
  110. height: 180rpx;
  111. border-radius: 8rpx;
  112. overflow: hidden;
  113. flex-shrink: 0;
  114. margin-right: 20rpx;
  115. }
  116. .image.data-v-13e34265 {
  117. width: 100%;
  118. height: 100%;
  119. }
  120. .activity-info.data-v-13e34265 {
  121. flex: 1;
  122. display: flex;
  123. flex-direction: column;
  124. justify-content: space-between;
  125. }
  126. .title-row.data-v-13e34265 {
  127. display: flex;
  128. align-items: center;
  129. margin-bottom: 10rpx;
  130. }
  131. .activity-tag.data-v-13e34265 {
  132. width: 31px;
  133. height: 20px;
  134. background: #218cdd;
  135. border-radius: 3.5px;
  136. margin-right: 7rpx;
  137. display: flex;
  138. align-items: center;
  139. justify-content: center;
  140. font-size: 18rpx;
  141. color: white;
  142. font-weight: 600;
  143. }
  144. .activity-title.data-v-13e34265 {
  145. font-size: 28rpx;
  146. font-weight: bold;
  147. color: #333;
  148. line-height: 1.4;
  149. }
  150. .activity-location.data-v-13e34265,
  151. .activity-time.data-v-13e34265,
  152. .activity-participants.data-v-13e34265 {
  153. display: flex;
  154. align-items: center;
  155. margin-bottom: 6rpx;
  156. }
  157. .activity-location .location-text.data-v-13e34265,
  158. .activity-location .time-text.data-v-13e34265,
  159. .activity-location .participants-text.data-v-13e34265,
  160. .activity-time .location-text.data-v-13e34265,
  161. .activity-time .time-text.data-v-13e34265,
  162. .activity-time .participants-text.data-v-13e34265,
  163. .activity-participants .location-text.data-v-13e34265,
  164. .activity-participants .time-text.data-v-13e34265,
  165. .activity-participants .participants-text.data-v-13e34265 {
  166. font-size: 24rpx;
  167. color: #666;
  168. margin-left: 6rpx;
  169. }
  170. .activity-action.data-v-13e34265 {
  171. display: flex;
  172. align-items: flex-end;
  173. padding-bottom: 10rpx;
  174. }
  175. .empty-state.data-v-13e34265 {
  176. padding: 100rpx 40rpx;
  177. }