Auto Submit

dev_local_v9_test1
autosubmit 2 years ago
parent 4cf4bd488b
commit 7f5f0bb0a2

@ -26,7 +26,7 @@
display: block !important;
}
</style><script>if(document.domain !== "www.educoder.net") document.title = '';</script>
<script src="/react/build/umi.c2c77f0c.js"></script>
<script src="/react/build/umi.cd9650c7.js"></script>
<script src="/react/build/js/public.js"></script>
</body>
</html>

@ -804,6 +804,19 @@
padding: 20px 15px;
}
/*!***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/_css-loader@6.7.1@css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[0].use[1]!./node_modules/_@umijs_bundler-webpack@4.3.35@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[2]!./node_modules/_@umijs_bundler-webpack@4.3.35@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[0].use[3]!./src/pages/Classrooms/Lists/Exercise/ImitateAnswer/components/UserScore/index.less?modules ***!
\***************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
.score___xDz0X {
font-weight: 600;
color: #FA6400;
}
.wrap___ODpKq {
font-size: 14px;
font-weight: 400;
color: #6A7283;
}
/*!******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
!*** css ./node_modules/_css-loader@6.7.1@css-loader/dist/cjs.js??ruleSet[1].rules[5].oneOf[1].use[1]!./node_modules/_@umijs_bundler-webpack@4.3.35@@umijs/bundler-webpack/compiled/postcss-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[2]!./node_modules/_@umijs_bundler-webpack@4.3.35@@umijs/bundler-webpack/compiled/less-loader/index.js??ruleSet[1].rules[5].oneOf[1].use[3]!./src/pages/MyProblem/TestCasePanel/index.less ***!
\******************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/

@ -597,10 +597,10 @@ var ButtonLoading = function ButtonLoading(_ref) {
/***/ }),
/***/ 87128:
/*!*********************************************************************************!*\
!*** ./src/pages/Classrooms/Lists/Exercise/ImitateAnswer/index.tsx + 8 modules ***!
\*********************************************************************************/
/***/ 61327:
/*!**********************************************************************************!*\
!*** ./src/pages/Classrooms/Lists/Exercise/ImitateAnswer/index.tsx + 10 modules ***!
\**********************************************************************************/
/***/ (function(__unused_webpack_module, __webpack_exports__, __webpack_require__) {
// ESM COMPAT FLAG
@ -689,7 +689,7 @@ var jsx_runtime = __webpack_require__(37712);
var Simple = function Simple(_ref) {
var _answerData$exercise, _item$user_answer, _item$user_answer2, _item$user_answer4, _item$standard_answer;
var _answerData$exercise, _item$user_answer, _item$user_answer2, _item$user_answer4, _answerData$exercise2, _item$standard_answer;
var item = _ref.item,
answerData = _ref.answerData,
_ref$onBlur = _ref.onBlur,
@ -709,11 +709,45 @@ var Simple = function Simple(_ref) {
(0,_react_17_0_2_react.useEffect)(function () {
setIsShow(item === null || item === void 0 ? void 0 : item.a_flag);
}, [item === null || item === void 0 ? void 0 : item.a_flag]);
var scoreStatusMapping = {
0: 'c-red-ee4',
1: 'c-green'
};
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
children: [(answerData === null || answerData === void 0 || (_answerData$exercise = answerData.exercise) === null || _answerData$exercise === void 0 ? void 0 : _answerData$exercise.commit_status) === 1 ? /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("p", {
className: "mt10 mb0",
children: "\u6211\u7684\u7B54\u6848\uFF1A"
className: "mb20",
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
justify: "space-between",
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
children: "\u6211\u7684\u7B54\u6848"
}), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
children: /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
justify: "end",
className: "mb20",
align: "middle",
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: "font14",
style: {
color: '#6A7283'
},
children: "\u5F97\u5206"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: "font14 ml10",
children: (item === null || item === void 0 ? void 0 : item.user_score) && /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: scoreStatusMapping[Number(item === null || item === void 0 ? void 0 : item.answer_status)] || 'c-orange-ff9',
children: item === null || item === void 0 ? void 0 : item.user_score
}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
style: {
marginLeft: 5,
color: '#6A7283'
},
children: "\u5206"
})]
})
})]
})
})]
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: ImitateAnswermodules.simpleText,
children: /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, {
@ -749,21 +783,37 @@ var Simple = function Simple(_ref) {
readOnly: true
})
})
}), (item === null || item === void 0 ? void 0 : item.standard_answer) && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("p", {
className: "mt10 mb0",
children: "\u53C2\u8003\u7B54\u6848\uFF1A"
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
style: {
border: "1px solid #eee",
background: "#f5f5f5",
borderRadius: 4,
padding: 5
},
children: /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, {
value: item === null || item === void 0 || (_item$standard_answer = item.standard_answer) === null || _item$standard_answer === void 0 ? void 0 : _item$standard_answer[0]
})
})]
}), (answerData === null || answerData === void 0 || (_answerData$exercise2 = answerData.exercise) === null || _answerData$exercise2 === void 0 ? void 0 : _answerData$exercise2.commit_status) === 1 && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: ImitateAnswermodules.analysisWrap,
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: ImitateAnswermodules.greyBg,
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
className: "mb20",
align: "middle",
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
className: "font14 mr10",
style: {
color: '#6A7283'
},
children: "\u3010\u7B54\u6848\u3011"
}), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
children: /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, {
value: item === null || item === void 0 || (_item$standard_answer = item.standard_answer) === null || _item$standard_answer === void 0 ? void 0 : _item$standard_answer[0]
})
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: "font14 mr10",
style: {
color: '#6A7283'
},
children: "\u3010\u89E3\u6790\u3011"
}), /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, {
className: ImitateAnswermodules.renderHtml,
value: item === null || item === void 0 ? void 0 : item.analysis
})]
})]
})
})]
});
};
@ -777,6 +827,28 @@ var monaco_editor = __webpack_require__(65395);
;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/Exercise/ImitateAnswer/components/index.less?modules
// extracted by mini-css-extract-plugin
/* harmony default export */ var componentsmodules = ({"flex_box_center":"flex_box_center___NzoJU","flex_space_between":"flex_space_between___Hwix8","flex_box_vertical_center":"flex_box_vertical_center___IjC7Y","flex_box_center_end":"flex_box_center_end___HmCsd","flex_box_column":"flex_box_column___hOf25","shixunWrp":"shixunWrp___yZiPI","fill":"fill___gz7tU","index":"index___eoHnJ","success":"success___vcRmo","fail":"fail___u5yz8","fillInput":"fillInput___ras_5","shixunWrapper":"shixunWrapper___jNj55","score":"score___gt155","name":"name___BgNAP","programWrapper":"programWrapper___lMcxv","desc":"desc___ODeOH","content":"content___RoL0o","analysisWrap":"analysisWrap___wOsyc","greyBg":"greyBg___FqXOG"});
;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/Exercise/ImitateAnswer/components/UserScore/index.less?modules
// extracted by mini-css-extract-plugin
/* harmony default export */ var UserScoremodules = ({"score":"score___xDz0X","wrap":"wrap___ODpKq"});
;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/Exercise/ImitateAnswer/components/UserScore/index.tsx
var UserScore = function UserScore(_ref) {
var score = _ref.score;
return score ? /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
className: UserScoremodules.wrap,
children: ["\u5F97\u5206", /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: "".concat(UserScoremodules.score, " ml10 mr5"),
children: score
}), "\u5206"]
}) : /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: "c-red",
children: "\u672A\u8BC4"
});
};
/* harmony default export */ var components_UserScore = (UserScore);
;// CONCATENATED MODULE: ./src/pages/Classrooms/Lists/Exercise/ImitateAnswer/components/Shixun.tsx
@ -791,7 +863,7 @@ var monaco_editor = __webpack_require__(65395);
var Shixun = function Shixun(_ref) {
var _answerData$exercise, _item$shixun, _answerData$exercise2, _answerData$exercise3, _item$shixun2;
var _item$shixun, _item$shixun2, _answerData$exercise;
var item = _ref.item,
answerData = _ref.answerData;
var _useState = (0,_react_17_0_2_react.useState)([]),
@ -907,6 +979,19 @@ var Shixun = function Shixun(_ref) {
children: item.view_answer ? "已查看" : "未查看"
});
}
}, {
title: '得分',
dataIndex: 'user_score',
key: 'user_score',
align: 'center',
render: function render(score) {
return /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
style: {
color: '#FA6400'
},
children: [score, "\u5206"]
});
}
},
// {
// title: "经验值",
@ -980,9 +1065,9 @@ var Shixun = function Shixun(_ref) {
scrollBeyondLastLine: false
};
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: componentsmodules.shixunWrapper,
children: [(answerData === null || answerData === void 0 || (_answerData$exercise = answerData.exercise) === null || _answerData$exercise === void 0 ? void 0 : _answerData$exercise.commit_status) === 0 && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: item === null || item === void 0 || (_item$shixun = item.shixun) === null || _item$shixun === void 0 ? void 0 : _item$shixun.map(function (val, key) {
children: [(item === null || item === void 0 || (_item$shixun = item.shixun) === null || _item$shixun === void 0 ? void 0 : _item$shixun.length) > 0 && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
className: componentsmodules.shixunWrapper,
children: item === null || item === void 0 || (_item$shixun2 = item.shixun) === null || _item$shixun2 === void 0 ? void 0 : _item$shixun2.map(function (val, key) {
return /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
className: "mb20",
justify: "space-between",
@ -996,13 +1081,13 @@ var Shixun = function Shixun(_ref) {
children: [val.challenge_name, " "]
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, {
children: [val.answer_status === 0 && /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
children: [!val.answer_status && /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: "font14",
style: {
color: '#FA6400'
},
children: "\u672A\u5B8C\u6210"
}), val.answer_status === 1 && /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
}), !!val.answer_status && /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: "font14",
style: {
color: '#37AD83'
@ -1012,11 +1097,20 @@ var Shixun = function Shixun(_ref) {
})]
});
})
}), (answerData === null || answerData === void 0 || (_answerData$exercise2 = answerData.exercise) === null || _answerData$exercise2 === void 0 ? void 0 : _answerData$exercise2.commit_status) !== 0 || (answerData === null || answerData === void 0 || (_answerData$exercise3 = answerData.exercise) === null || _answerData$exercise3 === void 0 ? void 0 : _answerData$exercise3.user_exercise_status) !== 0 ? /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, {
}), (answerData === null || answerData === void 0 || (_answerData$exercise = answerData.exercise) === null || _answerData$exercise === void 0 ? void 0 : _answerData$exercise.commit_status) === 1 && /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, {
children: [!!(data !== null && data !== void 0 && data.length) && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("p", {
className: "font16 c-grey-666",
children: "\u9636\u6BB5\u6210\u7EE9"
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
justify: "space-between",
className: "mb10",
align: "middle",
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
className: "font14 c-grey-666",
children: "\u9636\u6BB5\u6210\u7EE9"
}), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
children: /*#__PURE__*/(0,jsx_runtime.jsx)(components_UserScore, {
score: item === null || item === void 0 ? void 0 : item.user_score
})
})]
}), /*#__PURE__*/(0,jsx_runtime.jsx)(table/* default */.Z, {
columns: columns,
dataSource: data,
@ -1030,7 +1124,7 @@ var Shixun = function Shixun(_ref) {
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
id: "challenge_".concat(item === null || item === void 0 ? void 0 : item.question_id).concat(index),
className: "mt5",
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
className: "font16 mr15",
children: [" \u7B2C", chanllenge.position, "\u5173"]
@ -1038,6 +1132,13 @@ var Shixun = function Shixun(_ref) {
className: "current c-black font16",
to: "/tasks/".concat(chanllenge.game_identifier),
children: chanllenge.name
}), /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
style: {
marginLeft: 'auto'
},
children: /*#__PURE__*/(0,jsx_runtime.jsx)(components_UserScore, {
score: chanllenge.user_score
})
})]
}), (chanllenge === null || chanllenge === void 0 ? void 0 : chanllenge.st) === 0 && chanllenge.passed_code && /*#__PURE__*/(0,jsx_runtime.jsxs)("aside", {
className: componentsmodules.shixunWrp,
@ -1057,22 +1158,27 @@ var Shixun = function Shixun(_ref) {
});
})]
})]
}) : /*#__PURE__*/(0,jsx_runtime.jsxs)(jsx_runtime.Fragment, {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, {
className: "c-grey-999 mt20 mb20",
value: item === null || item === void 0 ? void 0 : item.question_title
}), item === null || item === void 0 || (_item$shixun2 = item.shixun) === null || _item$shixun2 === void 0 ? void 0 : _item$shixun2.map(function (shixun, index) {
return /*#__PURE__*/(0,jsx_runtime.jsxs)("p", {
className: "font16 c-grey-666 mb5",
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
className: "mr20",
children: ["\u7B2C", shixun === null || shixun === void 0 ? void 0 : shixun.challenge_position, "\u5173 ", shixun === null || shixun === void 0 ? void 0 : shixun.challenge_name]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
children: [shixun === null || shixun === void 0 ? void 0 : shixun.challenge_score, "\u5206"]
})]
}, index);
})]
})]
})
// :
// <>
// {
// <RenderHtml
// className="c-grey-999 mt20 mb20"
// value={item?.question_title}
// />
// }
// {
// item?.shixun?.map((shixun: any, index: number) => {
// return <p className="font16 c-grey-666 mb5" key={index}>
// <span className="mr20">
// 第{shixun?.challenge_position}关 {shixun?.challenge_name}
// </span>
// <span>{shixun?.challenge_score}分</span>
// </p>
// })
// }
// </>
]
});
};
/* harmony default export */ var components_Shixun = (Shixun);
@ -1087,8 +1193,10 @@ var base64 = __webpack_require__(24334);
var Program = function Program(_ref) {
var _answerData$exercise;
var _answerData$exercise, _answerData$exercise2;
var item = _ref.item,
answerData = _ref.answerData;
var _useState = (0,_react_17_0_2_react.useState)([]),
@ -1152,6 +1260,14 @@ var Program = function Program(_ref) {
children: /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, {
value: item === null || item === void 0 ? void 0 : item.description
})
}), (answerData === null || answerData === void 0 || (_answerData$exercise = answerData.exercise) === null || _answerData$exercise === void 0 ? void 0 : _answerData$exercise.commit_status) === 1 && /*#__PURE__*/(0,jsx_runtime.jsx)(row/* default */.Z, {
justify: "end",
className: "mt40",
children: /*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
children: /*#__PURE__*/(0,jsx_runtime.jsx)(components_UserScore, {
score: item === null || item === void 0 ? void 0 : item.user_score
})
})
}), !!(item !== null && item !== void 0 && item.user_answer.length) && (item === null || item === void 0 ? void 0 : item.passed_code) && /*#__PURE__*/(0,jsx_runtime.jsxs)("aside", {
className: componentsmodules.shixunWrp,
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("h3", {
@ -1166,7 +1282,7 @@ var Program = function Program(_ref) {
value: item !== null && item !== void 0 && item.passed_code ? base64.Base64.decode(item === null || item === void 0 ? void 0 : item.passed_code) : "",
options: options
})]
}), (answerData === null || answerData === void 0 || (_answerData$exercise = answerData.exercise) === null || _answerData$exercise === void 0 ? void 0 : _answerData$exercise.commit_status) === 1 && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
}), (answerData === null || answerData === void 0 || (_answerData$exercise2 = answerData.exercise) === null || _answerData$exercise2 === void 0 ? void 0 : _answerData$exercise2.commit_status) === 1 && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
style: {
background: "#F6F7F9"
},
@ -1455,7 +1571,34 @@ var BFill = function BFill(_ref) {
setUserAnswer(data);
}, [item === null || item === void 0 ? void 0 : item.standard_answer_with_score]);
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
children: [(item === null || item === void 0 ? void 0 : item.code) && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
style: {
display: 'flex',
justifyContent: 'space-between',
marginBottom: 10
},
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
style: {
fontSize: 14,
color: '#FF0000'
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(ExclamationCircleOutlined/* default */.Z, {}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
style: {
marginLeft: 5
},
children: "\u6CE8\u610F\uFF1A\u586B\u5199\u7B54\u6848\u4E4B\u540E\uFF0C\u5FC5\u987B\u63D0\u4EA4\u4EE3\u7801\u8FDB\u884C\u8BC4\u6D4B\uFF0C\u5426\u5219\u65E0\u6CD5\u5F97\u5206"
})]
}), (answerData === null || answerData === void 0 ? void 0 : answerData.exercise.commit_status) === 0 && /*#__PURE__*/(0,jsx_runtime.jsx)(Buttonloading/* default */.Z, {
ButtonProps: {
type: 'primary'
},
ButtonText: "\u63D0\u4EA4\u4EE3\u7801",
items: objectSpread2_default()(objectSpread2_default()({}, item), {}, {
userAnswer: userAnswer
}),
hackidentifier: item === null || item === void 0 ? void 0 : item.hack_identifier
})]
}), (item === null || item === void 0 ? void 0 : item.code) && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
style: {
border: '1px solid #CCCCCC',
padding: '10px',
@ -1496,45 +1639,37 @@ var BFill = function BFill(_ref) {
value: base64.Base64.decode((item === null || item === void 0 ? void 0 : item.code) || '')
})
}), !!(item !== null && item !== void 0 && (_item$standard_answer2 = item.standard_answer) !== null && _item$standard_answer2 !== void 0 && _item$standard_answer2.length) && /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: item === null || item === void 0 || (_item$standard_answer3 = item.standard_answer) === null || _item$standard_answer3 === void 0 ? void 0 : _item$standard_answer3.map(function (answer, index) {
return /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
children: ["\u53C2\u8003\u7B54\u6848\uFF1A\uFF08\u586B\u7A7A", index + 1, "\uFF09:"]
}), /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
children: /*#__PURE__*/(0,jsx_runtime.jsx)(BFill_TextArea, {
autoSize: true,
disabled: true,
value: answer === null || answer === void 0 ? void 0 : answer.answer_text
})
className: componentsmodules.analysisWrap,
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
className: componentsmodules.greyBg,
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
className: "mb20",
align: "middle",
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(col/* default */.Z, {
className: "font14 mr10",
style: {
color: '#6A7283'
},
children: "\u3010\u7B54\u6848\u3011"
}), item === null || item === void 0 || (_item$standard_answer3 = item.standard_answer) === null || _item$standard_answer3 === void 0 ? void 0 : _item$standard_answer3.map(function (answer, index) {
return /*#__PURE__*/(0,jsx_runtime.jsxs)(col/* default */.Z, {
className: "mr40",
children: ["\u586B\u7A7A\u9879", index + 1, ":", answer === null || answer === void 0 ? void 0 : answer.answer_text]
}, index);
})]
}), /*#__PURE__*/(0,jsx_runtime.jsxs)(row/* default */.Z, {
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("span", {
className: "font14 mr10",
style: {
color: '#6A7283'
},
children: "\u3010\u89E3\u6790\u3011"
}), /*#__PURE__*/(0,jsx_runtime.jsx)(RenderHtml/* default */.Z, {
className: componentsmodules.renderHtml,
value: (item === null || item === void 0 ? void 0 : item.analysis) || '暂无解析'
})]
}, index);
})
}), /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
style: {
display: 'flex',
justifyContent: 'space-between'
},
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
style: {
fontSize: 14,
color: '#FF0000'
},
children: [/*#__PURE__*/(0,jsx_runtime.jsx)(ExclamationCircleOutlined/* default */.Z, {}), /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
style: {
marginLeft: 5
},
children: "\u6CE8\u610F\uFF1A\u586B\u5199\u7B54\u6848\u4E4B\u540E\uFF0C\u5FC5\u987B\u63D0\u4EA4\u4EE3\u7801\u8FDB\u884C\u8BC4\u6D4B\uFF0C\u5426\u5219\u65E0\u6CD5\u5F97\u5206"
})]
}), /*#__PURE__*/(0,jsx_runtime.jsx)(Buttonloading/* default */.Z, {
ButtonProps: {
type: 'primary'
},
ButtonText: "\u63D0\u4EA4\u4EE3\u7801",
items: objectSpread2_default()(objectSpread2_default()({}, item), {}, {
userAnswer: userAnswer
}),
hackidentifier: item === null || item === void 0 ? void 0 : item.hack_identifier
})]
})
})]
});
};

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save