2025-12-27 16:06:24 +08:00

160 lines
2.5 KiB
CSS

/* 兑换成功页面样式 */
.success-container {
display: flex;
flex-direction: column;
align-items: center;
padding: 40rpx 20rpx;
min-height: 100vh;
background-color: #ffffff;
}
/* 成功图标和标题 */
.success-header {
display: flex;
flex-direction: column;
align-items: center;
margin-bottom: 40rpx;
}
.success-icon {
width: 140rpx;
height: 140rpx;
border-radius: 50%;
background-color: #E6F7EF;
display: flex;
justify-content: center;
align-items: center;
margin-bottom: 20rpx;
}
.success-icon image {
width: 80rpx;
height: 80rpx;
}
.success-title {
font-size: 36rpx;
font-weight: 600;
color: #333333;
margin-bottom: 10rpx;
}
.points-consumed {
font-size: 28rpx;
color: #666666;
}
/* 门店信息卡片 */
.store-card {
width: 90%;
background-color: #f7f8fa;
border-radius: 12rpx;
padding: 24rpx;
display: flex;
justify-content: space-between;
align-items: flex-start;
box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.05);
margin: 20rpx 0;
}
.store-info {
flex: 1;
padding-right: 20rpx;
}
.store-name {
font-size: 30rpx;
font-weight: 600;
color: #333333;
margin-bottom: 10rpx;
}
.store-address {
font-size: 24rpx;
color: #666666;
line-height: 36rpx;
}
.nav-btn {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
background-color: transparent;
border: none;
color: #ff4d4f;
font-size: 24rpx;
padding: 0;
}
.nav-image {
width: 40rpx;
height: 40rpx;
margin-bottom: 10rpx;
}
/* 提示信息 */
.reminder {
font-size: 28rpx;
color: #333;
margin: 40rpx;
text-align: center;
}
/* 操作按钮 */
.action-buttons {
width: 100%;
display: flex;
flex-direction: column;
gap: 20rpx;
}
.primary-btn {
width: 100%;
height: 90rpx;
background-color: #ff4d4f;
color: #ffffff;
font-size: 32rpx;
font-weight: 600;
border: none;
border-radius: 20rpx;
display: flex;
justify-content: center;
align-items: center;
}
.secondary-btn {
width: 100%;
height: 90rpx;
background-color: #fff;
color: #333;
font-size: 32rpx;
font-weight: 500;
border: 1rpx solid #E5E7EB;
border-radius: 12rpx;
display: flex;
justify-content: center;
align-items: center;
}
/* 响应式设计 */
@media (max-width: 375px) {
.success-icon {
width: 120rpx;
height: 120rpx;
}
.success-title {
font-size: 32rpx;
}
.store-name {
font-size: 28rpx;
}
.primary-btn,
.secondary-btn {
height: 80rpx;
font-size: 28rpx;
}
}