@zykjcommon/questions 0.0.49 → 0.0.50
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/zykjcommon-questions.common.js +148 -114
- package/dist/zykjcommon-questions.css +1 -1
- package/dist/zykjcommon-questions.umd.js +148 -114
- package/dist/zykjcommon-questions.umd.min.js +4 -4
- package/package.json +1 -1
- package/src/assets/scss/questions/zykjcommon-questions.scss +2 -2
- package/src/components/questions/Question_Classify.vue +14 -3
- package/src/components/questions/Question_MultipleChoice.vue +1 -1
- package/src/components/questions/Question_Programming.vue +20 -0
|
@@ -20690,109 +20690,109 @@ const __exports__ = /*#__PURE__*/(0,exportHelper/* default */.Z)(MediaLookervue_
|
|
|
20690
20690
|
const Question_SingleChoice_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(Question_SingleChoicevue_type_script_lang_js, [['render',render]])
|
|
20691
20691
|
|
|
20692
20692
|
/* harmony default export */ var Question_SingleChoice = (Question_SingleChoice_exports_);
|
|
20693
|
-
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[4]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/components/questions/Question_MultipleChoice.vue?vue&type=template&id=
|
|
20693
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[4]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/components/questions/Question_MultipleChoice.vue?vue&type=template&id=4550d456
|
|
20694
20694
|
|
|
20695
|
-
var
|
|
20695
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_1 = {
|
|
20696
20696
|
class: "zykjcommon-question"
|
|
20697
20697
|
};
|
|
20698
|
-
var
|
|
20698
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_2 = {
|
|
20699
20699
|
key: 0,
|
|
20700
20700
|
class: "question-type"
|
|
20701
20701
|
};
|
|
20702
|
-
var
|
|
20702
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_3 = {
|
|
20703
20703
|
key: 0,
|
|
20704
20704
|
class: "question-type-str"
|
|
20705
20705
|
};
|
|
20706
|
-
var
|
|
20706
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_4 = {
|
|
20707
20707
|
key: 0
|
|
20708
20708
|
};
|
|
20709
|
-
var
|
|
20709
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_5 = {
|
|
20710
20710
|
key: 1
|
|
20711
20711
|
};
|
|
20712
|
-
var
|
|
20712
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_6 = {
|
|
20713
20713
|
key: 2,
|
|
20714
20714
|
class: "score fr"
|
|
20715
20715
|
};
|
|
20716
|
-
var
|
|
20716
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_7 = {
|
|
20717
20717
|
class: "question-box"
|
|
20718
20718
|
};
|
|
20719
|
-
var
|
|
20720
|
-
var
|
|
20719
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_8 = ["innerHTML"];
|
|
20720
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_9 = {
|
|
20721
20721
|
key: 2,
|
|
20722
20722
|
class: "question-stem"
|
|
20723
20723
|
};
|
|
20724
|
-
var
|
|
20724
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_10 = {
|
|
20725
20725
|
key: 0
|
|
20726
20726
|
};
|
|
20727
|
-
var
|
|
20727
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_11 = {
|
|
20728
20728
|
key: 3,
|
|
20729
20729
|
class: "editor-content",
|
|
20730
20730
|
style: {
|
|
20731
20731
|
"display": "flex"
|
|
20732
20732
|
}
|
|
20733
20733
|
};
|
|
20734
|
-
var
|
|
20734
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_12 = {
|
|
20735
20735
|
key: 0
|
|
20736
20736
|
};
|
|
20737
|
-
var
|
|
20738
|
-
var
|
|
20737
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_13 = ["innerHTML"];
|
|
20738
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_14 = {
|
|
20739
20739
|
class: "question-option"
|
|
20740
20740
|
};
|
|
20741
|
-
var
|
|
20742
|
-
var
|
|
20741
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_15 = ["disabled", "id", "value"];
|
|
20742
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_16 = /*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", {
|
|
20743
20743
|
class: "checkbox-bg"
|
|
20744
20744
|
}, null, -1);
|
|
20745
|
-
var
|
|
20745
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_17 = {
|
|
20746
20746
|
class: "label-box"
|
|
20747
20747
|
};
|
|
20748
|
-
var
|
|
20749
|
-
var
|
|
20748
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_18 = ["for"];
|
|
20749
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_19 = {
|
|
20750
20750
|
key: 0
|
|
20751
20751
|
};
|
|
20752
|
-
var
|
|
20752
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_20 = {
|
|
20753
20753
|
key: 0,
|
|
20754
20754
|
class: "img-box"
|
|
20755
20755
|
};
|
|
20756
|
-
var
|
|
20757
|
-
var
|
|
20756
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_21 = ["src"];
|
|
20757
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_22 = {
|
|
20758
20758
|
key: 0,
|
|
20759
20759
|
class: "question-analysis"
|
|
20760
20760
|
};
|
|
20761
|
-
var
|
|
20761
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_23 = /*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", {
|
|
20762
20762
|
class: "triangle-top"
|
|
20763
20763
|
}, null, -1);
|
|
20764
|
-
var
|
|
20764
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_24 = {
|
|
20765
20765
|
class: "question-analysis-item"
|
|
20766
20766
|
};
|
|
20767
|
-
var
|
|
20767
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_25 = /*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("span", {
|
|
20768
20768
|
class: "txt"
|
|
20769
20769
|
}, "【你的回答】:", -1);
|
|
20770
|
-
var
|
|
20770
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_26 = {
|
|
20771
20771
|
class: "txt-box"
|
|
20772
20772
|
};
|
|
20773
|
-
var
|
|
20773
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_27 = {
|
|
20774
20774
|
class: "question-analysis-item"
|
|
20775
20775
|
};
|
|
20776
|
-
var
|
|
20776
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_28 = /*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("span", {
|
|
20777
20777
|
class: "txt"
|
|
20778
20778
|
}, "【正确答案】:", -1);
|
|
20779
|
-
var
|
|
20779
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_29 = {
|
|
20780
20780
|
class: "txt-box"
|
|
20781
20781
|
};
|
|
20782
|
-
var
|
|
20782
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_30 = {
|
|
20783
20783
|
key: 0,
|
|
20784
20784
|
class: "question-analysis-item"
|
|
20785
20785
|
};
|
|
20786
|
-
var
|
|
20786
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_31 = /*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("span", {
|
|
20787
20787
|
class: "txt"
|
|
20788
20788
|
}, "【本题解析】:", -1);
|
|
20789
|
-
var
|
|
20789
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_32 = {
|
|
20790
20790
|
class: "txt-box"
|
|
20791
20791
|
};
|
|
20792
|
-
var
|
|
20793
|
-
function
|
|
20792
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_33 = ["innerHTML"];
|
|
20793
|
+
function Question_MultipleChoicevue_type_template_id_4550d456_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
20794
20794
|
var _component_MediaLooker = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.resolveComponent)("MediaLooker");
|
|
20795
|
-
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("div",
|
|
20795
|
+
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("div", Question_MultipleChoicevue_type_template_id_4550d456_hoisted_1, [!$props.isSub ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("div", Question_MultipleChoicevue_type_template_id_4550d456_hoisted_2, [$props.showQuestionType ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("div", Question_MultipleChoicevue_type_template_id_4550d456_hoisted_3, [$props.showQuestionIndex ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("span", Question_MultipleChoicevue_type_template_id_4550d456_hoisted_4, (0,external_commonjs_vue_commonjs2_vue_root_Vue_.toDisplayString)($props.questionInfo.questionIndex) + "、", 1)) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)("", true), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createTextVNode)((0,external_commonjs_vue_commonjs2_vue_root_Vue_.toDisplayString)($props.questionInfo.question_type_str), 1)])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)("", true), $props.questionInfo.score !== 'null' && $props.showScore ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("span", Question_MultipleChoicevue_type_template_id_4550d456_hoisted_5, "(" + (0,external_commonjs_vue_commonjs2_vue_root_Vue_.toDisplayString)($props.questionInfo.score) + "分)", 1)) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)("", true), $props.mode === 'analysis' ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("span", Question_MultipleChoicevue_type_template_id_4550d456_hoisted_6, "得分:" + (0,external_commonjs_vue_commonjs2_vue_root_Vue_.toDisplayString)($props.questionInfo.answerMap ? $props.questionInfo.answerMap.user_score : '-') + "分", 1)) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)("", true)])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)("", true), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", Question_MultipleChoicevue_type_template_id_4550d456_hoisted_7, [$props.showQuestionHint && $props.questionInfo.hint && !$props.isSub ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("div", {
|
|
20796
20796
|
key: 0,
|
|
20797
20797
|
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.normalizeClass)(["question-hint", {
|
|
20798
20798
|
'bold': !$props.showQuestionType
|
|
@@ -20801,19 +20801,19 @@ function Question_MultipleChoicevue_type_template_id_2d0f9b93_render(_ctx, _cach
|
|
|
20801
20801
|
key: 1,
|
|
20802
20802
|
class: "editor-content",
|
|
20803
20803
|
innerHTML: $props.questionInfo.htmlContent
|
|
20804
|
-
}, null, 8,
|
|
20804
|
+
}, null, 8, Question_MultipleChoicevue_type_template_id_4550d456_hoisted_8)) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)("", true), $props.isSub ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("div", Question_MultipleChoicevue_type_template_id_4550d456_hoisted_9, [$props.questionInfo.hint ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("span", Question_MultipleChoicevue_type_template_id_4550d456_hoisted_10, (0,external_commonjs_vue_commonjs2_vue_root_Vue_.toDisplayString)($props.questionInfo.questionIndex2) + "、", 1)) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)("", true), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createTextVNode)((0,external_commonjs_vue_commonjs2_vue_root_Vue_.toDisplayString)($props.questionInfo.hint), 1)])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)("", true), $props.isSub ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("div", Question_MultipleChoicevue_type_template_id_4550d456_hoisted_11, [!$props.questionInfo.hint ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("span", Question_MultipleChoicevue_type_template_id_4550d456_hoisted_12, (0,external_commonjs_vue_commonjs2_vue_root_Vue_.toDisplayString)($props.questionInfo.questionIndex2) + "、", 1)) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)("", true), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", {
|
|
20805
20805
|
style: {
|
|
20806
20806
|
"display": "inline-block",
|
|
20807
20807
|
"flex": "1"
|
|
20808
20808
|
},
|
|
20809
20809
|
innerHTML: $props.questionInfo.htmlContent
|
|
20810
|
-
}, null, 8,
|
|
20810
|
+
}, null, 8, Question_MultipleChoicevue_type_template_id_4550d456_hoisted_13)])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)("", true), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", {
|
|
20811
20811
|
class: "question-option-list",
|
|
20812
20812
|
style: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.normalizeStyle)(!$props.questionInfo.htmlContent && !$props.questionInfo.hint ? {
|
|
20813
20813
|
'margin-top': 0
|
|
20814
20814
|
} : {})
|
|
20815
20815
|
}, [((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(true), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)(external_commonjs_vue_commonjs2_vue_root_Vue_.Fragment, null, (0,external_commonjs_vue_commonjs2_vue_root_Vue_.renderList)($data.exam_options_data, function (item, index) {
|
|
20816
|
-
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("div",
|
|
20816
|
+
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("div", Question_MultipleChoicevue_type_template_id_4550d456_hoisted_14, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", {
|
|
20817
20817
|
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.normalizeClass)(["checkbox-box", {
|
|
20818
20818
|
'checked': $data.checkboxList.indexOf(item.index) > -1
|
|
20819
20819
|
}])
|
|
@@ -20826,20 +20826,20 @@ function Question_MultipleChoicevue_type_template_id_2d0f9b93_render(_ctx, _cach
|
|
|
20826
20826
|
id: 'checkbox-' + $props.questionInfo.questionIndex + '-' + index,
|
|
20827
20827
|
class: "checkbox",
|
|
20828
20828
|
value: item.index
|
|
20829
|
-
}, null, 8,
|
|
20829
|
+
}, null, 8, Question_MultipleChoicevue_type_template_id_4550d456_hoisted_15), [[external_commonjs_vue_commonjs2_vue_root_Vue_.vModelCheckbox, $data.checkboxList]]), Question_MultipleChoicevue_type_template_id_4550d456_hoisted_16], 2), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", Question_MultipleChoicevue_type_template_id_4550d456_hoisted_17, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("label", {
|
|
20830
20830
|
for: 'checkbox-' + $props.questionInfo.questionIndex + '-' + index
|
|
20831
|
-
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("span", null, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createTextVNode)((0,external_commonjs_vue_commonjs2_vue_root_Vue_.toDisplayString)(item.enIndex) + ".", 1), item.data.file_type == 0 ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("span",
|
|
20831
|
+
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("span", null, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createTextVNode)((0,external_commonjs_vue_commonjs2_vue_root_Vue_.toDisplayString)(item.enIndex) + ".", 1), item.data.file_type == 0 ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("span", Question_MultipleChoicevue_type_template_id_4550d456_hoisted_19, (0,external_commonjs_vue_commonjs2_vue_root_Vue_.toDisplayString)(item.data.option_content), 1)) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)("", true)]), item.data.file_type != 0 ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("div", Question_MultipleChoicevue_type_template_id_4550d456_hoisted_20, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("img", {
|
|
20832
20832
|
src: item.data.file_url
|
|
20833
|
-
}, null, 8,
|
|
20834
|
-
}), 256)), $props.mode === 'analysis' ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("div",
|
|
20833
|
+
}, null, 8, Question_MultipleChoicevue_type_template_id_4550d456_hoisted_21)])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)("", true)], 8, Question_MultipleChoicevue_type_template_id_4550d456_hoisted_18)])]);
|
|
20834
|
+
}), 256)), $props.mode === 'analysis' ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("div", Question_MultipleChoicevue_type_template_id_4550d456_hoisted_22, [Question_MultipleChoicevue_type_template_id_4550d456_hoisted_23, (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", Question_MultipleChoicevue_type_template_id_4550d456_hoisted_24, [Question_MultipleChoicevue_type_template_id_4550d456_hoisted_25, (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", Question_MultipleChoicevue_type_template_id_4550d456_hoisted_26, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("span", {
|
|
20835
20835
|
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.normalizeClass)({
|
|
20836
20836
|
'wrong': $props.questionInfo.answerMap.is_correct !== '1',
|
|
20837
20837
|
'right': $props.questionInfo.answerMap.is_correct === '1'
|
|
20838
20838
|
})
|
|
20839
|
-
}, (0,external_commonjs_vue_commonjs2_vue_root_Vue_.toDisplayString)($props.questionInfo.answerMap.is_correct !== '1' ? '错误' : '正确'), 3)])]), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div",
|
|
20839
|
+
}, (0,external_commonjs_vue_commonjs2_vue_root_Vue_.toDisplayString)($props.questionInfo.answerMap.is_correct !== '1' ? '错误' : '正确'), 3)])]), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", Question_MultipleChoicevue_type_template_id_4550d456_hoisted_27, [Question_MultipleChoicevue_type_template_id_4550d456_hoisted_28, (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", Question_MultipleChoicevue_type_template_id_4550d456_hoisted_29, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("span", null, (0,external_commonjs_vue_commonjs2_vue_root_Vue_.toDisplayString)($data.analyCorrectAnswer), 1)])]), $props.questionInfo.analysis ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("div", Question_MultipleChoicevue_type_template_id_4550d456_hoisted_30, [Question_MultipleChoicevue_type_template_id_4550d456_hoisted_31, (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", Question_MultipleChoicevue_type_template_id_4550d456_hoisted_32, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("span", {
|
|
20840
20840
|
class: "analysis-txt",
|
|
20841
20841
|
innerHTML: $props.questionInfo.analysisHtmlContent
|
|
20842
|
-
}, null, 8,
|
|
20842
|
+
}, null, 8, Question_MultipleChoicevue_type_template_id_4550d456_hoisted_33)])])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)("", true)])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)("", true)], 4)]), _ctx.visible ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createBlock)(_component_MediaLooker, {
|
|
20843
20843
|
key: 1,
|
|
20844
20844
|
visible: _ctx.visible,
|
|
20845
20845
|
"onUpdate:visible": _cache[1] || (_cache[1] = function ($event) {
|
|
@@ -20849,7 +20849,7 @@ function Question_MultipleChoicevue_type_template_id_2d0f9b93_render(_ctx, _cach
|
|
|
20849
20849
|
mediaLookerList: _ctx.mediaLookerList
|
|
20850
20850
|
}, null, 8, ["visible", "mediaCount", "mediaLookerList"])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)("", true)]);
|
|
20851
20851
|
}
|
|
20852
|
-
;// CONCATENATED MODULE: ./src/components/questions/Question_MultipleChoice.vue?vue&type=template&id=
|
|
20852
|
+
;// CONCATENATED MODULE: ./src/components/questions/Question_MultipleChoice.vue?vue&type=template&id=4550d456
|
|
20853
20853
|
|
|
20854
20854
|
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/components/questions/Question_MultipleChoice.vue?vue&type=script&lang=js
|
|
20855
20855
|
|
|
@@ -20969,7 +20969,7 @@ function Question_MultipleChoicevue_type_template_id_2d0f9b93_render(_ctx, _cach
|
|
|
20969
20969
|
};
|
|
20970
20970
|
},
|
|
20971
20971
|
isAnswered: function isAnswered() {
|
|
20972
|
-
var answerd = this.checkboxList.length
|
|
20972
|
+
var answerd = this.checkboxList.length > 1;
|
|
20973
20973
|
return answerd;
|
|
20974
20974
|
},
|
|
20975
20975
|
isCorrect: function isCorrect() {
|
|
@@ -20996,7 +20996,7 @@ function Question_MultipleChoicevue_type_template_id_2d0f9b93_render(_ctx, _cach
|
|
|
20996
20996
|
|
|
20997
20997
|
|
|
20998
20998
|
;
|
|
20999
|
-
const Question_MultipleChoice_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(Question_MultipleChoicevue_type_script_lang_js, [['render',
|
|
20999
|
+
const Question_MultipleChoice_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(Question_MultipleChoicevue_type_script_lang_js, [['render',Question_MultipleChoicevue_type_template_id_4550d456_render]])
|
|
21000
21000
|
|
|
21001
21001
|
/* harmony default export */ var Question_MultipleChoice = (Question_MultipleChoice_exports_);
|
|
21002
21002
|
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[4]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/components/questions/Question_Reading.vue?vue&type=template&id=4624570f
|
|
@@ -21813,91 +21813,91 @@ var filerRegs = [{
|
|
|
21813
21813
|
const Question_FillBlank_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(Question_FillBlankvue_type_script_lang_js, [['render',Question_FillBlankvue_type_template_id_62528820_render]])
|
|
21814
21814
|
|
|
21815
21815
|
/* harmony default export */ var Question_FillBlank = (Question_FillBlank_exports_);
|
|
21816
|
-
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[4]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/components/questions/Question_Programming.vue?vue&type=template&id=
|
|
21816
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[4]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/components/questions/Question_Programming.vue?vue&type=template&id=61b5ec79
|
|
21817
21817
|
|
|
21818
|
-
var
|
|
21818
|
+
var Question_Programmingvue_type_template_id_61b5ec79_hoisted_1 = {
|
|
21819
21819
|
class: "zykjcommon-question"
|
|
21820
21820
|
};
|
|
21821
|
-
var
|
|
21821
|
+
var Question_Programmingvue_type_template_id_61b5ec79_hoisted_2 = {
|
|
21822
21822
|
key: 0,
|
|
21823
21823
|
class: "question-type"
|
|
21824
21824
|
};
|
|
21825
|
-
var
|
|
21825
|
+
var Question_Programmingvue_type_template_id_61b5ec79_hoisted_3 = {
|
|
21826
21826
|
key: 0,
|
|
21827
21827
|
class: "question-type-str"
|
|
21828
21828
|
};
|
|
21829
|
-
var
|
|
21829
|
+
var Question_Programmingvue_type_template_id_61b5ec79_hoisted_4 = {
|
|
21830
21830
|
key: 0
|
|
21831
21831
|
};
|
|
21832
|
-
var
|
|
21832
|
+
var Question_Programmingvue_type_template_id_61b5ec79_hoisted_5 = {
|
|
21833
21833
|
key: 1
|
|
21834
21834
|
};
|
|
21835
|
-
var
|
|
21835
|
+
var Question_Programmingvue_type_template_id_61b5ec79_hoisted_6 = {
|
|
21836
21836
|
key: 2,
|
|
21837
21837
|
class: "score fr"
|
|
21838
21838
|
};
|
|
21839
|
-
var
|
|
21839
|
+
var Question_Programmingvue_type_template_id_61b5ec79_hoisted_7 = {
|
|
21840
21840
|
class: "question-box"
|
|
21841
21841
|
};
|
|
21842
|
-
var
|
|
21843
|
-
var
|
|
21842
|
+
var Question_Programmingvue_type_template_id_61b5ec79_hoisted_8 = ["innerHTML"];
|
|
21843
|
+
var Question_Programmingvue_type_template_id_61b5ec79_hoisted_9 = {
|
|
21844
21844
|
key: 2,
|
|
21845
21845
|
class: "question-analysis"
|
|
21846
21846
|
};
|
|
21847
|
-
var
|
|
21847
|
+
var Question_Programmingvue_type_template_id_61b5ec79_hoisted_10 = /*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", {
|
|
21848
21848
|
class: "triangle-top"
|
|
21849
21849
|
}, null, -1);
|
|
21850
|
-
var
|
|
21850
|
+
var Question_Programmingvue_type_template_id_61b5ec79_hoisted_11 = {
|
|
21851
21851
|
class: "question-analysis-item"
|
|
21852
21852
|
};
|
|
21853
|
-
var
|
|
21853
|
+
var Question_Programmingvue_type_template_id_61b5ec79_hoisted_12 = /*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("span", {
|
|
21854
21854
|
class: "txt"
|
|
21855
21855
|
}, "【你的答案】:", -1);
|
|
21856
|
-
var
|
|
21857
|
-
var
|
|
21856
|
+
var Question_Programmingvue_type_template_id_61b5ec79_hoisted_13 = ["src"];
|
|
21857
|
+
var Question_Programmingvue_type_template_id_61b5ec79_hoisted_14 = /*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", {
|
|
21858
21858
|
class: "mask-text-box"
|
|
21859
21859
|
}, [/*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", {
|
|
21860
21860
|
class: "mask"
|
|
21861
21861
|
}), /*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", {
|
|
21862
21862
|
class: "mask-text"
|
|
21863
21863
|
}, "去修改")], -1);
|
|
21864
|
-
var
|
|
21864
|
+
var Question_Programmingvue_type_template_id_61b5ec79_hoisted_15 = {
|
|
21865
21865
|
key: 3,
|
|
21866
21866
|
class: "question-analysis"
|
|
21867
21867
|
};
|
|
21868
|
-
var
|
|
21868
|
+
var Question_Programmingvue_type_template_id_61b5ec79_hoisted_16 = /*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", {
|
|
21869
21869
|
class: "triangle-top"
|
|
21870
21870
|
}, null, -1);
|
|
21871
|
-
var
|
|
21871
|
+
var Question_Programmingvue_type_template_id_61b5ec79_hoisted_17 = {
|
|
21872
21872
|
class: "question-analysis-item"
|
|
21873
21873
|
};
|
|
21874
|
-
var
|
|
21874
|
+
var Question_Programmingvue_type_template_id_61b5ec79_hoisted_18 = /*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("span", {
|
|
21875
21875
|
class: "txt"
|
|
21876
21876
|
}, "【你的答案】:", -1);
|
|
21877
|
-
var
|
|
21878
|
-
var
|
|
21877
|
+
var Question_Programmingvue_type_template_id_61b5ec79_hoisted_19 = ["src"];
|
|
21878
|
+
var Question_Programmingvue_type_template_id_61b5ec79_hoisted_20 = {
|
|
21879
21879
|
class: "question-analysis-item"
|
|
21880
21880
|
};
|
|
21881
|
-
var
|
|
21881
|
+
var Question_Programmingvue_type_template_id_61b5ec79_hoisted_21 = /*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("span", {
|
|
21882
21882
|
class: "txt"
|
|
21883
21883
|
}, "【正确答案】:", -1);
|
|
21884
|
-
var
|
|
21885
|
-
var
|
|
21884
|
+
var Question_Programmingvue_type_template_id_61b5ec79_hoisted_22 = ["src"];
|
|
21885
|
+
var Question_Programmingvue_type_template_id_61b5ec79_hoisted_23 = {
|
|
21886
21886
|
key: 0,
|
|
21887
21887
|
class: "question-analysis-item"
|
|
21888
21888
|
};
|
|
21889
|
-
var
|
|
21889
|
+
var Question_Programmingvue_type_template_id_61b5ec79_hoisted_24 = /*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("span", {
|
|
21890
21890
|
class: "txt"
|
|
21891
21891
|
}, "【本题解析】:", -1);
|
|
21892
|
-
var
|
|
21892
|
+
var Question_Programmingvue_type_template_id_61b5ec79_hoisted_25 = {
|
|
21893
21893
|
class: "txt-box"
|
|
21894
21894
|
};
|
|
21895
|
-
var
|
|
21896
|
-
function
|
|
21895
|
+
var Question_Programmingvue_type_template_id_61b5ec79_hoisted_26 = ["innerHTML"];
|
|
21896
|
+
function Question_Programmingvue_type_template_id_61b5ec79_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
21897
21897
|
var _component_MediaLooker = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.resolveComponent)("MediaLooker");
|
|
21898
21898
|
var _component_IframeComponent = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.resolveComponent)("IframeComponent");
|
|
21899
21899
|
var _component_Loading = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.resolveComponent)("Loading");
|
|
21900
|
-
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("div",
|
|
21900
|
+
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("div", Question_Programmingvue_type_template_id_61b5ec79_hoisted_1, [!$props.isSub ? (0,external_commonjs_vue_commonjs2_vue_root_Vue_.withDirectives)(((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("div", Question_Programmingvue_type_template_id_61b5ec79_hoisted_2, [$props.showQuestionType ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("div", Question_Programmingvue_type_template_id_61b5ec79_hoisted_3, [$props.showQuestionIndex ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("span", Question_Programmingvue_type_template_id_61b5ec79_hoisted_4, (0,external_commonjs_vue_commonjs2_vue_root_Vue_.toDisplayString)($props.questionInfo.questionIndex) + "、", 1)) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)("", true), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createTextVNode)((0,external_commonjs_vue_commonjs2_vue_root_Vue_.toDisplayString)($props.questionInfo.question_type_str), 1)])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)("", true), $props.questionInfo.score !== 'null' && $props.showScore ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("span", Question_Programmingvue_type_template_id_61b5ec79_hoisted_5, "(" + (0,external_commonjs_vue_commonjs2_vue_root_Vue_.toDisplayString)($props.questionInfo.score) + "分)", 1)) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)("", true), $props.mode === 'analysis' ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("span", Question_Programmingvue_type_template_id_61b5ec79_hoisted_6, "得分:" + (0,external_commonjs_vue_commonjs2_vue_root_Vue_.toDisplayString)($props.questionInfo.answerMap ? $props.questionInfo.answerMap.user_score : '-') + "分", 1)) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)("", true)], 512)), [[external_commonjs_vue_commonjs2_vue_root_Vue_.vShow, !$props.isEnterCodeByInit]]) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)("", true), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.withDirectives)((0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", Question_Programmingvue_type_template_id_61b5ec79_hoisted_7, [$props.showQuestionHint && $props.questionInfo.hint && !$props.isSub ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("div", {
|
|
21901
21901
|
key: 0,
|
|
21902
21902
|
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.normalizeClass)(["question-hint", {
|
|
21903
21903
|
'bold': !$props.showQuestionType
|
|
@@ -21905,37 +21905,37 @@ function Question_Programmingvue_type_template_id_96da3bbc_render(_ctx, _cache,
|
|
|
21905
21905
|
}, (0,external_commonjs_vue_commonjs2_vue_root_Vue_.toDisplayString)($props.questionInfo.hint), 3)) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)("", true), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", {
|
|
21906
21906
|
class: "editor-content",
|
|
21907
21907
|
innerHTML: $props.questionInfo.htmlContent
|
|
21908
|
-
}, null, 8,
|
|
21908
|
+
}, null, 8, Question_Programmingvue_type_template_id_61b5ec79_hoisted_8), $props.mode === 'exam' && !$data.oss_temp_url || $props.mode === 'review' ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("button", {
|
|
21909
21909
|
key: 1,
|
|
21910
21910
|
class: "bcdt-btn",
|
|
21911
21911
|
onClick: _cache[0] || (_cache[0] = function ($event) {
|
|
21912
21912
|
return $options.startCode('1');
|
|
21913
21913
|
})
|
|
21914
|
-
}, "进入" + (0,external_commonjs_vue_commonjs2_vue_root_Vue_.toDisplayString)($data.codeTypeMap[$props.questionInfo.code_type]) + "答题", 1)) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)("", true), $props.mode === 'exam' && $data.oss_temp_url ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("div",
|
|
21914
|
+
}, "进入" + (0,external_commonjs_vue_commonjs2_vue_root_Vue_.toDisplayString)($data.codeTypeMap[$props.questionInfo.code_type]) + "答题", 1)) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)("", true), $props.mode === 'exam' && $data.oss_temp_url ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("div", Question_Programmingvue_type_template_id_61b5ec79_hoisted_9, [Question_Programmingvue_type_template_id_61b5ec79_hoisted_10, (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", Question_Programmingvue_type_template_id_61b5ec79_hoisted_11, [Question_Programmingvue_type_template_id_61b5ec79_hoisted_12, (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", {
|
|
21915
21915
|
class: "img-box",
|
|
21916
21916
|
onClick: _cache[1] || (_cache[1] = function ($event) {
|
|
21917
21917
|
return $options.startCode('2');
|
|
21918
21918
|
})
|
|
21919
21919
|
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("img", {
|
|
21920
21920
|
src: $data.codeTypeImgMap[$props.questionInfo.code_type]
|
|
21921
|
-
}, null, 8,
|
|
21921
|
+
}, null, 8, Question_Programmingvue_type_template_id_61b5ec79_hoisted_13), Question_Programmingvue_type_template_id_61b5ec79_hoisted_14])])])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)("", true), $props.mode === 'analysis' ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("div", Question_Programmingvue_type_template_id_61b5ec79_hoisted_15, [Question_Programmingvue_type_template_id_61b5ec79_hoisted_16, (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", Question_Programmingvue_type_template_id_61b5ec79_hoisted_17, [Question_Programmingvue_type_template_id_61b5ec79_hoisted_18, (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", {
|
|
21922
21922
|
class: "img-box",
|
|
21923
21923
|
onClick: _cache[2] || (_cache[2] = function ($event) {
|
|
21924
21924
|
return $options.startCode('3');
|
|
21925
21925
|
})
|
|
21926
21926
|
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("img", {
|
|
21927
21927
|
src: $data.codeTypeImgMap[$props.questionInfo.code_type]
|
|
21928
|
-
}, null, 8,
|
|
21928
|
+
}, null, 8, Question_Programmingvue_type_template_id_61b5ec79_hoisted_19)])]), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", Question_Programmingvue_type_template_id_61b5ec79_hoisted_20, [Question_Programmingvue_type_template_id_61b5ec79_hoisted_21, (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", {
|
|
21929
21929
|
class: "img-box",
|
|
21930
21930
|
onClick: _cache[3] || (_cache[3] = function ($event) {
|
|
21931
21931
|
return $options.startCode('4');
|
|
21932
21932
|
})
|
|
21933
21933
|
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("img", {
|
|
21934
21934
|
src: $data.codeTypeImgMap[$props.questionInfo.code_type]
|
|
21935
|
-
}, null, 8,
|
|
21935
|
+
}, null, 8, Question_Programmingvue_type_template_id_61b5ec79_hoisted_22)])]), $props.questionInfo.analysis ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("div", Question_Programmingvue_type_template_id_61b5ec79_hoisted_23, [Question_Programmingvue_type_template_id_61b5ec79_hoisted_24, (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", Question_Programmingvue_type_template_id_61b5ec79_hoisted_25, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("span", {
|
|
21936
21936
|
class: "analysis-txt",
|
|
21937
21937
|
innerHTML: $props.questionInfo.analysisHtmlContent
|
|
21938
|
-
}, null, 8,
|
|
21938
|
+
}, null, 8, Question_Programmingvue_type_template_id_61b5ec79_hoisted_26)])])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)("", true)])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)("", true)], 512), [[external_commonjs_vue_commonjs2_vue_root_Vue_.vShow, !$props.isEnterCodeByInit]]), _ctx.visible ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createBlock)(_component_MediaLooker, {
|
|
21939
21939
|
key: 1,
|
|
21940
21940
|
visible: _ctx.visible,
|
|
21941
21941
|
"onUpdate:visible": _cache[4] || (_cache[4] = function ($event) {
|
|
@@ -21951,13 +21951,16 @@ function Question_Programmingvue_type_template_id_96da3bbc_render(_ctx, _cache,
|
|
|
21951
21951
|
onCloseAndSave: $options.closeAndSave,
|
|
21952
21952
|
onSaveCodeOnly: $options.saveCodeOnly,
|
|
21953
21953
|
onIframeLoaded: $options.iframeLoaded,
|
|
21954
|
-
onGetQuestionInfo: $options.getQuestionInfo
|
|
21955
|
-
|
|
21954
|
+
onGetQuestionInfo: $options.getQuestionInfo,
|
|
21955
|
+
onMenuBarloaded: $options.menuBarloaded
|
|
21956
|
+
}, null, 8, ["iframeUrl", "onUploadCodingFileSuccess", "onClose", "onCloseAndSave", "onSaveCodeOnly", "onIframeLoaded", "onGetQuestionInfo", "onMenuBarloaded"])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)("", true), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createVNode)(_component_Loading, {
|
|
21956
21957
|
loading: $data.loading
|
|
21957
21958
|
}, null, 8, ["loading"])]);
|
|
21958
21959
|
}
|
|
21959
|
-
;// CONCATENATED MODULE: ./src/components/questions/Question_Programming.vue?vue&type=template&id=
|
|
21960
|
+
;// CONCATENATED MODULE: ./src/components/questions/Question_Programming.vue?vue&type=template&id=61b5ec79
|
|
21960
21961
|
|
|
21962
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.promise.js
|
|
21963
|
+
var es_promise = __webpack_require__(8674);
|
|
21961
21964
|
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[4]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/components/common/IframeComponent.vue?vue&type=template&id=0d05d84e
|
|
21962
21965
|
|
|
21963
21966
|
var IframeComponentvue_type_template_id_0d05d84e_hoisted_1 = {
|
|
@@ -23680,6 +23683,8 @@ var index = {
|
|
|
23680
23683
|
|
|
23681
23684
|
|
|
23682
23685
|
|
|
23686
|
+
|
|
23687
|
+
|
|
23683
23688
|
/* harmony default export */ var Question_Programmingvue_type_script_lang_js = ({
|
|
23684
23689
|
name: 'Question_Programming',
|
|
23685
23690
|
props: {
|
|
@@ -23752,6 +23757,7 @@ var index = {
|
|
|
23752
23757
|
},
|
|
23753
23758
|
data: function data() {
|
|
23754
23759
|
return _objectSpread2({
|
|
23760
|
+
findIframeTimer: null,
|
|
23755
23761
|
iframe: null,
|
|
23756
23762
|
showFrame: false,
|
|
23757
23763
|
analyCorrectAnswer: '',
|
|
@@ -23794,6 +23800,25 @@ var index = {
|
|
|
23794
23800
|
},
|
|
23795
23801
|
computed: _objectSpread2({}, mapState('zykjcommonQuestions', ['pythonCodeWebPath', 'scratchCodeWebPath', 'cplusCodeWebPath'])),
|
|
23796
23802
|
methods: _objectSpread2(_objectSpread2({}, mapActions('zykjcommonQuestions', ['getEditorUrlActions'])), {}, {
|
|
23803
|
+
menuBarloaded: function menuBarloaded() {
|
|
23804
|
+
this.$emit('menuBarloaded');
|
|
23805
|
+
},
|
|
23806
|
+
getIframeContentWindow: function getIframeContentWindow() {
|
|
23807
|
+
var _this2 = this;
|
|
23808
|
+
return new Promise(function (resolve, reject) {
|
|
23809
|
+
if (_this2.iframe) {
|
|
23810
|
+
resolve(_this2.iframe.contentWindow);
|
|
23811
|
+
} else {
|
|
23812
|
+
_this2.findIframeTimer = setInterval(function () {
|
|
23813
|
+
if (_this2.iframe) {
|
|
23814
|
+
_this2.findIframeTimer && clearInterval(_this2.findIframeTimer);
|
|
23815
|
+
_this2.findIframeTimer = null;
|
|
23816
|
+
resolve(_this2.iframe.contentWindow);
|
|
23817
|
+
}
|
|
23818
|
+
}, 200);
|
|
23819
|
+
}
|
|
23820
|
+
});
|
|
23821
|
+
},
|
|
23797
23822
|
getAnswer: function getAnswer() {
|
|
23798
23823
|
return {
|
|
23799
23824
|
code_file_oss_temp_path: this.code_file_oss_temp_path,
|
|
@@ -23810,16 +23835,16 @@ var index = {
|
|
|
23810
23835
|
return correct;
|
|
23811
23836
|
},
|
|
23812
23837
|
getCodeWebPath: function getCodeWebPath(cb) {
|
|
23813
|
-
var
|
|
23838
|
+
var _this3 = this;
|
|
23814
23839
|
if (this.pythonCodeWebPath || this.scratchCodeWebPath || this.cplusCodeWebPath) {
|
|
23815
23840
|
cb && cb();
|
|
23816
23841
|
} else {
|
|
23817
23842
|
this.loading = true;
|
|
23818
23843
|
this.getEditorUrlActions().then(function () {
|
|
23819
|
-
|
|
23844
|
+
_this3.loading = false;
|
|
23820
23845
|
cb && cb();
|
|
23821
23846
|
}, function () {
|
|
23822
|
-
|
|
23847
|
+
_this3.loading = false;
|
|
23823
23848
|
});
|
|
23824
23849
|
}
|
|
23825
23850
|
},
|
|
@@ -23932,61 +23957,61 @@ var index = {
|
|
|
23932
23957
|
|
|
23933
23958
|
|
|
23934
23959
|
;
|
|
23935
|
-
const Question_Programming_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(Question_Programmingvue_type_script_lang_js, [['render',
|
|
23960
|
+
const Question_Programming_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(Question_Programmingvue_type_script_lang_js, [['render',Question_Programmingvue_type_template_id_61b5ec79_render]])
|
|
23936
23961
|
|
|
23937
23962
|
/* harmony default export */ var Question_Programming = (Question_Programming_exports_);
|
|
23938
|
-
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[4]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/components/questions/Question_Classify.vue?vue&type=template&id=
|
|
23963
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-40.use[1]!./node_modules/vue-loader/dist/templateLoader.js??ruleSet[1].rules[4]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/components/questions/Question_Classify.vue?vue&type=template&id=2ec8502f
|
|
23939
23964
|
|
|
23940
|
-
var
|
|
23965
|
+
var Question_Classifyvue_type_template_id_2ec8502f_hoisted_1 = {
|
|
23941
23966
|
class: "zykjcommon-question",
|
|
23942
23967
|
style: {
|
|
23943
23968
|
"width": "100%",
|
|
23944
23969
|
"height": "100%"
|
|
23945
23970
|
}
|
|
23946
23971
|
};
|
|
23947
|
-
var
|
|
23972
|
+
var Question_Classifyvue_type_template_id_2ec8502f_hoisted_2 = {
|
|
23948
23973
|
class: "box"
|
|
23949
23974
|
};
|
|
23950
|
-
var
|
|
23975
|
+
var Question_Classifyvue_type_template_id_2ec8502f_hoisted_3 = {
|
|
23951
23976
|
class: "main-block"
|
|
23952
23977
|
};
|
|
23953
|
-
var
|
|
23954
|
-
var
|
|
23978
|
+
var Question_Classifyvue_type_template_id_2ec8502f_hoisted_4 = ["src"];
|
|
23979
|
+
var Question_Classifyvue_type_template_id_2ec8502f_hoisted_5 = /*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", {
|
|
23955
23980
|
class: "main-content"
|
|
23956
23981
|
}, [/*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", {
|
|
23957
23982
|
class: "main-append"
|
|
23958
23983
|
})], -1);
|
|
23959
|
-
var
|
|
23984
|
+
var Question_Classifyvue_type_template_id_2ec8502f_hoisted_6 = /*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", {
|
|
23960
23985
|
class: "prev"
|
|
23961
23986
|
}, [/*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", {
|
|
23962
23987
|
class: "prev-main"
|
|
23963
23988
|
})], -1);
|
|
23964
|
-
var
|
|
23989
|
+
var Question_Classifyvue_type_template_id_2ec8502f_hoisted_7 = /*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", {
|
|
23965
23990
|
class: "next"
|
|
23966
23991
|
}, [/*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", {
|
|
23967
23992
|
class: "next-main"
|
|
23968
23993
|
})], -1);
|
|
23969
|
-
var
|
|
23994
|
+
var Question_Classifyvue_type_template_id_2ec8502f_hoisted_8 = {
|
|
23970
23995
|
class: "list"
|
|
23971
23996
|
};
|
|
23972
|
-
var
|
|
23973
|
-
function
|
|
23974
|
-
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("div",
|
|
23997
|
+
var Question_Classifyvue_type_template_id_2ec8502f_hoisted_9 = ["idx"];
|
|
23998
|
+
function Question_Classifyvue_type_template_id_2ec8502f_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
23999
|
+
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("div", Question_Classifyvue_type_template_id_2ec8502f_hoisted_1, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", {
|
|
23975
24000
|
class: "question-classify",
|
|
23976
24001
|
style: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.normalizeStyle)($data.bigBgCss)
|
|
23977
|
-
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div",
|
|
24002
|
+
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", Question_Classifyvue_type_template_id_2ec8502f_hoisted_2, [((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(true), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)(external_commonjs_vue_commonjs2_vue_root_Vue_.Fragment, null, (0,external_commonjs_vue_commonjs2_vue_root_Vue_.renderList)($data.bigBoxItemList, function (item, index) {
|
|
23978
24003
|
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("div", {
|
|
23979
24004
|
class: "box-item",
|
|
23980
24005
|
style: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.normalizeStyle)(item.bgUrlCss),
|
|
23981
24006
|
key: index
|
|
23982
|
-
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div",
|
|
24007
|
+
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", Question_Classifyvue_type_template_id_2ec8502f_hoisted_3, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("img", {
|
|
23983
24008
|
src: item.imgUrl,
|
|
23984
24009
|
alt: ""
|
|
23985
|
-
}, null, 8,
|
|
24010
|
+
}, null, 8, Question_Classifyvue_type_template_id_2ec8502f_hoisted_4)]), Question_Classifyvue_type_template_id_2ec8502f_hoisted_5], 4);
|
|
23986
24011
|
}), 128))]), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", {
|
|
23987
24012
|
class: "list-outter",
|
|
23988
24013
|
style: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.normalizeStyle)($data.bottomBgCss)
|
|
23989
|
-
}, [
|
|
24014
|
+
}, [Question_Classifyvue_type_template_id_2ec8502f_hoisted_6, Question_Classifyvue_type_template_id_2ec8502f_hoisted_7, (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", Question_Classifyvue_type_template_id_2ec8502f_hoisted_8, [((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(true), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)(external_commonjs_vue_commonjs2_vue_root_Vue_.Fragment, null, (0,external_commonjs_vue_commonjs2_vue_root_Vue_.renderList)($data.optionList, function (item, index) {
|
|
23990
24015
|
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("div", {
|
|
23991
24016
|
class: "list-item",
|
|
23992
24017
|
idx: item.idx,
|
|
@@ -23994,10 +24019,10 @@ function Question_Classifyvue_type_template_id_4dc421ad_render(_ctx, _cache, $pr
|
|
|
23994
24019
|
key: index
|
|
23995
24020
|
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.withDirectives)((0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", {
|
|
23996
24021
|
class: "list-item-text"
|
|
23997
|
-
}, (0,external_commonjs_vue_commonjs2_vue_root_Vue_.toDisplayString)(item.content), 513), [[external_commonjs_vue_commonjs2_vue_root_Vue_.vShow, item.content_type != 2]])], 12,
|
|
24022
|
+
}, (0,external_commonjs_vue_commonjs2_vue_root_Vue_.toDisplayString)(item.content), 513), [[external_commonjs_vue_commonjs2_vue_root_Vue_.vShow, item.content_type != 2]])], 12, Question_Classifyvue_type_template_id_2ec8502f_hoisted_9);
|
|
23998
24023
|
}), 128))])], 4)], 4)]);
|
|
23999
24024
|
}
|
|
24000
|
-
;// CONCATENATED MODULE: ./src/components/questions/Question_Classify.vue?vue&type=template&id=
|
|
24025
|
+
;// CONCATENATED MODULE: ./src/components/questions/Question_Classify.vue?vue&type=template&id=2ec8502f
|
|
24001
24026
|
|
|
24002
24027
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.sort.js
|
|
24003
24028
|
var es_array_sort = __webpack_require__(2707);
|
|
@@ -24194,9 +24219,20 @@ var env = js_fun.getDeviceEnv();
|
|
|
24194
24219
|
};
|
|
24195
24220
|
},
|
|
24196
24221
|
isAnswered: function isAnswered() {
|
|
24197
|
-
|
|
24198
|
-
|
|
24199
|
-
|
|
24222
|
+
// let len = $(this.$el).find('.list .list-item').length
|
|
24223
|
+
// let answerd = len === 0
|
|
24224
|
+
//每个选中框至少要有一个选项才是已答
|
|
24225
|
+
var arr = [];
|
|
24226
|
+
var mainAppend = $(this.$el).find('.main-append');
|
|
24227
|
+
mainAppend.each(function (index, item) {
|
|
24228
|
+
var appendItem = $(item).find('.append-item');
|
|
24229
|
+
arr.push(appendItem.length);
|
|
24230
|
+
});
|
|
24231
|
+
if (arr.length === 2) {
|
|
24232
|
+
return arr[0] && arr[1];
|
|
24233
|
+
} else {
|
|
24234
|
+
return false;
|
|
24235
|
+
}
|
|
24200
24236
|
},
|
|
24201
24237
|
isCorrect: function isCorrect() {
|
|
24202
24238
|
var correct = this.questionInfo.answerMap.is_correct === '1' ? true : false;
|
|
@@ -24558,7 +24594,7 @@ var env = js_fun.getDeviceEnv();
|
|
|
24558
24594
|
|
|
24559
24595
|
|
|
24560
24596
|
;
|
|
24561
|
-
const Question_Classify_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(Question_Classifyvue_type_script_lang_js, [['render',
|
|
24597
|
+
const Question_Classify_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(Question_Classifyvue_type_script_lang_js, [['render',Question_Classifyvue_type_template_id_2ec8502f_render]])
|
|
24562
24598
|
|
|
24563
24599
|
/* harmony default export */ var Question_Classify = (Question_Classify_exports_);
|
|
24564
24600
|
;// CONCATENATED MODULE: ./src/components/questions/const.js
|
|
@@ -24583,8 +24619,6 @@ var questionMapper = {
|
|
|
24583
24619
|
//填空
|
|
24584
24620
|
'17': 'Question_Classify' //分类
|
|
24585
24621
|
};
|
|
24586
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.promise.js
|
|
24587
|
-
var es_promise = __webpack_require__(8674);
|
|
24588
24622
|
// EXTERNAL MODULE: ./node_modules/crypto-js/index.js
|
|
24589
24623
|
var crypto_js = __webpack_require__(1354);
|
|
24590
24624
|
// EXTERNAL MODULE: ./node_modules/axios/index.js
|