Files
MBTI_wang/miniprogram/pages/test/sbti.wxss
Ghost 6fec2965aa feat: SBTI 测评接入与管理端题目/财务/用户联动
1、修复了用户详情、定价与题目管理、财务与分销等管理端展示与接口问题。

2、新增 SBTI 小程序测评/结果页、sbtiData 引擎、题库 SQL 与脚本;admin sbtiDisplay。

3、优化 AppConfig/CrmReport/Test、历史与个人中心、test-select 与支付相关逻辑。

Made-with: Cursor
2026-04-11 16:16:32 +08:00

198 lines
3.2 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/* pages/test/sbti.wxss — 主题底 #f2f7f3强调 #5a7268 */
.test-page {
width: 100%;
min-height: 100vh;
display: flex;
flex-direction: column;
background-color: #f2f7f3;
}
.test-loading {
flex: 1;
display: flex;
align-items: center;
justify-content: center;
padding: 80rpx;
}
.test-loading-text {
font-size: 30rpx;
color: #5a7268;
}
.progress-section {
padding: 32rpx;
border-bottom: 1rpx solid #dce8e0;
flex-shrink: 0;
background: #f2f7f3;
}
.progress-info {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 16rpx;
}
.question-count {
font-size: 28rpx;
font-weight: 500;
color: #2d3d35;
}
.time-remaining {
font-size: 28rpx;
color: #6b7f72;
}
.progress-bar-container {
width: 100%;
height: 8rpx;
background-color: #dce8e0;
border-radius: 8rpx;
overflow: hidden;
}
.progress-bar {
height: 100%;
background: linear-gradient(135deg, #5a7268 0%, #7d9488 100%);
border-radius: 8rpx;
transition: width 0.3s ease;
}
.content-area {
flex: 1;
overflow-y: auto;
padding: 32rpx;
}
.question-card {
background-color: #fff;
border-radius: 24rpx;
padding: 48rpx;
box-shadow: 0 4rpx 12rpx rgba(45, 61, 53, 0.06);
border: 1rpx solid #dce8e0;
}
.question-text {
display: block;
font-size: 40rpx;
font-weight: 500;
color: #2d3d35;
line-height: 1.6;
margin-bottom: 48rpx;
}
.options-container {
display: flex;
flex-direction: column;
gap: 32rpx;
}
.option-item {
display: flex;
align-items: center;
padding: 32rpx;
border: 2rpx solid #dce8e0;
border-radius: 16rpx;
transition: all 0.3s ease;
background: #fafcfb;
}
.option-item.selected {
background-color: rgba(90, 114, 104, 0.1);
border-color: #5a7268;
}
.radio-button {
width: 40rpx;
height: 40rpx;
border-radius: 50%;
border: 2rpx solid #b8c9c0;
display: flex;
align-items: center;
justify-content: center;
margin-right: 24rpx;
flex-shrink: 0;
transition: all 0.3s ease;
}
.radio-button.checked {
background-color: #5a7268;
border-color: #5a7268;
}
.radio-inner {
width: 16rpx;
height: 16rpx;
border-radius: 50%;
background-color: #fff;
}
.option-text {
flex: 1;
font-size: 32rpx;
color: #2d3d35;
line-height: 1.5;
}
.footer-buttons {
display: flex;
gap: 24rpx;
padding: 32rpx;
border-top: 1rpx solid #dce8e0;
flex-shrink: 0;
background: #f2f7f3;
}
.nav-button {
flex: 1;
padding: 28rpx;
border-radius: 16rpx;
text-align: center;
}
.nav-button.secondary {
background-color: #fff;
border: 2rpx solid #5a7268;
}
.nav-button.secondary .button-text {
color: #5a7268;
}
.nav-button.primary {
background: linear-gradient(135deg, #5a7268 0%, #6f8a7e 100%);
border: none;
box-shadow: 0 8rpx 24rpx rgba(90, 114, 104, 0.28);
}
.button-text-on-primary {
color: #ffffff !important;
font-weight: 600;
}
.nav-button.disabled {
opacity: 0.4;
pointer-events: none;
}
.last-hint {
margin-top: 24rpx;
padding: 20rpx 24rpx;
background: rgba(90, 114, 104, 0.08);
border-radius: 16rpx;
border: 1rpx solid #c5d4cc;
}
.last-hint-text {
font-size: 26rpx;
color: #3d5248;
line-height: 1.5;
}
.button-text {
font-size: 32rpx;
font-weight: 500;
}