/* 我的缘分页 U22 — Design Tokens */ .page { min-height: 100vh; background: #FFF8F7; } /* Tab 切换栏(粘性吸附在自定义导航栏下方) */ .tabs { display: flex; background: #fff; border-bottom: 1rpx solid #F0F0F0; position: sticky; z-index: 10; } .tab { flex: 1; text-align: center; padding: 28rpx 0; font-size: 28rpx; color: #999; position: relative; transition: color 0.2s; } .tab.active { color: #E96B6B; font-weight: bold; } .tab.active::after { content: ''; position: absolute; bottom: 0; left: 50%; transform: translateX(-50%); width: 48rpx; height: 4rpx; background: #E96B6B; border-radius: 2rpx; } .tab-count { display: inline-block; background: #E96B6B; color: #fff; font-size: 20rpx; padding: 2rpx 10rpx; border-radius: 20rpx; margin-left: 8rpx; vertical-align: middle; } /* 列表容器 */ .list-wrap { padding: 24rpx; box-sizing: border-box; } .list { display: flex; flex-direction: column; gap: 16rpx; } .item { background: #fff; border-radius: 20rpx; padding: 24rpx; box-shadow: 0 2rpx 12rpx rgba(0, 0, 0, 0.04); } /* 操作按钮 */ .btn-primary { flex-shrink: 0; height: 64rpx; line-height: 64rpx; padding: 0 28rpx; border-radius: 32rpx; font-size: 24rpx; background: #E96B6B; color: #fff; border: none; } .btn-primary::after { border: none; } .btn-like-back { flex-shrink: 0; height: 64rpx; line-height: 64rpx; padding: 0 28rpx; border-radius: 32rpx; font-size: 24rpx; background: #FFF3F2; color: #E96B6B; border: 2rpx solid #E96B6B; } .btn-like-back::after { border: none; } .btn-like-back.disabled { opacity: 0.5; } /* 等待回应状态 */ .status-waiting { flex-shrink: 0; font-size: 22rpx; color: #E96B6B; padding: 8rpx 16rpx; background: #FFF3F2; border-radius: 8rpx; white-space: nowrap; }