@zykjcommon/questions 0.0.49 → 0.0.51
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 +216 -140
- package/dist/zykjcommon-questions.css +1 -1
- package/dist/zykjcommon-questions.umd.js +216 -140
- package/dist/zykjcommon-questions.umd.min.js +4 -4
- package/package.json +1 -1
- package/readme +2 -0
- package/src/assets/img/lookBigImgBtn.png +0 -0
- package/src/assets/scss/questions/zykjcommon-questions.scss +16 -2
- package/src/components/common/MediaLooker.vue +3 -7
- package/src/components/questions/Question_Classify.vue +51 -6
- package/src/components/questions/Question_MultipleChoice.vue +1 -1
- package/src/components/questions/Question_Programming.vue +20 -0
|
@@ -19307,40 +19307,42 @@ function doMediaLookerSome(_this) {
|
|
|
19307
19307
|
}
|
|
19308
19308
|
;// CONCATENATED MODULE: ./src/assets/img/big-close.png
|
|
19309
19309
|
var big_close_namespaceObject = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJwAAACcBAMAAAB4lt9+AAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAVUExURQAAAP////////////7+/v7+/v///3vp7x0AAAAGdFJOUwAPHoDe4XWzkRMAAAF7SURBVGje7ZmxkcJADEUX0wAlEPhyIhdA4AIuuAYA9V8CAdxhG6/GWr25Ifg/XX/xPDa70ncpkiRJkiRJkiT9ow7+8i5WbX/21/tTqNxwPXrL3XgJwZm5eL1ZBG8w8/C60ewSgnPxerMI3mDm4XWjWQBvb+bi9Y/1UwSujveA24y3e15ew3vC2fWwrd7f9UcPzs4bb9Y3+D8WdYThfEsczvM0wHmmFri6qwmubmuDq/ka4WrGVrh1ZzPcurUdbs2bgFszZ+De3Sm4d3sObulPwi0LZOHmFdJw8xJ5uGkNAG6KR8C98G4/ANwED4F74SFwS7ws3AIvCzfHy8PN8PJwUzwCrpSv33Lf5fPKwTfLPgr4RWFfY/hPxm4B8AbFbp/w5s4ePfDByB7bcFPBtjxwQ8a2i3Azy7ba8CDAjinwEMWOePAAyo7H8PDORgtw8MHGMnBoxEZadODGxoF0WAlHqXTQC8fQdEgOR/j0Bwb484ckSZIkSZIkSTndAZo6yxBSf1SNAAAAAElFTkSuQmCC";
|
|
19310
|
-
;// 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/MediaLooker.vue?vue&type=template&id=
|
|
19310
|
+
;// 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/MediaLooker.vue?vue&type=template&id=01ed40a7
|
|
19311
19311
|
|
|
19312
19312
|
|
|
19313
|
-
var
|
|
19313
|
+
var MediaLookervue_type_template_id_01ed40a7_hoisted_1 = {
|
|
19314
19314
|
key: 0,
|
|
19315
19315
|
class: "dialog imgLookerDialog"
|
|
19316
19316
|
};
|
|
19317
|
-
var
|
|
19317
|
+
var MediaLookervue_type_template_id_01ed40a7_hoisted_2 = /*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", {
|
|
19318
19318
|
class: "mask"
|
|
19319
19319
|
}, null, -1);
|
|
19320
|
-
var
|
|
19320
|
+
var MediaLookervue_type_template_id_01ed40a7_hoisted_3 = /*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("img", {
|
|
19321
19321
|
src: big_close_namespaceObject,
|
|
19322
19322
|
alt: ""
|
|
19323
19323
|
}, null, -1);
|
|
19324
|
-
var
|
|
19325
|
-
var
|
|
19326
|
-
function
|
|
19327
|
-
return $props.visible ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("div",
|
|
19324
|
+
var MediaLookervue_type_template_id_01ed40a7_hoisted_4 = [MediaLookervue_type_template_id_01ed40a7_hoisted_3];
|
|
19325
|
+
var MediaLookervue_type_template_id_01ed40a7_hoisted_5 = ["src"];
|
|
19326
|
+
function MediaLookervue_type_template_id_01ed40a7_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
19327
|
+
return $props.visible ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("div", MediaLookervue_type_template_id_01ed40a7_hoisted_1, [MediaLookervue_type_template_id_01ed40a7_hoisted_2, (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", {
|
|
19328
19328
|
class: "close",
|
|
19329
19329
|
onClick: _cache[0] || (_cache[0] = function () {
|
|
19330
19330
|
return $options.cancel && $options.cancel.apply($options, arguments);
|
|
19331
19331
|
})
|
|
19332
|
-
},
|
|
19332
|
+
}, MediaLookervue_type_template_id_01ed40a7_hoisted_4), $props.mediaLookerList.length > 1 ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("div", {
|
|
19333
|
+
key: 0,
|
|
19333
19334
|
class: "prev",
|
|
19334
19335
|
onClick: _cache[1] || (_cache[1] = function () {
|
|
19335
19336
|
return $options.prev && $options.prev.apply($options, arguments);
|
|
19336
19337
|
})
|
|
19337
|
-
}), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.
|
|
19338
|
+
})) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)("", true), $props.mediaLookerList.length > 1 ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("div", {
|
|
19339
|
+
key: 1,
|
|
19338
19340
|
class: "next",
|
|
19339
19341
|
onClick: _cache[2] || (_cache[2] = function () {
|
|
19340
19342
|
return $options.next && $options.next.apply($options, arguments);
|
|
19341
19343
|
})
|
|
19342
|
-
}), $data.curMediaObj.mediaType == 1 ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("div", {
|
|
19343
|
-
key:
|
|
19344
|
+
})) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)("", true), $data.curMediaObj.mediaType == 1 ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("div", {
|
|
19345
|
+
key: 2,
|
|
19344
19346
|
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.normalizeClass)(["imgLooker", {
|
|
19345
19347
|
in: $data.enlargeStatus === 'in',
|
|
19346
19348
|
out: $data.enlargeStatus === 'out'
|
|
@@ -19355,9 +19357,9 @@ function MediaLookervue_type_template_id_ec152b5e_render(_ctx, _cache, $props, $
|
|
|
19355
19357
|
'height': $data.curMediaObj.height + 'px'
|
|
19356
19358
|
}),
|
|
19357
19359
|
alt: ""
|
|
19358
|
-
}, null, 12,
|
|
19360
|
+
}, null, 12, MediaLookervue_type_template_id_01ed40a7_hoisted_5)], 2)) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)("", true)])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)("", true);
|
|
19359
19361
|
}
|
|
19360
|
-
;// CONCATENATED MODULE: ./src/components/common/MediaLooker.vue?vue&type=template&id=
|
|
19362
|
+
;// CONCATENATED MODULE: ./src/components/common/MediaLooker.vue?vue&type=template&id=01ed40a7
|
|
19361
19363
|
|
|
19362
19364
|
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
|
|
19363
19365
|
function _arrayLikeToArray(arr, len) {
|
|
@@ -20412,14 +20414,9 @@ function getDeviceEnv() {
|
|
|
20412
20414
|
mediaLookerList: {
|
|
20413
20415
|
handler: function handler(nv, ov) {
|
|
20414
20416
|
if (nv && nv.length) {
|
|
20415
|
-
|
|
20416
|
-
// console.log(nv,3333);
|
|
20417
|
-
this.getCurMedia(this.mediaCount);
|
|
20418
|
-
// console.log(props.mediaCount,11113);
|
|
20419
|
-
}
|
|
20417
|
+
this.getCurMedia(this.mediaCount);
|
|
20420
20418
|
}
|
|
20421
20419
|
},
|
|
20422
|
-
|
|
20423
20420
|
immediate: true,
|
|
20424
20421
|
deep: true
|
|
20425
20422
|
}
|
|
@@ -20525,7 +20522,7 @@ var exportHelper = __webpack_require__(3744);
|
|
|
20525
20522
|
|
|
20526
20523
|
|
|
20527
20524
|
;
|
|
20528
|
-
const __exports__ = /*#__PURE__*/(0,exportHelper/* default */.Z)(MediaLookervue_type_script_lang_js, [['render',
|
|
20525
|
+
const __exports__ = /*#__PURE__*/(0,exportHelper/* default */.Z)(MediaLookervue_type_script_lang_js, [['render',MediaLookervue_type_template_id_01ed40a7_render]])
|
|
20529
20526
|
|
|
20530
20527
|
/* harmony default export */ var MediaLooker = (__exports__);
|
|
20531
20528
|
;// 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_SingleChoice.vue?vue&type=script&lang=js
|
|
@@ -20690,109 +20687,109 @@ const __exports__ = /*#__PURE__*/(0,exportHelper/* default */.Z)(MediaLookervue_
|
|
|
20690
20687
|
const Question_SingleChoice_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(Question_SingleChoicevue_type_script_lang_js, [['render',render]])
|
|
20691
20688
|
|
|
20692
20689
|
/* 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=
|
|
20690
|
+
;// 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
20691
|
|
|
20695
|
-
var
|
|
20692
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_1 = {
|
|
20696
20693
|
class: "zykjcommon-question"
|
|
20697
20694
|
};
|
|
20698
|
-
var
|
|
20695
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_2 = {
|
|
20699
20696
|
key: 0,
|
|
20700
20697
|
class: "question-type"
|
|
20701
20698
|
};
|
|
20702
|
-
var
|
|
20699
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_3 = {
|
|
20703
20700
|
key: 0,
|
|
20704
20701
|
class: "question-type-str"
|
|
20705
20702
|
};
|
|
20706
|
-
var
|
|
20703
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_4 = {
|
|
20707
20704
|
key: 0
|
|
20708
20705
|
};
|
|
20709
|
-
var
|
|
20706
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_5 = {
|
|
20710
20707
|
key: 1
|
|
20711
20708
|
};
|
|
20712
|
-
var
|
|
20709
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_6 = {
|
|
20713
20710
|
key: 2,
|
|
20714
20711
|
class: "score fr"
|
|
20715
20712
|
};
|
|
20716
|
-
var
|
|
20713
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_7 = {
|
|
20717
20714
|
class: "question-box"
|
|
20718
20715
|
};
|
|
20719
|
-
var
|
|
20720
|
-
var
|
|
20716
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_8 = ["innerHTML"];
|
|
20717
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_9 = {
|
|
20721
20718
|
key: 2,
|
|
20722
20719
|
class: "question-stem"
|
|
20723
20720
|
};
|
|
20724
|
-
var
|
|
20721
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_10 = {
|
|
20725
20722
|
key: 0
|
|
20726
20723
|
};
|
|
20727
|
-
var
|
|
20724
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_11 = {
|
|
20728
20725
|
key: 3,
|
|
20729
20726
|
class: "editor-content",
|
|
20730
20727
|
style: {
|
|
20731
20728
|
"display": "flex"
|
|
20732
20729
|
}
|
|
20733
20730
|
};
|
|
20734
|
-
var
|
|
20731
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_12 = {
|
|
20735
20732
|
key: 0
|
|
20736
20733
|
};
|
|
20737
|
-
var
|
|
20738
|
-
var
|
|
20734
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_13 = ["innerHTML"];
|
|
20735
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_14 = {
|
|
20739
20736
|
class: "question-option"
|
|
20740
20737
|
};
|
|
20741
|
-
var
|
|
20742
|
-
var
|
|
20738
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_15 = ["disabled", "id", "value"];
|
|
20739
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_16 = /*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", {
|
|
20743
20740
|
class: "checkbox-bg"
|
|
20744
20741
|
}, null, -1);
|
|
20745
|
-
var
|
|
20742
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_17 = {
|
|
20746
20743
|
class: "label-box"
|
|
20747
20744
|
};
|
|
20748
|
-
var
|
|
20749
|
-
var
|
|
20745
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_18 = ["for"];
|
|
20746
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_19 = {
|
|
20750
20747
|
key: 0
|
|
20751
20748
|
};
|
|
20752
|
-
var
|
|
20749
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_20 = {
|
|
20753
20750
|
key: 0,
|
|
20754
20751
|
class: "img-box"
|
|
20755
20752
|
};
|
|
20756
|
-
var
|
|
20757
|
-
var
|
|
20753
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_21 = ["src"];
|
|
20754
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_22 = {
|
|
20758
20755
|
key: 0,
|
|
20759
20756
|
class: "question-analysis"
|
|
20760
20757
|
};
|
|
20761
|
-
var
|
|
20758
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_23 = /*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", {
|
|
20762
20759
|
class: "triangle-top"
|
|
20763
20760
|
}, null, -1);
|
|
20764
|
-
var
|
|
20761
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_24 = {
|
|
20765
20762
|
class: "question-analysis-item"
|
|
20766
20763
|
};
|
|
20767
|
-
var
|
|
20764
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_25 = /*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("span", {
|
|
20768
20765
|
class: "txt"
|
|
20769
20766
|
}, "【你的回答】:", -1);
|
|
20770
|
-
var
|
|
20767
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_26 = {
|
|
20771
20768
|
class: "txt-box"
|
|
20772
20769
|
};
|
|
20773
|
-
var
|
|
20770
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_27 = {
|
|
20774
20771
|
class: "question-analysis-item"
|
|
20775
20772
|
};
|
|
20776
|
-
var
|
|
20773
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_28 = /*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("span", {
|
|
20777
20774
|
class: "txt"
|
|
20778
20775
|
}, "【正确答案】:", -1);
|
|
20779
|
-
var
|
|
20776
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_29 = {
|
|
20780
20777
|
class: "txt-box"
|
|
20781
20778
|
};
|
|
20782
|
-
var
|
|
20779
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_30 = {
|
|
20783
20780
|
key: 0,
|
|
20784
20781
|
class: "question-analysis-item"
|
|
20785
20782
|
};
|
|
20786
|
-
var
|
|
20783
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_31 = /*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("span", {
|
|
20787
20784
|
class: "txt"
|
|
20788
20785
|
}, "【本题解析】:", -1);
|
|
20789
|
-
var
|
|
20786
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_32 = {
|
|
20790
20787
|
class: "txt-box"
|
|
20791
20788
|
};
|
|
20792
|
-
var
|
|
20793
|
-
function
|
|
20789
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_33 = ["innerHTML"];
|
|
20790
|
+
function Question_MultipleChoicevue_type_template_id_4550d456_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
20794
20791
|
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",
|
|
20792
|
+
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
20793
|
key: 0,
|
|
20797
20794
|
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.normalizeClass)(["question-hint", {
|
|
20798
20795
|
'bold': !$props.showQuestionType
|
|
@@ -20801,19 +20798,19 @@ function Question_MultipleChoicevue_type_template_id_2d0f9b93_render(_ctx, _cach
|
|
|
20801
20798
|
key: 1,
|
|
20802
20799
|
class: "editor-content",
|
|
20803
20800
|
innerHTML: $props.questionInfo.htmlContent
|
|
20804
|
-
}, null, 8,
|
|
20801
|
+
}, 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
20802
|
style: {
|
|
20806
20803
|
"display": "inline-block",
|
|
20807
20804
|
"flex": "1"
|
|
20808
20805
|
},
|
|
20809
20806
|
innerHTML: $props.questionInfo.htmlContent
|
|
20810
|
-
}, null, 8,
|
|
20807
|
+
}, 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
20808
|
class: "question-option-list",
|
|
20812
20809
|
style: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.normalizeStyle)(!$props.questionInfo.htmlContent && !$props.questionInfo.hint ? {
|
|
20813
20810
|
'margin-top': 0
|
|
20814
20811
|
} : {})
|
|
20815
20812
|
}, [((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",
|
|
20813
|
+
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
20814
|
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.normalizeClass)(["checkbox-box", {
|
|
20818
20815
|
'checked': $data.checkboxList.indexOf(item.index) > -1
|
|
20819
20816
|
}])
|
|
@@ -20826,20 +20823,20 @@ function Question_MultipleChoicevue_type_template_id_2d0f9b93_render(_ctx, _cach
|
|
|
20826
20823
|
id: 'checkbox-' + $props.questionInfo.questionIndex + '-' + index,
|
|
20827
20824
|
class: "checkbox",
|
|
20828
20825
|
value: item.index
|
|
20829
|
-
}, null, 8,
|
|
20826
|
+
}, 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
20827
|
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",
|
|
20828
|
+
}, [(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
20829
|
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",
|
|
20830
|
+
}, 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)])]);
|
|
20831
|
+
}), 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
20832
|
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.normalizeClass)({
|
|
20836
20833
|
'wrong': $props.questionInfo.answerMap.is_correct !== '1',
|
|
20837
20834
|
'right': $props.questionInfo.answerMap.is_correct === '1'
|
|
20838
20835
|
})
|
|
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",
|
|
20836
|
+
}, (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
20837
|
class: "analysis-txt",
|
|
20841
20838
|
innerHTML: $props.questionInfo.analysisHtmlContent
|
|
20842
|
-
}, null, 8,
|
|
20839
|
+
}, 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
20840
|
key: 1,
|
|
20844
20841
|
visible: _ctx.visible,
|
|
20845
20842
|
"onUpdate:visible": _cache[1] || (_cache[1] = function ($event) {
|
|
@@ -20849,7 +20846,7 @@ function Question_MultipleChoicevue_type_template_id_2d0f9b93_render(_ctx, _cach
|
|
|
20849
20846
|
mediaLookerList: _ctx.mediaLookerList
|
|
20850
20847
|
}, null, 8, ["visible", "mediaCount", "mediaLookerList"])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)("", true)]);
|
|
20851
20848
|
}
|
|
20852
|
-
;// CONCATENATED MODULE: ./src/components/questions/Question_MultipleChoice.vue?vue&type=template&id=
|
|
20849
|
+
;// CONCATENATED MODULE: ./src/components/questions/Question_MultipleChoice.vue?vue&type=template&id=4550d456
|
|
20853
20850
|
|
|
20854
20851
|
;// 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
20852
|
|
|
@@ -20969,7 +20966,7 @@ function Question_MultipleChoicevue_type_template_id_2d0f9b93_render(_ctx, _cach
|
|
|
20969
20966
|
};
|
|
20970
20967
|
},
|
|
20971
20968
|
isAnswered: function isAnswered() {
|
|
20972
|
-
var answerd = this.checkboxList.length
|
|
20969
|
+
var answerd = this.checkboxList.length > 1;
|
|
20973
20970
|
return answerd;
|
|
20974
20971
|
},
|
|
20975
20972
|
isCorrect: function isCorrect() {
|
|
@@ -20996,7 +20993,7 @@ function Question_MultipleChoicevue_type_template_id_2d0f9b93_render(_ctx, _cach
|
|
|
20996
20993
|
|
|
20997
20994
|
|
|
20998
20995
|
;
|
|
20999
|
-
const Question_MultipleChoice_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(Question_MultipleChoicevue_type_script_lang_js, [['render',
|
|
20996
|
+
const Question_MultipleChoice_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(Question_MultipleChoicevue_type_script_lang_js, [['render',Question_MultipleChoicevue_type_template_id_4550d456_render]])
|
|
21000
20997
|
|
|
21001
20998
|
/* harmony default export */ var Question_MultipleChoice = (Question_MultipleChoice_exports_);
|
|
21002
20999
|
;// 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 +21810,91 @@ var filerRegs = [{
|
|
|
21813
21810
|
const Question_FillBlank_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(Question_FillBlankvue_type_script_lang_js, [['render',Question_FillBlankvue_type_template_id_62528820_render]])
|
|
21814
21811
|
|
|
21815
21812
|
/* 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=
|
|
21813
|
+
;// 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
21814
|
|
|
21818
|
-
var
|
|
21815
|
+
var Question_Programmingvue_type_template_id_61b5ec79_hoisted_1 = {
|
|
21819
21816
|
class: "zykjcommon-question"
|
|
21820
21817
|
};
|
|
21821
|
-
var
|
|
21818
|
+
var Question_Programmingvue_type_template_id_61b5ec79_hoisted_2 = {
|
|
21822
21819
|
key: 0,
|
|
21823
21820
|
class: "question-type"
|
|
21824
21821
|
};
|
|
21825
|
-
var
|
|
21822
|
+
var Question_Programmingvue_type_template_id_61b5ec79_hoisted_3 = {
|
|
21826
21823
|
key: 0,
|
|
21827
21824
|
class: "question-type-str"
|
|
21828
21825
|
};
|
|
21829
|
-
var
|
|
21826
|
+
var Question_Programmingvue_type_template_id_61b5ec79_hoisted_4 = {
|
|
21830
21827
|
key: 0
|
|
21831
21828
|
};
|
|
21832
|
-
var
|
|
21829
|
+
var Question_Programmingvue_type_template_id_61b5ec79_hoisted_5 = {
|
|
21833
21830
|
key: 1
|
|
21834
21831
|
};
|
|
21835
|
-
var
|
|
21832
|
+
var Question_Programmingvue_type_template_id_61b5ec79_hoisted_6 = {
|
|
21836
21833
|
key: 2,
|
|
21837
21834
|
class: "score fr"
|
|
21838
21835
|
};
|
|
21839
|
-
var
|
|
21836
|
+
var Question_Programmingvue_type_template_id_61b5ec79_hoisted_7 = {
|
|
21840
21837
|
class: "question-box"
|
|
21841
21838
|
};
|
|
21842
|
-
var
|
|
21843
|
-
var
|
|
21839
|
+
var Question_Programmingvue_type_template_id_61b5ec79_hoisted_8 = ["innerHTML"];
|
|
21840
|
+
var Question_Programmingvue_type_template_id_61b5ec79_hoisted_9 = {
|
|
21844
21841
|
key: 2,
|
|
21845
21842
|
class: "question-analysis"
|
|
21846
21843
|
};
|
|
21847
|
-
var
|
|
21844
|
+
var Question_Programmingvue_type_template_id_61b5ec79_hoisted_10 = /*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", {
|
|
21848
21845
|
class: "triangle-top"
|
|
21849
21846
|
}, null, -1);
|
|
21850
|
-
var
|
|
21847
|
+
var Question_Programmingvue_type_template_id_61b5ec79_hoisted_11 = {
|
|
21851
21848
|
class: "question-analysis-item"
|
|
21852
21849
|
};
|
|
21853
|
-
var
|
|
21850
|
+
var Question_Programmingvue_type_template_id_61b5ec79_hoisted_12 = /*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("span", {
|
|
21854
21851
|
class: "txt"
|
|
21855
21852
|
}, "【你的答案】:", -1);
|
|
21856
|
-
var
|
|
21857
|
-
var
|
|
21853
|
+
var Question_Programmingvue_type_template_id_61b5ec79_hoisted_13 = ["src"];
|
|
21854
|
+
var Question_Programmingvue_type_template_id_61b5ec79_hoisted_14 = /*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", {
|
|
21858
21855
|
class: "mask-text-box"
|
|
21859
21856
|
}, [/*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", {
|
|
21860
21857
|
class: "mask"
|
|
21861
21858
|
}), /*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", {
|
|
21862
21859
|
class: "mask-text"
|
|
21863
21860
|
}, "去修改")], -1);
|
|
21864
|
-
var
|
|
21861
|
+
var Question_Programmingvue_type_template_id_61b5ec79_hoisted_15 = {
|
|
21865
21862
|
key: 3,
|
|
21866
21863
|
class: "question-analysis"
|
|
21867
21864
|
};
|
|
21868
|
-
var
|
|
21865
|
+
var Question_Programmingvue_type_template_id_61b5ec79_hoisted_16 = /*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", {
|
|
21869
21866
|
class: "triangle-top"
|
|
21870
21867
|
}, null, -1);
|
|
21871
|
-
var
|
|
21868
|
+
var Question_Programmingvue_type_template_id_61b5ec79_hoisted_17 = {
|
|
21872
21869
|
class: "question-analysis-item"
|
|
21873
21870
|
};
|
|
21874
|
-
var
|
|
21871
|
+
var Question_Programmingvue_type_template_id_61b5ec79_hoisted_18 = /*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("span", {
|
|
21875
21872
|
class: "txt"
|
|
21876
21873
|
}, "【你的答案】:", -1);
|
|
21877
|
-
var
|
|
21878
|
-
var
|
|
21874
|
+
var Question_Programmingvue_type_template_id_61b5ec79_hoisted_19 = ["src"];
|
|
21875
|
+
var Question_Programmingvue_type_template_id_61b5ec79_hoisted_20 = {
|
|
21879
21876
|
class: "question-analysis-item"
|
|
21880
21877
|
};
|
|
21881
|
-
var
|
|
21878
|
+
var Question_Programmingvue_type_template_id_61b5ec79_hoisted_21 = /*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("span", {
|
|
21882
21879
|
class: "txt"
|
|
21883
21880
|
}, "【正确答案】:", -1);
|
|
21884
|
-
var
|
|
21885
|
-
var
|
|
21881
|
+
var Question_Programmingvue_type_template_id_61b5ec79_hoisted_22 = ["src"];
|
|
21882
|
+
var Question_Programmingvue_type_template_id_61b5ec79_hoisted_23 = {
|
|
21886
21883
|
key: 0,
|
|
21887
21884
|
class: "question-analysis-item"
|
|
21888
21885
|
};
|
|
21889
|
-
var
|
|
21886
|
+
var Question_Programmingvue_type_template_id_61b5ec79_hoisted_24 = /*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("span", {
|
|
21890
21887
|
class: "txt"
|
|
21891
21888
|
}, "【本题解析】:", -1);
|
|
21892
|
-
var
|
|
21889
|
+
var Question_Programmingvue_type_template_id_61b5ec79_hoisted_25 = {
|
|
21893
21890
|
class: "txt-box"
|
|
21894
21891
|
};
|
|
21895
|
-
var
|
|
21896
|
-
function
|
|
21892
|
+
var Question_Programmingvue_type_template_id_61b5ec79_hoisted_26 = ["innerHTML"];
|
|
21893
|
+
function Question_Programmingvue_type_template_id_61b5ec79_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
21897
21894
|
var _component_MediaLooker = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.resolveComponent)("MediaLooker");
|
|
21898
21895
|
var _component_IframeComponent = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.resolveComponent)("IframeComponent");
|
|
21899
21896
|
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",
|
|
21897
|
+
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
21898
|
key: 0,
|
|
21902
21899
|
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.normalizeClass)(["question-hint", {
|
|
21903
21900
|
'bold': !$props.showQuestionType
|
|
@@ -21905,37 +21902,37 @@ function Question_Programmingvue_type_template_id_96da3bbc_render(_ctx, _cache,
|
|
|
21905
21902
|
}, (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
21903
|
class: "editor-content",
|
|
21907
21904
|
innerHTML: $props.questionInfo.htmlContent
|
|
21908
|
-
}, null, 8,
|
|
21905
|
+
}, 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
21906
|
key: 1,
|
|
21910
21907
|
class: "bcdt-btn",
|
|
21911
21908
|
onClick: _cache[0] || (_cache[0] = function ($event) {
|
|
21912
21909
|
return $options.startCode('1');
|
|
21913
21910
|
})
|
|
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",
|
|
21911
|
+
}, "进入" + (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
21912
|
class: "img-box",
|
|
21916
21913
|
onClick: _cache[1] || (_cache[1] = function ($event) {
|
|
21917
21914
|
return $options.startCode('2');
|
|
21918
21915
|
})
|
|
21919
21916
|
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("img", {
|
|
21920
21917
|
src: $data.codeTypeImgMap[$props.questionInfo.code_type]
|
|
21921
|
-
}, null, 8,
|
|
21918
|
+
}, 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
21919
|
class: "img-box",
|
|
21923
21920
|
onClick: _cache[2] || (_cache[2] = function ($event) {
|
|
21924
21921
|
return $options.startCode('3');
|
|
21925
21922
|
})
|
|
21926
21923
|
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("img", {
|
|
21927
21924
|
src: $data.codeTypeImgMap[$props.questionInfo.code_type]
|
|
21928
|
-
}, null, 8,
|
|
21925
|
+
}, 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
21926
|
class: "img-box",
|
|
21930
21927
|
onClick: _cache[3] || (_cache[3] = function ($event) {
|
|
21931
21928
|
return $options.startCode('4');
|
|
21932
21929
|
})
|
|
21933
21930
|
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("img", {
|
|
21934
21931
|
src: $data.codeTypeImgMap[$props.questionInfo.code_type]
|
|
21935
|
-
}, null, 8,
|
|
21932
|
+
}, 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
21933
|
class: "analysis-txt",
|
|
21937
21934
|
innerHTML: $props.questionInfo.analysisHtmlContent
|
|
21938
|
-
}, null, 8,
|
|
21935
|
+
}, 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
21936
|
key: 1,
|
|
21940
21937
|
visible: _ctx.visible,
|
|
21941
21938
|
"onUpdate:visible": _cache[4] || (_cache[4] = function ($event) {
|
|
@@ -21951,13 +21948,16 @@ function Question_Programmingvue_type_template_id_96da3bbc_render(_ctx, _cache,
|
|
|
21951
21948
|
onCloseAndSave: $options.closeAndSave,
|
|
21952
21949
|
onSaveCodeOnly: $options.saveCodeOnly,
|
|
21953
21950
|
onIframeLoaded: $options.iframeLoaded,
|
|
21954
|
-
onGetQuestionInfo: $options.getQuestionInfo
|
|
21955
|
-
|
|
21951
|
+
onGetQuestionInfo: $options.getQuestionInfo,
|
|
21952
|
+
onMenuBarloaded: $options.menuBarloaded
|
|
21953
|
+
}, 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
21954
|
loading: $data.loading
|
|
21957
21955
|
}, null, 8, ["loading"])]);
|
|
21958
21956
|
}
|
|
21959
|
-
;// CONCATENATED MODULE: ./src/components/questions/Question_Programming.vue?vue&type=template&id=
|
|
21957
|
+
;// CONCATENATED MODULE: ./src/components/questions/Question_Programming.vue?vue&type=template&id=61b5ec79
|
|
21960
21958
|
|
|
21959
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.promise.js
|
|
21960
|
+
var es_promise = __webpack_require__(8674);
|
|
21961
21961
|
;// 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
21962
|
|
|
21963
21963
|
var IframeComponentvue_type_template_id_0d05d84e_hoisted_1 = {
|
|
@@ -23680,6 +23680,8 @@ var index = {
|
|
|
23680
23680
|
|
|
23681
23681
|
|
|
23682
23682
|
|
|
23683
|
+
|
|
23684
|
+
|
|
23683
23685
|
/* harmony default export */ var Question_Programmingvue_type_script_lang_js = ({
|
|
23684
23686
|
name: 'Question_Programming',
|
|
23685
23687
|
props: {
|
|
@@ -23752,6 +23754,7 @@ var index = {
|
|
|
23752
23754
|
},
|
|
23753
23755
|
data: function data() {
|
|
23754
23756
|
return _objectSpread2({
|
|
23757
|
+
findIframeTimer: null,
|
|
23755
23758
|
iframe: null,
|
|
23756
23759
|
showFrame: false,
|
|
23757
23760
|
analyCorrectAnswer: '',
|
|
@@ -23794,6 +23797,25 @@ var index = {
|
|
|
23794
23797
|
},
|
|
23795
23798
|
computed: _objectSpread2({}, mapState('zykjcommonQuestions', ['pythonCodeWebPath', 'scratchCodeWebPath', 'cplusCodeWebPath'])),
|
|
23796
23799
|
methods: _objectSpread2(_objectSpread2({}, mapActions('zykjcommonQuestions', ['getEditorUrlActions'])), {}, {
|
|
23800
|
+
menuBarloaded: function menuBarloaded() {
|
|
23801
|
+
this.$emit('menuBarloaded');
|
|
23802
|
+
},
|
|
23803
|
+
getIframeContentWindow: function getIframeContentWindow() {
|
|
23804
|
+
var _this2 = this;
|
|
23805
|
+
return new Promise(function (resolve, reject) {
|
|
23806
|
+
if (_this2.iframe) {
|
|
23807
|
+
resolve(_this2.iframe.contentWindow);
|
|
23808
|
+
} else {
|
|
23809
|
+
_this2.findIframeTimer = setInterval(function () {
|
|
23810
|
+
if (_this2.iframe) {
|
|
23811
|
+
_this2.findIframeTimer && clearInterval(_this2.findIframeTimer);
|
|
23812
|
+
_this2.findIframeTimer = null;
|
|
23813
|
+
resolve(_this2.iframe.contentWindow);
|
|
23814
|
+
}
|
|
23815
|
+
}, 200);
|
|
23816
|
+
}
|
|
23817
|
+
});
|
|
23818
|
+
},
|
|
23797
23819
|
getAnswer: function getAnswer() {
|
|
23798
23820
|
return {
|
|
23799
23821
|
code_file_oss_temp_path: this.code_file_oss_temp_path,
|
|
@@ -23810,16 +23832,16 @@ var index = {
|
|
|
23810
23832
|
return correct;
|
|
23811
23833
|
},
|
|
23812
23834
|
getCodeWebPath: function getCodeWebPath(cb) {
|
|
23813
|
-
var
|
|
23835
|
+
var _this3 = this;
|
|
23814
23836
|
if (this.pythonCodeWebPath || this.scratchCodeWebPath || this.cplusCodeWebPath) {
|
|
23815
23837
|
cb && cb();
|
|
23816
23838
|
} else {
|
|
23817
23839
|
this.loading = true;
|
|
23818
23840
|
this.getEditorUrlActions().then(function () {
|
|
23819
|
-
|
|
23841
|
+
_this3.loading = false;
|
|
23820
23842
|
cb && cb();
|
|
23821
23843
|
}, function () {
|
|
23822
|
-
|
|
23844
|
+
_this3.loading = false;
|
|
23823
23845
|
});
|
|
23824
23846
|
}
|
|
23825
23847
|
},
|
|
@@ -23932,61 +23954,65 @@ var index = {
|
|
|
23932
23954
|
|
|
23933
23955
|
|
|
23934
23956
|
;
|
|
23935
|
-
const Question_Programming_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(Question_Programmingvue_type_script_lang_js, [['render',
|
|
23957
|
+
const Question_Programming_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(Question_Programmingvue_type_script_lang_js, [['render',Question_Programmingvue_type_template_id_61b5ec79_render]])
|
|
23936
23958
|
|
|
23937
23959
|
/* 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=
|
|
23960
|
+
;// 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=118d493f
|
|
23939
23961
|
|
|
23940
|
-
var
|
|
23962
|
+
var Question_Classifyvue_type_template_id_118d493f_hoisted_1 = {
|
|
23941
23963
|
class: "zykjcommon-question",
|
|
23942
23964
|
style: {
|
|
23943
23965
|
"width": "100%",
|
|
23944
23966
|
"height": "100%"
|
|
23945
23967
|
}
|
|
23946
23968
|
};
|
|
23947
|
-
var
|
|
23969
|
+
var Question_Classifyvue_type_template_id_118d493f_hoisted_2 = {
|
|
23948
23970
|
class: "box"
|
|
23949
23971
|
};
|
|
23950
|
-
var
|
|
23972
|
+
var Question_Classifyvue_type_template_id_118d493f_hoisted_3 = {
|
|
23951
23973
|
class: "main-block"
|
|
23952
23974
|
};
|
|
23953
|
-
var
|
|
23954
|
-
var
|
|
23975
|
+
var Question_Classifyvue_type_template_id_118d493f_hoisted_4 = ["src"];
|
|
23976
|
+
var Question_Classifyvue_type_template_id_118d493f_hoisted_5 = /*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", {
|
|
23955
23977
|
class: "main-content"
|
|
23956
23978
|
}, [/*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", {
|
|
23957
23979
|
class: "main-append"
|
|
23958
23980
|
})], -1);
|
|
23959
|
-
var
|
|
23981
|
+
var Question_Classifyvue_type_template_id_118d493f_hoisted_6 = /*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", {
|
|
23960
23982
|
class: "prev"
|
|
23961
23983
|
}, [/*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", {
|
|
23962
23984
|
class: "prev-main"
|
|
23963
23985
|
})], -1);
|
|
23964
|
-
var
|
|
23986
|
+
var Question_Classifyvue_type_template_id_118d493f_hoisted_7 = /*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", {
|
|
23965
23987
|
class: "next"
|
|
23966
23988
|
}, [/*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", {
|
|
23967
23989
|
class: "next-main"
|
|
23968
23990
|
})], -1);
|
|
23969
|
-
var
|
|
23991
|
+
var Question_Classifyvue_type_template_id_118d493f_hoisted_8 = {
|
|
23970
23992
|
class: "list"
|
|
23971
23993
|
};
|
|
23972
|
-
var
|
|
23973
|
-
|
|
23974
|
-
|
|
23994
|
+
var Question_Classifyvue_type_template_id_118d493f_hoisted_9 = ["idx"];
|
|
23995
|
+
var Question_Classifyvue_type_template_id_118d493f_hoisted_10 = /*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", {
|
|
23996
|
+
class: "look-big-img-btn"
|
|
23997
|
+
}, null, -1);
|
|
23998
|
+
function Question_Classifyvue_type_template_id_118d493f_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
23999
|
+
var _component_MediaLooker = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.resolveComponent)("MediaLooker");
|
|
24000
|
+
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_118d493f_hoisted_1, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", {
|
|
23975
24001
|
class: "question-classify",
|
|
23976
24002
|
style: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.normalizeStyle)($data.bigBgCss)
|
|
23977
|
-
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div",
|
|
24003
|
+
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", Question_Classifyvue_type_template_id_118d493f_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
24004
|
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("div", {
|
|
23979
24005
|
class: "box-item",
|
|
23980
24006
|
style: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.normalizeStyle)(item.bgUrlCss),
|
|
23981
24007
|
key: index
|
|
23982
|
-
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div",
|
|
24008
|
+
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", Question_Classifyvue_type_template_id_118d493f_hoisted_3, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("img", {
|
|
23983
24009
|
src: item.imgUrl,
|
|
23984
24010
|
alt: ""
|
|
23985
|
-
}, null, 8,
|
|
24011
|
+
}, null, 8, Question_Classifyvue_type_template_id_118d493f_hoisted_4)]), Question_Classifyvue_type_template_id_118d493f_hoisted_5], 4);
|
|
23986
24012
|
}), 128))]), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", {
|
|
23987
24013
|
class: "list-outter",
|
|
23988
24014
|
style: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.normalizeStyle)($data.bottomBgCss)
|
|
23989
|
-
}, [
|
|
24015
|
+
}, [Question_Classifyvue_type_template_id_118d493f_hoisted_6, Question_Classifyvue_type_template_id_118d493f_hoisted_7, (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", Question_Classifyvue_type_template_id_118d493f_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
24016
|
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("div", {
|
|
23991
24017
|
class: "list-item",
|
|
23992
24018
|
idx: item.idx,
|
|
@@ -23994,10 +24020,18 @@ function Question_Classifyvue_type_template_id_4dc421ad_render(_ctx, _cache, $pr
|
|
|
23994
24020
|
key: index
|
|
23995
24021
|
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.withDirectives)((0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", {
|
|
23996
24022
|
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,
|
|
23998
|
-
}), 128))])], 4)], 4)
|
|
24023
|
+
}, (0,external_commonjs_vue_commonjs2_vue_root_Vue_.toDisplayString)(item.content), 513), [[external_commonjs_vue_commonjs2_vue_root_Vue_.vShow, item.content_type != 2]]), Question_Classifyvue_type_template_id_118d493f_hoisted_10], 12, Question_Classifyvue_type_template_id_118d493f_hoisted_9);
|
|
24024
|
+
}), 128))])], 4)], 4), _ctx.visible ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createBlock)(_component_MediaLooker, {
|
|
24025
|
+
key: 0,
|
|
24026
|
+
visible: _ctx.visible,
|
|
24027
|
+
"onUpdate:visible": _cache[0] || (_cache[0] = function ($event) {
|
|
24028
|
+
return _ctx.visible = $event;
|
|
24029
|
+
}),
|
|
24030
|
+
mediaCount: _ctx.curMediaCount,
|
|
24031
|
+
mediaLookerList: _ctx.mediaLookerList
|
|
24032
|
+
}, null, 8, ["visible", "mediaCount", "mediaLookerList"])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)("", true)]);
|
|
23999
24033
|
}
|
|
24000
|
-
;// CONCATENATED MODULE: ./src/components/questions/Question_Classify.vue?vue&type=template&id=
|
|
24034
|
+
;// CONCATENATED MODULE: ./src/components/questions/Question_Classify.vue?vue&type=template&id=118d493f
|
|
24001
24035
|
|
|
24002
24036
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.sort.js
|
|
24003
24037
|
var es_array_sort = __webpack_require__(2707);
|
|
@@ -24064,6 +24098,13 @@ var setRemFixedHeight = function setRemFixedHeight() {
|
|
|
24064
24098
|
|
|
24065
24099
|
|
|
24066
24100
|
|
|
24101
|
+
|
|
24102
|
+
|
|
24103
|
+
|
|
24104
|
+
|
|
24105
|
+
|
|
24106
|
+
|
|
24107
|
+
|
|
24067
24108
|
var env = js_fun.getDeviceEnv();
|
|
24068
24109
|
/* harmony default export */ var Question_Classifyvue_type_script_lang_js = ({
|
|
24069
24110
|
name: 'Question_Classify',
|
|
@@ -24121,7 +24162,7 @@ var env = js_fun.getDeviceEnv();
|
|
|
24121
24162
|
// },500)
|
|
24122
24163
|
},
|
|
24123
24164
|
data: function data() {
|
|
24124
|
-
return {
|
|
24165
|
+
return _objectSpread2({
|
|
24125
24166
|
animationing: false,
|
|
24126
24167
|
analyCorrectAnswer: '',
|
|
24127
24168
|
classify_question_info: {},
|
|
@@ -24148,7 +24189,7 @@ var env = js_fun.getDeviceEnv();
|
|
|
24148
24189
|
//设置一个死的滚动距离,保证能滚到底,目前够用
|
|
24149
24190
|
lazyDragTimer: null,
|
|
24150
24191
|
dragingStart: false
|
|
24151
|
-
};
|
|
24192
|
+
}, JSON.parse(commonData));
|
|
24152
24193
|
},
|
|
24153
24194
|
watch: {
|
|
24154
24195
|
questionInfo: {
|
|
@@ -24194,9 +24235,20 @@ var env = js_fun.getDeviceEnv();
|
|
|
24194
24235
|
};
|
|
24195
24236
|
},
|
|
24196
24237
|
isAnswered: function isAnswered() {
|
|
24197
|
-
|
|
24198
|
-
|
|
24199
|
-
|
|
24238
|
+
// let len = $(this.$el).find('.list .list-item').length
|
|
24239
|
+
// let answerd = len === 0
|
|
24240
|
+
//每个选中框至少要有一个选项才是已答
|
|
24241
|
+
var arr = [];
|
|
24242
|
+
var mainAppend = $(this.$el).find('.main-append');
|
|
24243
|
+
mainAppend.each(function (index, item) {
|
|
24244
|
+
var appendItem = $(item).find('.append-item');
|
|
24245
|
+
arr.push(appendItem.length);
|
|
24246
|
+
});
|
|
24247
|
+
if (arr.length === 2) {
|
|
24248
|
+
return arr[0] && arr[1];
|
|
24249
|
+
} else {
|
|
24250
|
+
return false;
|
|
24251
|
+
}
|
|
24200
24252
|
},
|
|
24201
24253
|
isCorrect: function isCorrect() {
|
|
24202
24254
|
var correct = this.questionInfo.answerMap.is_correct === '1' ? true : false;
|
|
@@ -24290,6 +24342,21 @@ var env = js_fun.getDeviceEnv();
|
|
|
24290
24342
|
});
|
|
24291
24343
|
return specArr;
|
|
24292
24344
|
},
|
|
24345
|
+
lookBigImg: function lookBigImg(e) {
|
|
24346
|
+
var self = this;
|
|
24347
|
+
var bgStr = $(e.target).parent('.list-item').css('background-image');
|
|
24348
|
+
var bgStrReg = /url\(["'](.+)["']\)/;
|
|
24349
|
+
var matchArr = bgStr.match(bgStrReg);
|
|
24350
|
+
if (matchArr && matchArr.length > 1) {
|
|
24351
|
+
var bgUrl = matchArr[1].replace(/^\s+/ig, '').replace(/\s+$/ig, '');
|
|
24352
|
+
self.mediaLookerList = [];
|
|
24353
|
+
self.mediaLookerList.push({
|
|
24354
|
+
url: bgUrl,
|
|
24355
|
+
mediaType: 1
|
|
24356
|
+
});
|
|
24357
|
+
self.visible = true;
|
|
24358
|
+
}
|
|
24359
|
+
},
|
|
24293
24360
|
//移动端为了解决拖动事件和原生滚动条事件冲突,设置延迟100毫秒拖动(PC端不变)
|
|
24294
24361
|
bindDragDomEvent: function bindDragDomEvent(appendItem, way) {
|
|
24295
24362
|
var self = this;
|
|
@@ -24336,6 +24403,13 @@ var env = js_fun.getDeviceEnv();
|
|
|
24336
24403
|
appendItem.off(this.mousedown);
|
|
24337
24404
|
appendItem.on(this.mousedown, function (e) {
|
|
24338
24405
|
var _this2 = this;
|
|
24406
|
+
e.stopPropagation();
|
|
24407
|
+
var curClassName = e.target.className;
|
|
24408
|
+
if (curClassName.indexOf('look-big-img-btn') > -1) {
|
|
24409
|
+
self.lookBigImg(e);
|
|
24410
|
+
return;
|
|
24411
|
+
}
|
|
24412
|
+
console.log(123);
|
|
24339
24413
|
if (env === 'mobile') {
|
|
24340
24414
|
self.lazyDragTimer = setTimeout(function () {
|
|
24341
24415
|
dragDomEventFn(e, _this2);
|
|
@@ -24352,7 +24426,8 @@ var env = js_fun.getDeviceEnv();
|
|
|
24352
24426
|
var itemBgCss = "".concat(self.moveDiv.get(0).style.backgroundImage);
|
|
24353
24427
|
var itemColorCss = "".concat(self.moveDiv.get(0).style.color);
|
|
24354
24428
|
var textDisplayCss = self.moveDiv.find('.list-item-text').get(0).style.display;
|
|
24355
|
-
var
|
|
24429
|
+
var lookBigImgBtnStr = options.appendItemClassName === 'list-item' ? '<div class="look-big-img-btn"></div>' : '';
|
|
24430
|
+
var appendItem = $("<div class=\"".concat(options.appendItemClassName, "\" idx=\"").concat(idx, "\"><div class=\"list-item-text\" style=\"").concat(textDisplayCss ? 'display:' + textDisplayCss : '', "\">").concat(self.moveDiv.find('.list-item-text').text(), "</div>").concat(lookBigImgBtnStr, "</div>"));
|
|
24356
24431
|
appendItem.css({
|
|
24357
24432
|
opacity: 0,
|
|
24358
24433
|
backgroundImage: itemBgCss,
|
|
@@ -24412,6 +24487,7 @@ var env = js_fun.getDeviceEnv();
|
|
|
24412
24487
|
return;
|
|
24413
24488
|
}
|
|
24414
24489
|
// e.preventDefault()
|
|
24490
|
+
console.log(self.dragWay, 7788);
|
|
24415
24491
|
if (self.dragWay === 'go') {
|
|
24416
24492
|
$(document).off(self.mousemove);
|
|
24417
24493
|
self.listItem && self.listItem.removeClass('drag');
|
|
@@ -24548,7 +24624,9 @@ var env = js_fun.getDeviceEnv();
|
|
|
24548
24624
|
this.answeredNotify();
|
|
24549
24625
|
}
|
|
24550
24626
|
},
|
|
24551
|
-
components: {
|
|
24627
|
+
components: {
|
|
24628
|
+
MediaLooker: MediaLooker
|
|
24629
|
+
}
|
|
24552
24630
|
});
|
|
24553
24631
|
;// CONCATENATED MODULE: ./src/components/questions/Question_Classify.vue?vue&type=script&lang=js
|
|
24554
24632
|
|
|
@@ -24558,7 +24636,7 @@ var env = js_fun.getDeviceEnv();
|
|
|
24558
24636
|
|
|
24559
24637
|
|
|
24560
24638
|
;
|
|
24561
|
-
const Question_Classify_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(Question_Classifyvue_type_script_lang_js, [['render',
|
|
24639
|
+
const Question_Classify_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(Question_Classifyvue_type_script_lang_js, [['render',Question_Classifyvue_type_template_id_118d493f_render]])
|
|
24562
24640
|
|
|
24563
24641
|
/* harmony default export */ var Question_Classify = (Question_Classify_exports_);
|
|
24564
24642
|
;// CONCATENATED MODULE: ./src/components/questions/const.js
|
|
@@ -24583,8 +24661,6 @@ var questionMapper = {
|
|
|
24583
24661
|
//填空
|
|
24584
24662
|
'17': 'Question_Classify' //分类
|
|
24585
24663
|
};
|
|
24586
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.promise.js
|
|
24587
|
-
var es_promise = __webpack_require__(8674);
|
|
24588
24664
|
// EXTERNAL MODULE: ./node_modules/crypto-js/index.js
|
|
24589
24665
|
var crypto_js = __webpack_require__(1354);
|
|
24590
24666
|
// EXTERNAL MODULE: ./node_modules/axios/index.js
|