Files
MBTI_wang/miniprogram/pages/result/resume.wxss
2026-03-17 14:06:53 +08:00

387 lines
6.9 KiB
Plaintext

/* pages/result/resume.wxss - 简历综合分析结果页 */
.container {
min-height: 100vh;
background-color: #f5f5f5;
padding: 0 24rpx 60rpx;
}
/* ========== 分析中模态框 ========== */
.analyzing-modal {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: rgba(0, 0, 0, 0.7);
display: flex;
align-items: center;
justify-content: center;
z-index: 9999;
}
.analyzing-content {
background-color: #fff;
border-radius: 24rpx;
padding: 80rpx 60rpx;
width: 560rpx;
display: flex;
flex-direction: column;
align-items: center;
box-shadow: 0 8rpx 32rpx rgba(0, 0, 0, 0.15);
}
.analyzing-icon {
width: 120rpx;
height: 120rpx;
margin-bottom: 40rpx;
display: flex;
align-items: center;
justify-content: center;
}
.spinner {
width: 120rpx;
height: 120rpx;
border: 8rpx solid #e0e0e0;
border-top-color: #e63946;
border-radius: 50%;
animation: spin 1s linear infinite;
}
@keyframes spin {
to { transform: rotate(360deg); }
}
.analyzing-title {
font-size: 36rpx;
font-weight: 600;
color: #333;
margin-bottom: 16rpx;
}
.analyzing-desc {
font-size: 28rpx;
color: #e63946;
margin-bottom: 24rpx;
text-align: center;
font-weight: 500;
}
.analyzing-bar {
width: 400rpx;
height: 12rpx;
background: #e5e5e5;
border-radius: 6rpx;
overflow: hidden;
margin-bottom: 24rpx;
}
.analyzing-bar-fill {
height: 100%;
background: linear-gradient(90deg, #e63946, #ff6b9d);
border-radius: 6rpx;
transition: width 0.3s ease;
}
.analyzing-hint {
font-size: 24rpx;
color: #999;
text-align: center;
line-height: 1.6;
}
/* ========== 顶部 Hero 区域 ========== */
.hero-banner {
display: flex;
align-items: center;
border-radius: 20rpx;
padding: 32rpx 28rpx;
margin: 24rpx 0;
gap: 20rpx;
}
.hero-success {
background: linear-gradient(135deg, #1a1a2e 0%, #3a3a5c 100%);
}
.hero-error {
background: linear-gradient(135deg, #c62828 0%, #e53935 100%);
}
.hero-icon {
font-size: 64rpx;
line-height: 1;
flex-shrink: 0;
}
.hero-text-wrap {
display: flex;
flex-direction: column;
gap: 8rpx;
}
.hero-title {
font-size: 34rpx;
font-weight: 700;
color: #fff;
display: block;
}
.hero-sub {
font-size: 24rpx;
color: rgba(255, 255, 255, 0.65);
display: block;
}
/* ========== 通用卡片 ========== */
.card {
background-color: #fff;
border-radius: 16rpx;
padding: 40rpx 32rpx;
margin-bottom: 24rpx;
box-shadow: 0 4rpx 12rpx rgba(0, 0, 0, 0.05);
word-wrap: break-word;
}
.card-title {
font-size: 34rpx;
font-weight: 700;
color: #1a1a2e;
display: block;
margin-bottom: 24rpx;
border-left: 8rpx solid #e63946;
padding-left: 20rpx;
}
.card-text {
font-size: 28rpx;
color: #333;
line-height: 1.8;
display: block;
white-space: pre-wrap;
}
.error-title {
color: #f44336;
border-left-color: #f44336;
}
.error-message {
color: #666;
background-color: #f9f9f9;
padding: 20rpx;
border-radius: 12rpx;
}
.action-btn-retry {
margin-top: 32rpx;
background: linear-gradient(135deg, #e63946 0%, #ff6b9d 100%);
height: 88rpx;
border-radius: 44rpx;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 6rpx 16rpx rgba(230, 57, 70, 0.25);
}
.retry-text {
font-size: 30rpx;
color: #fff;
font-weight: 600;
}
/* ========== 分块卡片 ========== */
.section-card {
padding: 0;
overflow: hidden;
}
.section-header {
display: flex;
align-items: center;
padding: 28rpx 32rpx 20rpx;
background: linear-gradient(135deg, #fff5f5 0%, #fff 100%);
border-bottom: 1rpx solid #f5f5f5;
}
.section-icon {
font-size: 40rpx;
margin-right: 16rpx;
line-height: 1;
}
.section-title-text {
font-size: 30rpx;
font-weight: 700;
color: #1a1a2e;
flex: 1;
display: block;
}
.section-body {
padding: 24rpx 32rpx 32rpx;
}
.section-body .content-text {
font-size: 27rpx;
color: #444;
line-height: 1.9;
letter-spacing: 0.5rpx;
}
/* ========== 操作按钮 ========== */
.action-section {
margin-top: 16rpx;
padding-bottom: 40rpx;
}
.btn {
display: flex;
align-items: center;
justify-content: center;
width: 100%!important;
height: 100rpx;
min-height: 100rpx;
border-radius: 28rpx;
margin-bottom: 20rpx;
padding: 0;
border: none;
line-height: 100rpx;
box-sizing: border-box;
overflow: hidden;
}
.btn::after {
border: none;
}
.btn-primary {
background: linear-gradient(135deg, #e63946 0%, #ff6b9d 100%);
box-shadow: 0 8rpx 24rpx rgba(230, 57, 70, 0.3);
}
.btn-outline {
background: #fff;
border: 2rpx solid #e63946;
}
.btn-text {
font-size: 32rpx;
font-weight: 600;
color: #fff;
}
.btn-text-outline {
font-size: 30rpx;
color: #e63946;
font-weight: 500;
}
/* ========== 支付解锁卡片 ========== */
.pay-gate-card {
display: flex;
flex-direction: column;
align-items: center;
padding: 60rpx 40rpx 48rpx;
text-align: center;
}
.pay-gate-icon {
font-size: 80rpx;
margin-bottom: 24rpx;
}
.pay-gate-title {
font-size: 36rpx;
font-weight: 700;
color: #1f2937;
margin-bottom: 16rpx;
}
.pay-gate-desc {
font-size: 28rpx;
color: #6b7280;
line-height: 1.6;
margin-bottom: 36rpx;
}
.pay-gate-amount {
display: flex;
align-items: center;
gap: 16rpx;
background: #fff5f5;
border-radius: 20rpx;
padding: 20rpx 40rpx;
margin-bottom: 40rpx;
}
.pay-amount-label {
font-size: 26rpx;
color: #6b7280;
}
.pay-amount-value {
font-size: 52rpx;
font-weight: 800;
color: #e63946;
}
.pay-gate-btn {
width: 100%;
height: 96rpx;
background: linear-gradient(135deg, #e63946 0%, #ff6b9d 100%);
border-radius: 48rpx;
display: flex;
align-items: center;
justify-content: center;
box-shadow: 0 8rpx 24rpx rgba(230, 57, 70, 0.35);
}
.pay-gate-btn.paying {
opacity: 0.7;
}
.pay-gate-btn-text {
font-size: 32rpx;
font-weight: 700;
color: #fff;
}
/* AI 生成内容标识横幅(监管合规,始终显示) */
.ai-disclosure-banner {
display: flex;
align-items: center;
justify-content: center;
gap: 12rpx;
margin: 24rpx 0;
padding: 16rpx 24rpx;
background: linear-gradient(135deg, #f0f4ff 0%, #e8ecf8 100%);
border: 1rpx solid #c7d2fe;
border-radius: 12rpx;
}
.ai-disclosure-banner.bottom {
margin-top: 16rpx;
margin-bottom: 0;
}
.ai-disclosure-icon {
width: 44rpx;
height: 44rpx;
border-radius: 8rpx;
background: linear-gradient(135deg, #6366f1 0%, #818cf8 100%);
color: #fff;
font-size: 20rpx;
font-weight: 700;
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
}
.ai-disclosure-text {
font-size: 22rpx;
color: #4338ca;
line-height: 1.4;
}