/* 主题旅行页面样式 - 优雅蓝紫主题 */ page { background: linear-gradient(180deg, #D1C4E9 0%, #E8EAF6 100%); } .page-container { min-height: 100vh; background: linear-gradient(180deg, #D1C4E9 0%, #E8EAF6 100%); } /* 固定导航栏容器 */ .nav-container { position: fixed; top: 0; left: 0; right: 0; z-index: 999; background: rgba(248, 249, 252, 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(209, 196, 233, 0.6) 0%, rgba(232, 234, 246, 0.6) 100%); backdrop-filter: blur(16rpx) saturate(150%); border: 2rpx solid rgba(103, 58, 183, 0.3); border-radius: 48rpx; display: flex; align-items: center; justify-content: space-between; box-shadow: 0 4rpx 20rpx rgba(103, 58, 183, 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(103, 58, 183, 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, #7E57C2 0%, #5E35B1 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(103, 58, 183, 0.4), 0 3rpx 12rpx rgba(103, 58, 183, 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(103, 58, 183, 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, #7E57C2 0%, #5E35B1 100%); box-shadow: 0 12rpx 24rpx rgba(103, 58, 183, 0.3); transform: scale(1.02); } /* 活动列表标题 */ .section-header { display: flex; align-items: center; justify-content: space-between; padding: 0 32rpx; margin-bottom: 32rpx; } .section-title { font-size: 44rpx; font-weight: 700; color: #1A1A1A; } .activity-count { font-size: 28rpx; color: #5E35B1; font-weight: 500; } /* 活动列表 - 毛玻璃卡片 */ .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(103, 58, 183, 0.12), 0 4rpx 16rpx rgba(103, 58, 183, 0.08); border: 1rpx solid rgba(103, 58, 183, 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(103, 58, 183, 0.15); } /* 活动图片容器 */ .activity-image-wrap { position: relative; width: 100%; height: 440rpx; overflow: hidden; background: linear-gradient(135deg, #E8EAF6 0%, #F3E5F5 100%); } .activity-image { width: 100%; height: 100%; object-fit: cover; } .activity-image-gradient { width: 100%; height: 100%; background: linear-gradient(135deg, #E8EAF6 0%, #F3E5F5 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-icon { width: 32rpx; height: 32rpx; } .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: #7E57C2; } .location-badge { position: absolute; top: 24rpx; left: 24rpx; padding: 12rpx 24rpx; background: rgba(49, 27, 146, 0.85); backdrop-filter: blur(12rpx); border-radius: 100rpx; display: flex; align-items: center; gap: 8rpx; font-size: 24rpx; color: #FFFFFF; font-weight: 500; box-shadow: 0 4rpx 16rpx rgba(0, 0, 0, 0.15); } .location-icon { width: 24rpx; height: 24rpx; } /* 活动信息 */ .activity-info { padding: 40rpx; } .activity-title { font-size: 36rpx; font-weight: 700; color: #4527A0; 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: #5E35B1; } .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(103, 58, 183, 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: #E8EAF6; 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, #7E57C2 0%, #5E35B1 100%); border-radius: 100rpx; font-size: 28rpx; font-weight: 700; color: #FFFFFF; box-shadow: 0 6rpx 20rpx rgba(103, 58, 183, 0.3); transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); white-space: nowrap; flex-shrink: 0; } .signup-btn:active { transform: scale(0.95); box-shadow: 0 4rpx 12rpx rgba(103, 58, 183, 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: #9575CD; } /* 二维码弹窗 */ .qrcode-modal { position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 9999; display: flex; align-items: center; justify-content: center; visibility: hidden; opacity: 0; transition: all 0.3s ease; } .qrcode-modal.show { visibility: visible; opacity: 1; } /* 遮罩层 */ .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; transition: all 0.3s ease; } .close-btn:active { transform: scale(0.9); background: #E2E8F0; } .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: #07C160; 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(220, 252, 231, 1), 0 8rpx 12rpx -8rpx rgba(220, 252, 231, 1); transition: all 0.3s ease; } .save-btn:active { transform: scale(0.96); box-shadow: 0 10rpx 20rpx -6rpx rgba(220, 252, 231, 1); }