@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
|
@@ -20700,109 +20700,109 @@ const __exports__ = /*#__PURE__*/(0,exportHelper/* default */.Z)(MediaLookervue_
|
|
|
20700
20700
|
const Question_SingleChoice_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(Question_SingleChoicevue_type_script_lang_js, [['render',render]])
|
|
20701
20701
|
|
|
20702
20702
|
/* harmony default export */ var Question_SingleChoice = (Question_SingleChoice_exports_);
|
|
20703
|
-
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-86.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=
|
|
20703
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-86.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
|
|
20704
20704
|
|
|
20705
|
-
var
|
|
20705
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_1 = {
|
|
20706
20706
|
class: "zykjcommon-question"
|
|
20707
20707
|
};
|
|
20708
|
-
var
|
|
20708
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_2 = {
|
|
20709
20709
|
key: 0,
|
|
20710
20710
|
class: "question-type"
|
|
20711
20711
|
};
|
|
20712
|
-
var
|
|
20712
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_3 = {
|
|
20713
20713
|
key: 0,
|
|
20714
20714
|
class: "question-type-str"
|
|
20715
20715
|
};
|
|
20716
|
-
var
|
|
20716
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_4 = {
|
|
20717
20717
|
key: 0
|
|
20718
20718
|
};
|
|
20719
|
-
var
|
|
20719
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_5 = {
|
|
20720
20720
|
key: 1
|
|
20721
20721
|
};
|
|
20722
|
-
var
|
|
20722
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_6 = {
|
|
20723
20723
|
key: 2,
|
|
20724
20724
|
class: "score fr"
|
|
20725
20725
|
};
|
|
20726
|
-
var
|
|
20726
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_7 = {
|
|
20727
20727
|
class: "question-box"
|
|
20728
20728
|
};
|
|
20729
|
-
var
|
|
20730
|
-
var
|
|
20729
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_8 = ["innerHTML"];
|
|
20730
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_9 = {
|
|
20731
20731
|
key: 2,
|
|
20732
20732
|
class: "question-stem"
|
|
20733
20733
|
};
|
|
20734
|
-
var
|
|
20734
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_10 = {
|
|
20735
20735
|
key: 0
|
|
20736
20736
|
};
|
|
20737
|
-
var
|
|
20737
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_11 = {
|
|
20738
20738
|
key: 3,
|
|
20739
20739
|
class: "editor-content",
|
|
20740
20740
|
style: {
|
|
20741
20741
|
"display": "flex"
|
|
20742
20742
|
}
|
|
20743
20743
|
};
|
|
20744
|
-
var
|
|
20744
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_12 = {
|
|
20745
20745
|
key: 0
|
|
20746
20746
|
};
|
|
20747
|
-
var
|
|
20748
|
-
var
|
|
20747
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_13 = ["innerHTML"];
|
|
20748
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_14 = {
|
|
20749
20749
|
class: "question-option"
|
|
20750
20750
|
};
|
|
20751
|
-
var
|
|
20752
|
-
var
|
|
20751
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_15 = ["disabled", "id", "value"];
|
|
20752
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_16 = /*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", {
|
|
20753
20753
|
class: "checkbox-bg"
|
|
20754
20754
|
}, null, -1);
|
|
20755
|
-
var
|
|
20755
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_17 = {
|
|
20756
20756
|
class: "label-box"
|
|
20757
20757
|
};
|
|
20758
|
-
var
|
|
20759
|
-
var
|
|
20758
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_18 = ["for"];
|
|
20759
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_19 = {
|
|
20760
20760
|
key: 0
|
|
20761
20761
|
};
|
|
20762
|
-
var
|
|
20762
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_20 = {
|
|
20763
20763
|
key: 0,
|
|
20764
20764
|
class: "img-box"
|
|
20765
20765
|
};
|
|
20766
|
-
var
|
|
20767
|
-
var
|
|
20766
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_21 = ["src"];
|
|
20767
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_22 = {
|
|
20768
20768
|
key: 0,
|
|
20769
20769
|
class: "question-analysis"
|
|
20770
20770
|
};
|
|
20771
|
-
var
|
|
20771
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_23 = /*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", {
|
|
20772
20772
|
class: "triangle-top"
|
|
20773
20773
|
}, null, -1);
|
|
20774
|
-
var
|
|
20774
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_24 = {
|
|
20775
20775
|
class: "question-analysis-item"
|
|
20776
20776
|
};
|
|
20777
|
-
var
|
|
20777
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_25 = /*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("span", {
|
|
20778
20778
|
class: "txt"
|
|
20779
20779
|
}, "【你的回答】:", -1);
|
|
20780
|
-
var
|
|
20780
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_26 = {
|
|
20781
20781
|
class: "txt-box"
|
|
20782
20782
|
};
|
|
20783
|
-
var
|
|
20783
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_27 = {
|
|
20784
20784
|
class: "question-analysis-item"
|
|
20785
20785
|
};
|
|
20786
|
-
var
|
|
20786
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_28 = /*#__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_29 = {
|
|
20790
20790
|
class: "txt-box"
|
|
20791
20791
|
};
|
|
20792
|
-
var
|
|
20792
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_30 = {
|
|
20793
20793
|
key: 0,
|
|
20794
20794
|
class: "question-analysis-item"
|
|
20795
20795
|
};
|
|
20796
|
-
var
|
|
20796
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_31 = /*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("span", {
|
|
20797
20797
|
class: "txt"
|
|
20798
20798
|
}, "【本题解析】:", -1);
|
|
20799
|
-
var
|
|
20799
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_32 = {
|
|
20800
20800
|
class: "txt-box"
|
|
20801
20801
|
};
|
|
20802
|
-
var
|
|
20803
|
-
function
|
|
20802
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_33 = ["innerHTML"];
|
|
20803
|
+
function Question_MultipleChoicevue_type_template_id_4550d456_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
20804
20804
|
var _component_MediaLooker = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.resolveComponent)("MediaLooker");
|
|
20805
|
-
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("div",
|
|
20805
|
+
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", {
|
|
20806
20806
|
key: 0,
|
|
20807
20807
|
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.normalizeClass)(["question-hint", {
|
|
20808
20808
|
'bold': !$props.showQuestionType
|
|
@@ -20811,19 +20811,19 @@ function Question_MultipleChoicevue_type_template_id_2d0f9b93_render(_ctx, _cach
|
|
|
20811
20811
|
key: 1,
|
|
20812
20812
|
class: "editor-content",
|
|
20813
20813
|
innerHTML: $props.questionInfo.htmlContent
|
|
20814
|
-
}, null, 8,
|
|
20814
|
+
}, 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", {
|
|
20815
20815
|
style: {
|
|
20816
20816
|
"display": "inline-block",
|
|
20817
20817
|
"flex": "1"
|
|
20818
20818
|
},
|
|
20819
20819
|
innerHTML: $props.questionInfo.htmlContent
|
|
20820
|
-
}, null, 8,
|
|
20820
|
+
}, 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", {
|
|
20821
20821
|
class: "question-option-list",
|
|
20822
20822
|
style: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.normalizeStyle)(!$props.questionInfo.htmlContent && !$props.questionInfo.hint ? {
|
|
20823
20823
|
'margin-top': 0
|
|
20824
20824
|
} : {})
|
|
20825
20825
|
}, [((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) {
|
|
20826
|
-
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("div",
|
|
20826
|
+
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", {
|
|
20827
20827
|
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.normalizeClass)(["checkbox-box", {
|
|
20828
20828
|
'checked': $data.checkboxList.indexOf(item.index) > -1
|
|
20829
20829
|
}])
|
|
@@ -20836,20 +20836,20 @@ function Question_MultipleChoicevue_type_template_id_2d0f9b93_render(_ctx, _cach
|
|
|
20836
20836
|
id: 'checkbox-' + $props.questionInfo.questionIndex + '-' + index,
|
|
20837
20837
|
class: "checkbox",
|
|
20838
20838
|
value: item.index
|
|
20839
|
-
}, null, 8,
|
|
20839
|
+
}, 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", {
|
|
20840
20840
|
for: 'checkbox-' + $props.questionInfo.questionIndex + '-' + index
|
|
20841
|
-
}, [(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",
|
|
20841
|
+
}, [(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", {
|
|
20842
20842
|
src: item.data.file_url
|
|
20843
|
-
}, null, 8,
|
|
20844
|
-
}), 256)), $props.mode === 'analysis' ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("div",
|
|
20843
|
+
}, 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)])]);
|
|
20844
|
+
}), 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", {
|
|
20845
20845
|
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.normalizeClass)({
|
|
20846
20846
|
'wrong': $props.questionInfo.answerMap.is_correct !== '1',
|
|
20847
20847
|
'right': $props.questionInfo.answerMap.is_correct === '1'
|
|
20848
20848
|
})
|
|
20849
|
-
}, (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",
|
|
20849
|
+
}, (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", {
|
|
20850
20850
|
class: "analysis-txt",
|
|
20851
20851
|
innerHTML: $props.questionInfo.analysisHtmlContent
|
|
20852
|
-
}, null, 8,
|
|
20852
|
+
}, 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, {
|
|
20853
20853
|
key: 1,
|
|
20854
20854
|
visible: _ctx.visible,
|
|
20855
20855
|
"onUpdate:visible": _cache[1] || (_cache[1] = function ($event) {
|
|
@@ -20859,7 +20859,7 @@ function Question_MultipleChoicevue_type_template_id_2d0f9b93_render(_ctx, _cach
|
|
|
20859
20859
|
mediaLookerList: _ctx.mediaLookerList
|
|
20860
20860
|
}, null, 8, ["visible", "mediaCount", "mediaLookerList"])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)("", true)]);
|
|
20861
20861
|
}
|
|
20862
|
-
;// CONCATENATED MODULE: ./src/components/questions/Question_MultipleChoice.vue?vue&type=template&id=
|
|
20862
|
+
;// CONCATENATED MODULE: ./src/components/questions/Question_MultipleChoice.vue?vue&type=template&id=4550d456
|
|
20863
20863
|
|
|
20864
20864
|
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-86.use[1]!./node_modules/vue-loader/dist/index.js??ruleSet[0].use[0]!./src/components/questions/Question_MultipleChoice.vue?vue&type=script&lang=js
|
|
20865
20865
|
|
|
@@ -20979,7 +20979,7 @@ function Question_MultipleChoicevue_type_template_id_2d0f9b93_render(_ctx, _cach
|
|
|
20979
20979
|
};
|
|
20980
20980
|
},
|
|
20981
20981
|
isAnswered: function isAnswered() {
|
|
20982
|
-
var answerd = this.checkboxList.length
|
|
20982
|
+
var answerd = this.checkboxList.length > 1;
|
|
20983
20983
|
return answerd;
|
|
20984
20984
|
},
|
|
20985
20985
|
isCorrect: function isCorrect() {
|
|
@@ -21006,7 +21006,7 @@ function Question_MultipleChoicevue_type_template_id_2d0f9b93_render(_ctx, _cach
|
|
|
21006
21006
|
|
|
21007
21007
|
|
|
21008
21008
|
;
|
|
21009
|
-
const Question_MultipleChoice_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(Question_MultipleChoicevue_type_script_lang_js, [['render',
|
|
21009
|
+
const Question_MultipleChoice_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(Question_MultipleChoicevue_type_script_lang_js, [['render',Question_MultipleChoicevue_type_template_id_4550d456_render]])
|
|
21010
21010
|
|
|
21011
21011
|
/* harmony default export */ var Question_MultipleChoice = (Question_MultipleChoice_exports_);
|
|
21012
21012
|
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-86.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
|
|
@@ -21823,91 +21823,91 @@ var filerRegs = [{
|
|
|
21823
21823
|
const Question_FillBlank_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(Question_FillBlankvue_type_script_lang_js, [['render',Question_FillBlankvue_type_template_id_62528820_render]])
|
|
21824
21824
|
|
|
21825
21825
|
/* harmony default export */ var Question_FillBlank = (Question_FillBlank_exports_);
|
|
21826
|
-
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-86.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=
|
|
21826
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-86.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
|
|
21827
21827
|
|
|
21828
|
-
var
|
|
21828
|
+
var Question_Programmingvue_type_template_id_61b5ec79_hoisted_1 = {
|
|
21829
21829
|
class: "zykjcommon-question"
|
|
21830
21830
|
};
|
|
21831
|
-
var
|
|
21831
|
+
var Question_Programmingvue_type_template_id_61b5ec79_hoisted_2 = {
|
|
21832
21832
|
key: 0,
|
|
21833
21833
|
class: "question-type"
|
|
21834
21834
|
};
|
|
21835
|
-
var
|
|
21835
|
+
var Question_Programmingvue_type_template_id_61b5ec79_hoisted_3 = {
|
|
21836
21836
|
key: 0,
|
|
21837
21837
|
class: "question-type-str"
|
|
21838
21838
|
};
|
|
21839
|
-
var
|
|
21839
|
+
var Question_Programmingvue_type_template_id_61b5ec79_hoisted_4 = {
|
|
21840
21840
|
key: 0
|
|
21841
21841
|
};
|
|
21842
|
-
var
|
|
21842
|
+
var Question_Programmingvue_type_template_id_61b5ec79_hoisted_5 = {
|
|
21843
21843
|
key: 1
|
|
21844
21844
|
};
|
|
21845
|
-
var
|
|
21845
|
+
var Question_Programmingvue_type_template_id_61b5ec79_hoisted_6 = {
|
|
21846
21846
|
key: 2,
|
|
21847
21847
|
class: "score fr"
|
|
21848
21848
|
};
|
|
21849
|
-
var
|
|
21849
|
+
var Question_Programmingvue_type_template_id_61b5ec79_hoisted_7 = {
|
|
21850
21850
|
class: "question-box"
|
|
21851
21851
|
};
|
|
21852
|
-
var
|
|
21853
|
-
var
|
|
21852
|
+
var Question_Programmingvue_type_template_id_61b5ec79_hoisted_8 = ["innerHTML"];
|
|
21853
|
+
var Question_Programmingvue_type_template_id_61b5ec79_hoisted_9 = {
|
|
21854
21854
|
key: 2,
|
|
21855
21855
|
class: "question-analysis"
|
|
21856
21856
|
};
|
|
21857
|
-
var
|
|
21857
|
+
var Question_Programmingvue_type_template_id_61b5ec79_hoisted_10 = /*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", {
|
|
21858
21858
|
class: "triangle-top"
|
|
21859
21859
|
}, null, -1);
|
|
21860
|
-
var
|
|
21860
|
+
var Question_Programmingvue_type_template_id_61b5ec79_hoisted_11 = {
|
|
21861
21861
|
class: "question-analysis-item"
|
|
21862
21862
|
};
|
|
21863
|
-
var
|
|
21863
|
+
var Question_Programmingvue_type_template_id_61b5ec79_hoisted_12 = /*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("span", {
|
|
21864
21864
|
class: "txt"
|
|
21865
21865
|
}, "【你的答案】:", -1);
|
|
21866
|
-
var
|
|
21867
|
-
var
|
|
21866
|
+
var Question_Programmingvue_type_template_id_61b5ec79_hoisted_13 = ["src"];
|
|
21867
|
+
var Question_Programmingvue_type_template_id_61b5ec79_hoisted_14 = /*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", {
|
|
21868
21868
|
class: "mask-text-box"
|
|
21869
21869
|
}, [/*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", {
|
|
21870
21870
|
class: "mask"
|
|
21871
21871
|
}), /*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", {
|
|
21872
21872
|
class: "mask-text"
|
|
21873
21873
|
}, "去修改")], -1);
|
|
21874
|
-
var
|
|
21874
|
+
var Question_Programmingvue_type_template_id_61b5ec79_hoisted_15 = {
|
|
21875
21875
|
key: 3,
|
|
21876
21876
|
class: "question-analysis"
|
|
21877
21877
|
};
|
|
21878
|
-
var
|
|
21878
|
+
var Question_Programmingvue_type_template_id_61b5ec79_hoisted_16 = /*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", {
|
|
21879
21879
|
class: "triangle-top"
|
|
21880
21880
|
}, null, -1);
|
|
21881
|
-
var
|
|
21881
|
+
var Question_Programmingvue_type_template_id_61b5ec79_hoisted_17 = {
|
|
21882
21882
|
class: "question-analysis-item"
|
|
21883
21883
|
};
|
|
21884
|
-
var
|
|
21884
|
+
var Question_Programmingvue_type_template_id_61b5ec79_hoisted_18 = /*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("span", {
|
|
21885
21885
|
class: "txt"
|
|
21886
21886
|
}, "【你的答案】:", -1);
|
|
21887
|
-
var
|
|
21888
|
-
var
|
|
21887
|
+
var Question_Programmingvue_type_template_id_61b5ec79_hoisted_19 = ["src"];
|
|
21888
|
+
var Question_Programmingvue_type_template_id_61b5ec79_hoisted_20 = {
|
|
21889
21889
|
class: "question-analysis-item"
|
|
21890
21890
|
};
|
|
21891
|
-
var
|
|
21891
|
+
var Question_Programmingvue_type_template_id_61b5ec79_hoisted_21 = /*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("span", {
|
|
21892
21892
|
class: "txt"
|
|
21893
21893
|
}, "【正确答案】:", -1);
|
|
21894
|
-
var
|
|
21895
|
-
var
|
|
21894
|
+
var Question_Programmingvue_type_template_id_61b5ec79_hoisted_22 = ["src"];
|
|
21895
|
+
var Question_Programmingvue_type_template_id_61b5ec79_hoisted_23 = {
|
|
21896
21896
|
key: 0,
|
|
21897
21897
|
class: "question-analysis-item"
|
|
21898
21898
|
};
|
|
21899
|
-
var
|
|
21899
|
+
var Question_Programmingvue_type_template_id_61b5ec79_hoisted_24 = /*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("span", {
|
|
21900
21900
|
class: "txt"
|
|
21901
21901
|
}, "【本题解析】:", -1);
|
|
21902
|
-
var
|
|
21902
|
+
var Question_Programmingvue_type_template_id_61b5ec79_hoisted_25 = {
|
|
21903
21903
|
class: "txt-box"
|
|
21904
21904
|
};
|
|
21905
|
-
var
|
|
21906
|
-
function
|
|
21905
|
+
var Question_Programmingvue_type_template_id_61b5ec79_hoisted_26 = ["innerHTML"];
|
|
21906
|
+
function Question_Programmingvue_type_template_id_61b5ec79_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
21907
21907
|
var _component_MediaLooker = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.resolveComponent)("MediaLooker");
|
|
21908
21908
|
var _component_IframeComponent = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.resolveComponent)("IframeComponent");
|
|
21909
21909
|
var _component_Loading = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.resolveComponent)("Loading");
|
|
21910
|
-
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("div",
|
|
21910
|
+
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", {
|
|
21911
21911
|
key: 0,
|
|
21912
21912
|
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.normalizeClass)(["question-hint", {
|
|
21913
21913
|
'bold': !$props.showQuestionType
|
|
@@ -21915,37 +21915,37 @@ function Question_Programmingvue_type_template_id_96da3bbc_render(_ctx, _cache,
|
|
|
21915
21915
|
}, (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", {
|
|
21916
21916
|
class: "editor-content",
|
|
21917
21917
|
innerHTML: $props.questionInfo.htmlContent
|
|
21918
|
-
}, null, 8,
|
|
21918
|
+
}, 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", {
|
|
21919
21919
|
key: 1,
|
|
21920
21920
|
class: "bcdt-btn",
|
|
21921
21921
|
onClick: _cache[0] || (_cache[0] = function ($event) {
|
|
21922
21922
|
return $options.startCode('1');
|
|
21923
21923
|
})
|
|
21924
|
-
}, "进入" + (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",
|
|
21924
|
+
}, "进入" + (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", {
|
|
21925
21925
|
class: "img-box",
|
|
21926
21926
|
onClick: _cache[1] || (_cache[1] = function ($event) {
|
|
21927
21927
|
return $options.startCode('2');
|
|
21928
21928
|
})
|
|
21929
21929
|
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("img", {
|
|
21930
21930
|
src: $data.codeTypeImgMap[$props.questionInfo.code_type]
|
|
21931
|
-
}, null, 8,
|
|
21931
|
+
}, 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", {
|
|
21932
21932
|
class: "img-box",
|
|
21933
21933
|
onClick: _cache[2] || (_cache[2] = function ($event) {
|
|
21934
21934
|
return $options.startCode('3');
|
|
21935
21935
|
})
|
|
21936
21936
|
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("img", {
|
|
21937
21937
|
src: $data.codeTypeImgMap[$props.questionInfo.code_type]
|
|
21938
|
-
}, null, 8,
|
|
21938
|
+
}, 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", {
|
|
21939
21939
|
class: "img-box",
|
|
21940
21940
|
onClick: _cache[3] || (_cache[3] = function ($event) {
|
|
21941
21941
|
return $options.startCode('4');
|
|
21942
21942
|
})
|
|
21943
21943
|
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("img", {
|
|
21944
21944
|
src: $data.codeTypeImgMap[$props.questionInfo.code_type]
|
|
21945
|
-
}, null, 8,
|
|
21945
|
+
}, 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", {
|
|
21946
21946
|
class: "analysis-txt",
|
|
21947
21947
|
innerHTML: $props.questionInfo.analysisHtmlContent
|
|
21948
|
-
}, null, 8,
|
|
21948
|
+
}, 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, {
|
|
21949
21949
|
key: 1,
|
|
21950
21950
|
visible: _ctx.visible,
|
|
21951
21951
|
"onUpdate:visible": _cache[4] || (_cache[4] = function ($event) {
|
|
@@ -21961,13 +21961,16 @@ function Question_Programmingvue_type_template_id_96da3bbc_render(_ctx, _cache,
|
|
|
21961
21961
|
onCloseAndSave: $options.closeAndSave,
|
|
21962
21962
|
onSaveCodeOnly: $options.saveCodeOnly,
|
|
21963
21963
|
onIframeLoaded: $options.iframeLoaded,
|
|
21964
|
-
onGetQuestionInfo: $options.getQuestionInfo
|
|
21965
|
-
|
|
21964
|
+
onGetQuestionInfo: $options.getQuestionInfo,
|
|
21965
|
+
onMenuBarloaded: $options.menuBarloaded
|
|
21966
|
+
}, 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, {
|
|
21966
21967
|
loading: $data.loading
|
|
21967
21968
|
}, null, 8, ["loading"])]);
|
|
21968
21969
|
}
|
|
21969
|
-
;// CONCATENATED MODULE: ./src/components/questions/Question_Programming.vue?vue&type=template&id=
|
|
21970
|
+
;// CONCATENATED MODULE: ./src/components/questions/Question_Programming.vue?vue&type=template&id=61b5ec79
|
|
21970
21971
|
|
|
21972
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.promise.js
|
|
21973
|
+
var es_promise = __webpack_require__(8674);
|
|
21971
21974
|
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-86.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
|
|
21972
21975
|
|
|
21973
21976
|
var IframeComponentvue_type_template_id_0d05d84e_hoisted_1 = {
|
|
@@ -23690,6 +23693,8 @@ var index = {
|
|
|
23690
23693
|
|
|
23691
23694
|
|
|
23692
23695
|
|
|
23696
|
+
|
|
23697
|
+
|
|
23693
23698
|
/* harmony default export */ var Question_Programmingvue_type_script_lang_js = ({
|
|
23694
23699
|
name: 'Question_Programming',
|
|
23695
23700
|
props: {
|
|
@@ -23762,6 +23767,7 @@ var index = {
|
|
|
23762
23767
|
},
|
|
23763
23768
|
data: function data() {
|
|
23764
23769
|
return _objectSpread2({
|
|
23770
|
+
findIframeTimer: null,
|
|
23765
23771
|
iframe: null,
|
|
23766
23772
|
showFrame: false,
|
|
23767
23773
|
analyCorrectAnswer: '',
|
|
@@ -23804,6 +23810,25 @@ var index = {
|
|
|
23804
23810
|
},
|
|
23805
23811
|
computed: _objectSpread2({}, mapState('zykjcommonQuestions', ['pythonCodeWebPath', 'scratchCodeWebPath', 'cplusCodeWebPath'])),
|
|
23806
23812
|
methods: _objectSpread2(_objectSpread2({}, mapActions('zykjcommonQuestions', ['getEditorUrlActions'])), {}, {
|
|
23813
|
+
menuBarloaded: function menuBarloaded() {
|
|
23814
|
+
this.$emit('menuBarloaded');
|
|
23815
|
+
},
|
|
23816
|
+
getIframeContentWindow: function getIframeContentWindow() {
|
|
23817
|
+
var _this2 = this;
|
|
23818
|
+
return new Promise(function (resolve, reject) {
|
|
23819
|
+
if (_this2.iframe) {
|
|
23820
|
+
resolve(_this2.iframe.contentWindow);
|
|
23821
|
+
} else {
|
|
23822
|
+
_this2.findIframeTimer = setInterval(function () {
|
|
23823
|
+
if (_this2.iframe) {
|
|
23824
|
+
_this2.findIframeTimer && clearInterval(_this2.findIframeTimer);
|
|
23825
|
+
_this2.findIframeTimer = null;
|
|
23826
|
+
resolve(_this2.iframe.contentWindow);
|
|
23827
|
+
}
|
|
23828
|
+
}, 200);
|
|
23829
|
+
}
|
|
23830
|
+
});
|
|
23831
|
+
},
|
|
23807
23832
|
getAnswer: function getAnswer() {
|
|
23808
23833
|
return {
|
|
23809
23834
|
code_file_oss_temp_path: this.code_file_oss_temp_path,
|
|
@@ -23820,16 +23845,16 @@ var index = {
|
|
|
23820
23845
|
return correct;
|
|
23821
23846
|
},
|
|
23822
23847
|
getCodeWebPath: function getCodeWebPath(cb) {
|
|
23823
|
-
var
|
|
23848
|
+
var _this3 = this;
|
|
23824
23849
|
if (this.pythonCodeWebPath || this.scratchCodeWebPath || this.cplusCodeWebPath) {
|
|
23825
23850
|
cb && cb();
|
|
23826
23851
|
} else {
|
|
23827
23852
|
this.loading = true;
|
|
23828
23853
|
this.getEditorUrlActions().then(function () {
|
|
23829
|
-
|
|
23854
|
+
_this3.loading = false;
|
|
23830
23855
|
cb && cb();
|
|
23831
23856
|
}, function () {
|
|
23832
|
-
|
|
23857
|
+
_this3.loading = false;
|
|
23833
23858
|
});
|
|
23834
23859
|
}
|
|
23835
23860
|
},
|
|
@@ -23942,61 +23967,61 @@ var index = {
|
|
|
23942
23967
|
|
|
23943
23968
|
|
|
23944
23969
|
;
|
|
23945
|
-
const Question_Programming_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(Question_Programmingvue_type_script_lang_js, [['render',
|
|
23970
|
+
const Question_Programming_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(Question_Programmingvue_type_script_lang_js, [['render',Question_Programmingvue_type_template_id_61b5ec79_render]])
|
|
23946
23971
|
|
|
23947
23972
|
/* harmony default export */ var Question_Programming = (Question_Programming_exports_);
|
|
23948
|
-
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-86.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=
|
|
23973
|
+
;// CONCATENATED MODULE: ./node_modules/thread-loader/dist/cjs.js!./node_modules/babel-loader/lib/index.js??clonedRuleSet-86.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
|
|
23949
23974
|
|
|
23950
|
-
var
|
|
23975
|
+
var Question_Classifyvue_type_template_id_2ec8502f_hoisted_1 = {
|
|
23951
23976
|
class: "zykjcommon-question",
|
|
23952
23977
|
style: {
|
|
23953
23978
|
"width": "100%",
|
|
23954
23979
|
"height": "100%"
|
|
23955
23980
|
}
|
|
23956
23981
|
};
|
|
23957
|
-
var
|
|
23982
|
+
var Question_Classifyvue_type_template_id_2ec8502f_hoisted_2 = {
|
|
23958
23983
|
class: "box"
|
|
23959
23984
|
};
|
|
23960
|
-
var
|
|
23985
|
+
var Question_Classifyvue_type_template_id_2ec8502f_hoisted_3 = {
|
|
23961
23986
|
class: "main-block"
|
|
23962
23987
|
};
|
|
23963
|
-
var
|
|
23964
|
-
var
|
|
23988
|
+
var Question_Classifyvue_type_template_id_2ec8502f_hoisted_4 = ["src"];
|
|
23989
|
+
var Question_Classifyvue_type_template_id_2ec8502f_hoisted_5 = /*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", {
|
|
23965
23990
|
class: "main-content"
|
|
23966
23991
|
}, [/*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", {
|
|
23967
23992
|
class: "main-append"
|
|
23968
23993
|
})], -1);
|
|
23969
|
-
var
|
|
23994
|
+
var Question_Classifyvue_type_template_id_2ec8502f_hoisted_6 = /*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", {
|
|
23970
23995
|
class: "prev"
|
|
23971
23996
|
}, [/*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", {
|
|
23972
23997
|
class: "prev-main"
|
|
23973
23998
|
})], -1);
|
|
23974
|
-
var
|
|
23999
|
+
var Question_Classifyvue_type_template_id_2ec8502f_hoisted_7 = /*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", {
|
|
23975
24000
|
class: "next"
|
|
23976
24001
|
}, [/*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", {
|
|
23977
24002
|
class: "next-main"
|
|
23978
24003
|
})], -1);
|
|
23979
|
-
var
|
|
24004
|
+
var Question_Classifyvue_type_template_id_2ec8502f_hoisted_8 = {
|
|
23980
24005
|
class: "list"
|
|
23981
24006
|
};
|
|
23982
|
-
var
|
|
23983
|
-
function
|
|
23984
|
-
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("div",
|
|
24007
|
+
var Question_Classifyvue_type_template_id_2ec8502f_hoisted_9 = ["idx"];
|
|
24008
|
+
function Question_Classifyvue_type_template_id_2ec8502f_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
24009
|
+
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", {
|
|
23985
24010
|
class: "question-classify",
|
|
23986
24011
|
style: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.normalizeStyle)($data.bigBgCss)
|
|
23987
|
-
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div",
|
|
24012
|
+
}, [(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) {
|
|
23988
24013
|
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("div", {
|
|
23989
24014
|
class: "box-item",
|
|
23990
24015
|
style: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.normalizeStyle)(item.bgUrlCss),
|
|
23991
24016
|
key: index
|
|
23992
|
-
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div",
|
|
24017
|
+
}, [(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", {
|
|
23993
24018
|
src: item.imgUrl,
|
|
23994
24019
|
alt: ""
|
|
23995
|
-
}, null, 8,
|
|
24020
|
+
}, null, 8, Question_Classifyvue_type_template_id_2ec8502f_hoisted_4)]), Question_Classifyvue_type_template_id_2ec8502f_hoisted_5], 4);
|
|
23996
24021
|
}), 128))]), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", {
|
|
23997
24022
|
class: "list-outter",
|
|
23998
24023
|
style: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.normalizeStyle)($data.bottomBgCss)
|
|
23999
|
-
}, [
|
|
24024
|
+
}, [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) {
|
|
24000
24025
|
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("div", {
|
|
24001
24026
|
class: "list-item",
|
|
24002
24027
|
idx: item.idx,
|
|
@@ -24004,10 +24029,10 @@ function Question_Classifyvue_type_template_id_4dc421ad_render(_ctx, _cache, $pr
|
|
|
24004
24029
|
key: index
|
|
24005
24030
|
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.withDirectives)((0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", {
|
|
24006
24031
|
class: "list-item-text"
|
|
24007
|
-
}, (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,
|
|
24032
|
+
}, (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);
|
|
24008
24033
|
}), 128))])], 4)], 4)]);
|
|
24009
24034
|
}
|
|
24010
|
-
;// CONCATENATED MODULE: ./src/components/questions/Question_Classify.vue?vue&type=template&id=
|
|
24035
|
+
;// CONCATENATED MODULE: ./src/components/questions/Question_Classify.vue?vue&type=template&id=2ec8502f
|
|
24011
24036
|
|
|
24012
24037
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.sort.js
|
|
24013
24038
|
var es_array_sort = __webpack_require__(2707);
|
|
@@ -24204,9 +24229,20 @@ var env = js_fun.getDeviceEnv();
|
|
|
24204
24229
|
};
|
|
24205
24230
|
},
|
|
24206
24231
|
isAnswered: function isAnswered() {
|
|
24207
|
-
|
|
24208
|
-
|
|
24209
|
-
|
|
24232
|
+
// let len = $(this.$el).find('.list .list-item').length
|
|
24233
|
+
// let answerd = len === 0
|
|
24234
|
+
//每个选中框至少要有一个选项才是已答
|
|
24235
|
+
var arr = [];
|
|
24236
|
+
var mainAppend = $(this.$el).find('.main-append');
|
|
24237
|
+
mainAppend.each(function (index, item) {
|
|
24238
|
+
var appendItem = $(item).find('.append-item');
|
|
24239
|
+
arr.push(appendItem.length);
|
|
24240
|
+
});
|
|
24241
|
+
if (arr.length === 2) {
|
|
24242
|
+
return arr[0] && arr[1];
|
|
24243
|
+
} else {
|
|
24244
|
+
return false;
|
|
24245
|
+
}
|
|
24210
24246
|
},
|
|
24211
24247
|
isCorrect: function isCorrect() {
|
|
24212
24248
|
var correct = this.questionInfo.answerMap.is_correct === '1' ? true : false;
|
|
@@ -24568,7 +24604,7 @@ var env = js_fun.getDeviceEnv();
|
|
|
24568
24604
|
|
|
24569
24605
|
|
|
24570
24606
|
;
|
|
24571
|
-
const Question_Classify_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(Question_Classifyvue_type_script_lang_js, [['render',
|
|
24607
|
+
const Question_Classify_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(Question_Classifyvue_type_script_lang_js, [['render',Question_Classifyvue_type_template_id_2ec8502f_render]])
|
|
24572
24608
|
|
|
24573
24609
|
/* harmony default export */ var Question_Classify = (Question_Classify_exports_);
|
|
24574
24610
|
;// CONCATENATED MODULE: ./src/components/questions/const.js
|
|
@@ -24593,8 +24629,6 @@ var questionMapper = {
|
|
|
24593
24629
|
//填空
|
|
24594
24630
|
'17': 'Question_Classify' //分类
|
|
24595
24631
|
};
|
|
24596
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.promise.js
|
|
24597
|
-
var es_promise = __webpack_require__(8674);
|
|
24598
24632
|
// EXTERNAL MODULE: ./node_modules/crypto-js/index.js
|
|
24599
24633
|
var crypto_js = __webpack_require__(1354);
|
|
24600
24634
|
// EXTERNAL MODULE: ./node_modules/axios/index.js
|