/* 单身聚会页面样式 - 浪漫粉色主题 */ page { background: linear-gradient(180deg, #FCE4EC 0%, #F8BBD0 100%); } .page-container { min-height: 100vh; background: linear-gradient(180deg, #FCE4EC 0%, #F8BBD0 100%); } /* 固定导航栏容器 */ .nav-container { position: fixed; top: 0; left: 0; right: 0; z-index: 999; background: rgba(255, 252, 253, 0.75); backdrop-filter: blur(20rpx) saturate(180%); -webkit-backdrop-filter: blur(20rpx) saturate(180%); } /* 状态栏 */ .status-bar { background: transparent; } /* 导航栏 */ .nav-bar { display: flex; align-items: center; justify-content: center; padding: 0 32rpx; background: transparent; position: relative; } .nav-back { position: absolute; left: 32rpx; top: 50%; transform: translateY(-50%); width: 80rpx; height: 80rpx; display: flex; align-items: center; justify-content: center; z-index: 10; } .back-icon { width: 48rpx; height: 48rpx; } .nav-title { font-size: 36rpx; font-weight: 700; color: #1A1A1A; line-height: 1; } /* 内容滚动区域 */ .content-scroll { height: 100vh; box-sizing: border-box; } /* 推广卡片 - 浪漫粉色渐变 */ .city-group-card { margin: 32rpx; padding: 32rpx 40rpx; min-height: 128rpx; background: linear-gradient(135deg, rgba(252, 228, 236, 0.6) 0%, rgba(248, 187, 208, 0.6) 100%); backdrop-filter: blur(16rpx) saturate(150%); border: 2rpx solid rgba(236, 64, 122, 0.3); border-radius: 48rpx; display: flex; align-items: center; justify-content: space-between; box-shadow: 0 4rpx 20rpx rgba(236, 64, 122, 0.12); transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); } .city-group-card:active { transform: scale(0.98); box-shadow: 0 2rpx 12rpx rgba(236, 64, 122, 0.18); } .group-info { flex: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 8rpx; padding-right: 24rpx; } .group-title { font-size: 40rpx; font-weight: 700; color: #1A1A1A; line-height: 1.4; white-space: nowrap; } .group-tags { display: flex; flex-direction: column; gap: 4rpx; } .tag-item { font-size: 28rpx; font-weight: 500; color: #4A5565; line-height: 1.4; white-space: nowrap; } .join-btn { padding: 0 40rpx; height: 88rpx; background: linear-gradient(135deg, #EC407A 0%, #D81B60 100%); border-radius: 100rpx; display: flex; align-items: center; justify-content: center; font-size: 32rpx; font-weight: 700; color: #fff; white-space: nowrap; flex-shrink: 0; box-shadow: 0 6rpx 24rpx rgba(236, 64, 122, 0.4), 0 3rpx 12rpx rgba(236, 64, 122, 0.3); transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); cursor: pointer; } .join-btn:active { transform: scale(0.96); box-shadow: 0 4rpx 16rpx rgba(236, 64, 122, 0.45); } /* 活动标签切换 - 横向滚动 */ .tab-section { padding: 32rpx 0; background: transparent; margin: 0 32rpx 32rpx; position: relative; z-index: 1; } .tab-scroll { width: 100%; white-space: nowrap; } .tab-scroll::-webkit-scrollbar { display: none; } .tab-list { display: inline-flex; gap: 20rpx; padding: 0 4rpx; } .tab-item { padding: 20rpx 48rpx; border-radius: 100rpx; font-size: 32rpx; font-weight: 700; color: #6A7282; background: rgba(255, 255, 255, 0.6); transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); cursor: pointer; flex-shrink: 0; white-space: nowrap; } .tab-item:active { transform: scale(0.96); } .tab-item.active { color: #fff; background: linear-gradient(135deg, #EC407A 0%, #D81B60 100%); box-shadow: 0 12rpx 24rpx rgba(236, 64, 122, 0.3); transform: scale(1.02); } /* 活动列表 - 毛玻璃卡片 */ .activity-list { padding: 0 32rpx; } .activity-card { margin-bottom: 32rpx; background: rgba(255, 255, 255, 0.95); backdrop-filter: blur(16rpx); border-radius: 32rpx; overflow: hidden; box-shadow: 0 8rpx 32rpx rgba(236, 64, 122, 0.12), 0 4rpx 16rpx rgba(236, 64, 122, 0.08); border: 1rpx solid rgba(236, 64, 122, 0.15); transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); } .activity-card:active { transform: scale(0.98); box-shadow: 0 4rpx 16rpx rgba(236, 64, 122, 0.15); } /* 活动图片容器 */ .activity-image-wrap { position: relative; width: 100%; height: 360rpx; overflow: hidden; background: linear-gradient(135deg, #FCE4EC 0%, #F8BBD0 100%); } .activity-image { width: 100%; height: 100%; object-fit: cover; } .activity-image-gradient { width: 100%; height: 100%; background: linear-gradient(135deg, #FCE4EC 0%, #F8BBD0 100%); } /* 点赞徽章 */ .like-badge { position: absolute; top: 24rpx; right: 24rpx; display: flex; align-items: center; gap: 8rpx; padding: 10rpx 20rpx; background: rgba(255, 255, 255, 0.9); backdrop-filter: blur(10rpx); border-radius: 100rpx; z-index: 10; box-shadow: 0 4rpx 12rpx rgba(0, 0, 0, 0.1); } .like-count { font-size: 24rpx; color: #4A5565; font-weight: 600; } .like-badge.liked .like-count { color: #FF5252; } /* 价格标签 */ .price-tag { position: absolute; bottom: 24rpx; left: 24rpx; padding: 10rpx 24rpx; border-radius: 12rpx; font-size: 24rpx; font-weight: 700; color: #FFFFFF; z-index: 10; box-shadow: 0 4rpx 12rpx rgba(0, 0, 0, 0.15); } .price-tag.free { background: #4CAF50; } .price-tag.paid { background: #FF9800; } /* 活动信息 */ .activity-info { padding: 40rpx; } .activity-title { font-size: 36rpx; font-weight: 700; color: #D81B60; margin-bottom: 20rpx; line-height: 1.4; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; } .activity-meta { display: flex; align-items: center; gap: 32rpx; margin-bottom: 24rpx; } .meta-item { display: flex; align-items: center; gap: 8rpx; font-size: 26rpx; color: #EC407A; } .meta-icon { width: 28rpx; height: 28rpx; } .meta-text { font-size: 26rpx; color: #4A5565; } .meta-row { display: flex; align-items: center; justify-content: space-between; width: 100%; margin-top: 8rpx; } /* 活动底部 */ .activity-footer { display: flex; align-items: center; justify-content: space-between; padding-top: 24rpx; border-top: 1rpx solid rgba(236, 64, 122, 0.1); } .participants { display: flex; align-items: center; gap: 12rpx; } .avatar-stack { display: flex; align-items: center; } .mini-avatar { width: 48rpx; height: 48rpx; border-radius: 50%; background: #FCE4EC; border: 2rpx solid #fff; margin-left: -12rpx; } .mini-avatar:first-child { margin-left: 0; } .participant-text { font-size: 24rpx; color: #62748E; } .heat-item { margin-left: auto; } .heat-text { color: #FF9800; font-weight: 600; } /* 立即报名按钮 */ .signup-btn { width: 220rpx; height: 72rpx; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #EC407A 0%, #D81B60 100%); border-radius: 100rpx; font-size: 28rpx; font-weight: 700; color: #FFFFFF; box-shadow: 0 6rpx 20rpx rgba(236, 64, 122, 0.3); transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); white-space: nowrap; flex-shrink: 0; } .signup-btn.signed { background: #9CA3AF; box-shadow: none; } .signup-btn:active { transform: scale(0.95); box-shadow: 0 4rpx 12rpx rgba(236, 64, 122, 0.35); } /* 空状态 */ .empty-state { padding: 120rpx 32rpx; text-align: center; } .empty-icon { width: 200rpx; height: 200rpx; margin: 0 auto 32rpx; opacity: 0.5; } .empty-text { font-size: 28rpx; color: #F06292; } /* 列表底部 */ .list-footer { padding: 40rpx 0; text-align: center; } .footer-text { font-size: 24rpx; color: #99A1AF; } /* 二维码弹窗 */ .qrcode-modal { position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 9999; display: none; align-items: center; justify-content: center; } .qrcode-modal.show { display: flex; } .modal-mask { position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.6); backdrop-filter: blur(4rpx); } .modal-content { position: relative; width: 680rpx; background: #FFFFFF; border-radius: 64rpx; padding: 64rpx; box-shadow: 0 50rpx 100rpx -24rpx rgba(0, 0, 0, 0.25); display: flex; flex-direction: column; align-items: center; z-index: 1; } .close-btn { position: absolute; top: 32rpx; right: 32rpx; width: 72rpx; height: 72rpx; background: #F1F5F9; border-radius: 50%; display: flex; align-items: center; justify-content: center; } .close-icon { width: 40rpx; height: 40rpx; } .modal-title { font-size: 48rpx; font-weight: 700; color: #1D293D; text-align: center; margin-bottom: 16rpx; line-height: 1.5; } .modal-subtitle { font-size: 32rpx; color: #62748E; text-align: center; margin-bottom: 48rpx; line-height: 1.5; } .qrcode-container { width: 440rpx; height: 440rpx; background: #F8FAFC; border: 2rpx solid #F1F5F9; border-radius: 40rpx; display: flex; align-items: center; justify-content: center; margin-bottom: 48rpx; overflow: hidden; } .qrcode-image { width: 404rpx; height: 404rpx; border-radius: 24rpx; } .modal-tips { font-size: 24rpx; color: #999; margin-bottom: 24rpx; } .save-btn { width: 552rpx; height: 116rpx; background: #EC407A; border-radius: 100rpx; display: flex; align-items: center; justify-content: center; font-size: 40rpx; font-weight: 700; color: #FFFFFF; box-shadow: 0 20rpx 30rpx -6rpx rgba(252, 228, 236, 1); transition: all 0.3s ease; } .save-btn:active { transform: scale(0.96); }