@charset "UTF-8"; /** * 这里是uni-app内置的常用样式变量 * * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量 * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App * */ /** * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能 * * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件 */ /* 颜色变量 */ /* 行为相关颜色 */ /* 文字基本颜色 */ /* 背景颜色 */ /* 边框颜色 */ /* 尺寸变量 */ /* 文字尺寸 */ /* 图片尺寸 */ /* Border Radius */ /* 水平间距 */ /* 垂直间距 */ /* 透明度 */ /* 文章场景相关 */ .activity-page.data-v-13e34265 { background-color: #f5f5f5; min-height: 100vh; } .search-section.data-v-13e34265 { height: 350rpx; background: linear-gradient(180deg, #1488db, #98b5f1); padding-top: 180rpx; /* 使用padding-top避免margin塌陷 */ box-sizing: border-box; /* 确保padding包含在高度内 */ } .search-bar.data-v-13e34265 { background-color: white; border-radius: 50rpx; padding: 20rpx 30rpx; display: flex; align-items: center; gap: 20rpx; width: 85%; margin: 0 auto; /* 移除margin-top,只保留左右居中和下边距 */ } .search-input.data-v-13e34265 { flex: 1; font-size: 28rpx; color: #333; } .search-input.data-v-13e34265::-webkit-input-placeholder { color: #999; } .search-input.data-v-13e34265::placeholder { color: #999; } .primary-tabs.data-v-13e34265 { display: flex; padding: 0 20rpx; margin-bottom: 20rpx; } .primary-tab-item.data-v-13e34265 { flex: 1; text-align: center; padding: 20rpx 0; font-size: 32rpx; color: #000000; /* 白色半透明 */ position: relative; } .primary-tab-item.active.data-v-13e34265 { color: white; /* 激活状态为纯白色 */ font-weight: 600; } .primary-tab-item.active.data-v-13e34265::after { content: ""; position: absolute; bottom: 0; left: 50%; -webkit-transform: translateX(-50%); transform: translateX(-50%); width: 100rpx; height: 6rpx; background-color: white; /* 下划线改为白色 */ border-radius: 3rpx; } .secondary-tabs.data-v-13e34265 { background-color: white; border-bottom: 1px solid #f0f0f0; } .activity-list.data-v-13e34265 { padding: 20rpx; } .activity-item.data-v-13e34265 { background-color: white; border-radius: 12rpx; margin-bottom: 30rpx; padding: 20rpx; display: flex; box-shadow: 0 4rpx 20rpx rgba(0, 0, 0, 0.05); } .activity-image.data-v-13e34265 { width: 180rpx; height: 180rpx; border-radius: 8rpx; overflow: hidden; flex-shrink: 0; margin-right: 20rpx; } .image.data-v-13e34265 { width: 100%; height: 100%; } .activity-info.data-v-13e34265 { flex: 1; display: flex; flex-direction: column; justify-content: space-between; } .title-row.data-v-13e34265 { display: flex; align-items: center; margin-bottom: 10rpx; } .activity-tag.data-v-13e34265 { width: 31px; height: 20px; background: #218cdd; border-radius: 3.5px; margin-right: 7rpx; display: flex; align-items: center; justify-content: center; font-size: 18rpx; color: white; font-weight: 600; } .activity-title.data-v-13e34265 { font-size: 28rpx; font-weight: bold; color: #333; line-height: 1.4; } .activity-location.data-v-13e34265, .activity-time.data-v-13e34265, .activity-participants.data-v-13e34265 { display: flex; align-items: center; margin-bottom: 6rpx; } .activity-location .location-text.data-v-13e34265, .activity-location .time-text.data-v-13e34265, .activity-location .participants-text.data-v-13e34265, .activity-time .location-text.data-v-13e34265, .activity-time .time-text.data-v-13e34265, .activity-time .participants-text.data-v-13e34265, .activity-participants .location-text.data-v-13e34265, .activity-participants .time-text.data-v-13e34265, .activity-participants .participants-text.data-v-13e34265 { font-size: 24rpx; color: #666; margin-left: 6rpx; } .activity-action.data-v-13e34265 { display: flex; align-items: flex-end; padding-bottom: 10rpx; } .empty-state.data-v-13e34265 { padding: 100rpx 40rpx; }