480 lines
8.6 KiB
Plaintext
480 lines
8.6 KiB
Plaintext
/* 同城活动页面样式 - 玫瑰紫版 v3.0 */
|
|
page {
|
|
background: linear-gradient(180deg, #E8C3D4 0%, #F5E6ED 100%);
|
|
}
|
|
|
|
.page-container {
|
|
min-height: 100vh;
|
|
background: linear-gradient(180deg, #E8C3D4 0%, #F5E6ED 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(232, 195, 212, 0.6) 0%,
|
|
rgba(245, 230, 237, 0.6) 100%);
|
|
backdrop-filter: blur(16rpx) saturate(150%);
|
|
border: 2rpx solid rgba(145, 69, 132, 0.3);
|
|
border-radius: 48rpx;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
box-shadow: 0 4rpx 20rpx rgba(145, 69, 132, 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(145, 69, 132, 0.18);
|
|
}
|
|
|
|
.group-info {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: flex-start;
|
|
gap: 16rpx;
|
|
padding-right: 24rpx;
|
|
}
|
|
|
|
.group-title {
|
|
font-size: 40rpx;
|
|
font-weight: 700;
|
|
color: #1A1A1A;
|
|
line-height: 1.4;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
/* 城市选择器 */
|
|
.city-selector {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 12rpx;
|
|
padding: 12rpx 28rpx;
|
|
background: rgba(255, 255, 255, 0.95);
|
|
backdrop-filter: blur(16rpx) saturate(150%);
|
|
border-radius: 100rpx;
|
|
border: 2rpx solid rgba(145, 69, 132, 0.2);
|
|
box-shadow: 0 4rpx 16rpx rgba(145, 69, 132, 0.08),
|
|
0 2rpx 8rpx rgba(145, 69, 132, 0.04);
|
|
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.city-selector:active {
|
|
transform: scale(0.96);
|
|
box-shadow: 0 2rpx 12rpx rgba(145, 69, 132, 0.12);
|
|
background: rgba(255, 255, 255, 1);
|
|
}
|
|
|
|
.city-name {
|
|
font-size: 32rpx;
|
|
font-weight: 700;
|
|
color: #914584;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.city-arrow {
|
|
width: 24rpx;
|
|
height: 24rpx;
|
|
opacity: 0.7;
|
|
}
|
|
|
|
.join-btn {
|
|
padding: 0 40rpx;
|
|
height: 88rpx;
|
|
background: linear-gradient(135deg, #914584 0%, #7A3A6F 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(145, 69, 132, 0.4),
|
|
0 3rpx 12rpx rgba(145, 69, 132, 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(145, 69, 132, 0.45);
|
|
}
|
|
|
|
/* 活动列表标题 */
|
|
.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: #914584;
|
|
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(145, 69, 132, 0.12),
|
|
0 4rpx 16rpx rgba(145, 69, 132, 0.08);
|
|
border: 1rpx solid rgba(145, 69, 132, 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(145, 69, 132, 0.15);
|
|
}
|
|
|
|
/* 活动图片容器 */
|
|
.activity-image-container {
|
|
position: relative;
|
|
width: 100%;
|
|
height: 360rpx;
|
|
overflow: hidden;
|
|
background: linear-gradient(135deg, #F5E6ED 0%, #FAF5F8 100%);
|
|
}
|
|
|
|
.activity-image {
|
|
width: 100%;
|
|
height: 100%;
|
|
object-fit: cover;
|
|
}
|
|
|
|
.location-badge {
|
|
position: absolute;
|
|
top: 24rpx;
|
|
left: 24rpx;
|
|
padding: 12rpx 24rpx;
|
|
background: rgba(122, 58, 111, 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: #7A3A6F;
|
|
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: #914584;
|
|
}
|
|
|
|
.meta-icon {
|
|
width: 28rpx;
|
|
height: 28rpx;
|
|
}
|
|
|
|
/* 热度显示样式 */
|
|
.heat-item {
|
|
margin-left: auto;
|
|
}
|
|
|
|
.heat-text {
|
|
color: #F97316;
|
|
font-weight: 700;
|
|
}
|
|
|
|
/* 活动底部 */
|
|
.activity-footer {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
padding-top: 24rpx;
|
|
border-top: 1rpx solid rgba(145, 69, 132, 0.1);
|
|
}
|
|
|
|
.heat-info {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 8rpx;
|
|
font-size: 26rpx;
|
|
color: #B39DDB;
|
|
}
|
|
|
|
.heat-icon {
|
|
width: 28rpx;
|
|
height: 28rpx;
|
|
}
|
|
|
|
.signup-btn {
|
|
width: 220rpx;
|
|
height: 72rpx;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
background: linear-gradient(135deg, #914584 0%, #7A3A6F 100%);
|
|
border-radius: 100rpx;
|
|
font-size: 28rpx;
|
|
font-weight: 700;
|
|
color: #FFFFFF;
|
|
box-shadow: 0 6rpx 20rpx rgba(145, 69, 132, 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(145, 69, 132, 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: #B39DDB;
|
|
}
|
|
|
|
/* 二维码弹窗 */
|
|
.qrcode-modal {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
z-index: 9999;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
/* 遮罩层 */
|
|
.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;
|
|
}
|
|
|
|
/* 保存按钮 */
|
|
.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);
|
|
}
|