|
|
|
|
@ -1763,6 +1763,9 @@ var Simple = function Simple(_ref) {
|
|
|
|
|
})]
|
|
|
|
|
}) : /*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
|
|
|
className: item !== null && item !== void 0 && item.standard_answer_show ? item !== null && item !== void 0 && item.user_answer_right ? "c-green" : "c-red" : '',
|
|
|
|
|
style: {
|
|
|
|
|
marginBottom: 14
|
|
|
|
|
},
|
|
|
|
|
children: showEditor ? /*#__PURE__*/(0,jsx_runtime.jsx)(markdown_editor/* default */.Z
|
|
|
|
|
// hidetoolBar={true}
|
|
|
|
|
// hidetoolBar={document.domain === "kepukehuan.educoder.net"}
|
|
|
|
|
@ -1806,7 +1809,7 @@ var Simple = function Simple(_ref) {
|
|
|
|
|
})
|
|
|
|
|
})
|
|
|
|
|
}), (item === null || item === void 0 ? void 0 : item.standard_answer) && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsx)("div", {
|
|
|
|
|
style: {
|
|
|
|
|
fontSize: '16px',
|
|
|
|
|
marginBottom: 14,
|
|
|
|
|
@ -1814,7 +1817,7 @@ var Simple = function Simple(_ref) {
|
|
|
|
|
justifyContent: 'space-between',
|
|
|
|
|
alignItems: 'center'
|
|
|
|
|
},
|
|
|
|
|
children: [/*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
|
|
|
|
|
children: /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
|
|
|
|
|
children: ["\u7B54\u9898\u7ED3\u679C", /*#__PURE__*/(0,jsx_runtime.jsx)("span", {
|
|
|
|
|
style: {
|
|
|
|
|
marginLeft: 12,
|
|
|
|
|
@ -1822,17 +1825,7 @@ var Simple = function Simple(_ref) {
|
|
|
|
|
},
|
|
|
|
|
children: item !== null && item !== void 0 && item.user_answer_right ? "\u7B54\u5BF9\u4E86" : "\u7B54\u9519\u4E86"
|
|
|
|
|
})]
|
|
|
|
|
}), (item === null || item === void 0 ? void 0 : item.show_recommend) && /*#__PURE__*/(0,jsx_runtime.jsxs)("span", {
|
|
|
|
|
style: {
|
|
|
|
|
cursor: 'pointer',
|
|
|
|
|
color: '#3061D0',
|
|
|
|
|
fontSize: '14px'
|
|
|
|
|
},
|
|
|
|
|
onClick: function onClick() {
|
|
|
|
|
setKnowledgeDialog();
|
|
|
|
|
},
|
|
|
|
|
children: ["\u4E3A\u4F60\u63A8\u8350\u540C\u77E5\u8BC6\u70B9\u9898\u76EE\uFF0C\u7ACB\u5373\u5DE9\u56FA", " >"]
|
|
|
|
|
})]
|
|
|
|
|
})
|
|
|
|
|
}), (item === null || item === void 0 ? void 0 : item.can_answer_num) > 0 && !(item !== null && item !== void 0 && item.user_answer_right) && /*#__PURE__*/(0,jsx_runtime.jsxs)("div", {
|
|
|
|
|
style: {
|
|
|
|
|
color: '#FF8C29',
|