|
|
@ -340,8 +340,8 @@ const CardList = () => {
|
|
|
|
let score = 0
|
|
|
|
let score = 0
|
|
|
|
|
|
|
|
|
|
|
|
// 当前分类下试题总数
|
|
|
|
// 当前分类下试题总数
|
|
|
|
if (JSON.stringify(rulesPaperInfo) !== "{}") {
|
|
|
|
if (JSON.stringify(rulesPaperInfo) !== "{}" && rulesPaperInfo.length > 0) {
|
|
|
|
rulesPaperInfo.question_type_count.map((e, i) => {
|
|
|
|
rulesPaperInf?.question_type_count.map((e, i) => {
|
|
|
|
if (e.question_type === questionType) {
|
|
|
|
if (e.question_type === questionType) {
|
|
|
|
num = e.count
|
|
|
|
num = e.count
|
|
|
|
questionName = e.type_name
|
|
|
|
questionName = e.type_name
|
|
|
@ -444,7 +444,6 @@ const CardList = () => {
|
|
|
|
<Space direction="vertical" style={{ width: '100%', padding: '24px 48px' }}>
|
|
|
|
<Space direction="vertical" style={{ width: '100%', padding: '24px 48px' }}>
|
|
|
|
<Typography style={{ marginBottom: 16, fontSize: 18 }}>
|
|
|
|
<Typography style={{ marginBottom: 16, fontSize: 18 }}>
|
|
|
|
{questionNow.id ? questionNow.index[0] + 1 : ""} 、{questionNow?.question_stem}
|
|
|
|
{questionNow.id ? questionNow.index[0] + 1 : ""} 、{questionNow?.question_stem}
|
|
|
|
<Button onClick={() => showQuestionTypeSocore(questionNow.question_type)}>1</Button>
|
|
|
|
|
|
|
|
{/* {console.log(questionNow.answerId, 'answerId', questionNow.answerId)} */}
|
|
|
|
{/* {console.log(questionNow.answerId, 'answerId', questionNow.answerId)} */}
|
|
|
|
</Typography>
|
|
|
|
</Typography>
|
|
|
|
<Space direction="vertical" style={{ fontSize: 16 }}>
|
|
|
|
<Space direction="vertical" style={{ fontSize: 16 }}>
|
|
|
|