156 lines
2.8 KiB
Plaintext
156 lines
2.8 KiB
Plaintext
.question-page {
|
|
display: flex;
|
|
flex-direction: column;
|
|
width: 100% !important;
|
|
height: 100% !important;
|
|
box-sizing: border-box;
|
|
min-width: 0;
|
|
position: relative;
|
|
/* padding-top: 20rpx; */
|
|
padding-bottom: 20rpx;
|
|
}
|
|
|
|
.question-content {
|
|
flex: 1;
|
|
width: 100% !important;
|
|
height: 100% !important;
|
|
box-sizing: border-box;
|
|
min-width: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.question-content.no-material {
|
|
/* 高度由父容器控制 */
|
|
}
|
|
|
|
.question-container {
|
|
background: #fff;
|
|
border-radius: 12rpx;
|
|
margin: 0 20rpx 30rpx 20rpx;
|
|
padding: 30rpx;
|
|
/* box-shadow: 0 2rpx 8rpx rgba(0, 0, 0, 0.05); */
|
|
width: calc(100% - 40rpx) !important;
|
|
box-sizing: border-box;
|
|
flex: 1;
|
|
min-width: 0;
|
|
min-height: 0;
|
|
overflow-y: auto;
|
|
}
|
|
|
|
.question-header {
|
|
margin-bottom: 20rpx;
|
|
}
|
|
|
|
.question-type {
|
|
color: #666;
|
|
font-size: 30rpx;
|
|
}
|
|
|
|
.options-list {
|
|
margin-top: 30rpx;
|
|
width: 100%;
|
|
}
|
|
|
|
.option-item {
|
|
margin: 20rpx 0;
|
|
display: flex;
|
|
align-items: center;
|
|
padding: 24rpx 30rpx;
|
|
background: #fff;
|
|
border-radius: 8rpx;
|
|
border: 2rpx solid #E5E5E5;
|
|
position: relative;
|
|
box-sizing: border-box;
|
|
width: 100%;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.option-selected {
|
|
background-color: #E3F0FF !important;
|
|
border-color: #1A7CFF !important;
|
|
}
|
|
|
|
.option-selected .option-letter,
|
|
.option-selected .option-text,
|
|
.option-selected .separator {
|
|
color: #1A7CFF !important;
|
|
}
|
|
|
|
.option-content {
|
|
flex: 1;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.option-letter {
|
|
font-size: 32rpx;
|
|
color: #333;
|
|
font-weight: 500;
|
|
min-width: 40rpx;
|
|
}
|
|
|
|
.option-text {
|
|
flex: 1;
|
|
font-size: 32rpx;
|
|
color: #333;
|
|
margin-left: 20rpx;
|
|
}
|
|
|
|
.separator {
|
|
color: #E5E5E5;
|
|
margin: 0 20rpx;
|
|
}
|
|
|
|
.answer-icon {
|
|
width: 32rpx;
|
|
height: 32rpx;
|
|
position: absolute;
|
|
right: 30rpx;
|
|
top: 50%;
|
|
transform: translateY(-50%);
|
|
}
|
|
|
|
.answer-analysis {
|
|
margin-top: 40rpx;
|
|
padding: 20rpx;
|
|
background: #F5F7FA;
|
|
border-radius: 8rpx;
|
|
}
|
|
|
|
.analysis-header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
margin-bottom: 20rpx;
|
|
}
|
|
|
|
.analysis-title {
|
|
font-size: 32rpx;
|
|
color: #333;
|
|
font-weight: 500;
|
|
}
|
|
|
|
/* 你的答案:蓝色,与正确答案的绿色区分 */
|
|
.analysis-header-user .user-answer {
|
|
font-size: 28rpx;
|
|
color: #1890ff;
|
|
font-weight: 500;
|
|
}
|
|
|
|
.correct-answer {
|
|
font-size: 28rpx;
|
|
color: #52C41A;
|
|
}
|
|
|
|
.analysis-content {
|
|
font-size: 28rpx;
|
|
color: #666;
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.bottom-spacing {
|
|
height: 40rpx;
|
|
}
|
|
|