@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
|
@@ -19317,40 +19317,42 @@ function doMediaLookerSome(_this) {
|
|
|
19317
19317
|
}
|
|
19318
19318
|
;// CONCATENATED MODULE: ./src/assets/img/big-close.png
|
|
19319
19319
|
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";
|
|
19320
|
-
;// 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/MediaLooker.vue?vue&type=template&id=
|
|
19320
|
+
;// 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/MediaLooker.vue?vue&type=template&id=01ed40a7
|
|
19321
19321
|
|
|
19322
19322
|
|
|
19323
|
-
var
|
|
19323
|
+
var MediaLookervue_type_template_id_01ed40a7_hoisted_1 = {
|
|
19324
19324
|
key: 0,
|
|
19325
19325
|
class: "dialog imgLookerDialog"
|
|
19326
19326
|
};
|
|
19327
|
-
var
|
|
19327
|
+
var MediaLookervue_type_template_id_01ed40a7_hoisted_2 = /*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", {
|
|
19328
19328
|
class: "mask"
|
|
19329
19329
|
}, null, -1);
|
|
19330
|
-
var
|
|
19330
|
+
var MediaLookervue_type_template_id_01ed40a7_hoisted_3 = /*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("img", {
|
|
19331
19331
|
src: big_close_namespaceObject,
|
|
19332
19332
|
alt: ""
|
|
19333
19333
|
}, null, -1);
|
|
19334
|
-
var
|
|
19335
|
-
var
|
|
19336
|
-
function
|
|
19337
|
-
return $props.visible ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("div",
|
|
19334
|
+
var MediaLookervue_type_template_id_01ed40a7_hoisted_4 = [MediaLookervue_type_template_id_01ed40a7_hoisted_3];
|
|
19335
|
+
var MediaLookervue_type_template_id_01ed40a7_hoisted_5 = ["src"];
|
|
19336
|
+
function MediaLookervue_type_template_id_01ed40a7_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
19337
|
+
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", {
|
|
19338
19338
|
class: "close",
|
|
19339
19339
|
onClick: _cache[0] || (_cache[0] = function () {
|
|
19340
19340
|
return $options.cancel && $options.cancel.apply($options, arguments);
|
|
19341
19341
|
})
|
|
19342
|
-
},
|
|
19342
|
+
}, 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", {
|
|
19343
|
+
key: 0,
|
|
19343
19344
|
class: "prev",
|
|
19344
19345
|
onClick: _cache[1] || (_cache[1] = function () {
|
|
19345
19346
|
return $options.prev && $options.prev.apply($options, arguments);
|
|
19346
19347
|
})
|
|
19347
|
-
}), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.
|
|
19348
|
+
})) : (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", {
|
|
19349
|
+
key: 1,
|
|
19348
19350
|
class: "next",
|
|
19349
19351
|
onClick: _cache[2] || (_cache[2] = function () {
|
|
19350
19352
|
return $options.next && $options.next.apply($options, arguments);
|
|
19351
19353
|
})
|
|
19352
|
-
}), $data.curMediaObj.mediaType == 1 ? ((0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("div", {
|
|
19353
|
-
key:
|
|
19354
|
+
})) : (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", {
|
|
19355
|
+
key: 2,
|
|
19354
19356
|
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.normalizeClass)(["imgLooker", {
|
|
19355
19357
|
in: $data.enlargeStatus === 'in',
|
|
19356
19358
|
out: $data.enlargeStatus === 'out'
|
|
@@ -19365,9 +19367,9 @@ function MediaLookervue_type_template_id_ec152b5e_render(_ctx, _cache, $props, $
|
|
|
19365
19367
|
'height': $data.curMediaObj.height + 'px'
|
|
19366
19368
|
}),
|
|
19367
19369
|
alt: ""
|
|
19368
|
-
}, null, 12,
|
|
19370
|
+
}, 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);
|
|
19369
19371
|
}
|
|
19370
|
-
;// CONCATENATED MODULE: ./src/components/common/MediaLooker.vue?vue&type=template&id=
|
|
19372
|
+
;// CONCATENATED MODULE: ./src/components/common/MediaLooker.vue?vue&type=template&id=01ed40a7
|
|
19371
19373
|
|
|
19372
19374
|
;// CONCATENATED MODULE: ./node_modules/@babel/runtime/helpers/esm/arrayLikeToArray.js
|
|
19373
19375
|
function _arrayLikeToArray(arr, len) {
|
|
@@ -20422,14 +20424,9 @@ function getDeviceEnv() {
|
|
|
20422
20424
|
mediaLookerList: {
|
|
20423
20425
|
handler: function handler(nv, ov) {
|
|
20424
20426
|
if (nv && nv.length) {
|
|
20425
|
-
|
|
20426
|
-
// console.log(nv,3333);
|
|
20427
|
-
this.getCurMedia(this.mediaCount);
|
|
20428
|
-
// console.log(props.mediaCount,11113);
|
|
20429
|
-
}
|
|
20427
|
+
this.getCurMedia(this.mediaCount);
|
|
20430
20428
|
}
|
|
20431
20429
|
},
|
|
20432
|
-
|
|
20433
20430
|
immediate: true,
|
|
20434
20431
|
deep: true
|
|
20435
20432
|
}
|
|
@@ -20535,7 +20532,7 @@ var exportHelper = __webpack_require__(3744);
|
|
|
20535
20532
|
|
|
20536
20533
|
|
|
20537
20534
|
;
|
|
20538
|
-
const __exports__ = /*#__PURE__*/(0,exportHelper/* default */.Z)(MediaLookervue_type_script_lang_js, [['render',
|
|
20535
|
+
const __exports__ = /*#__PURE__*/(0,exportHelper/* default */.Z)(MediaLookervue_type_script_lang_js, [['render',MediaLookervue_type_template_id_01ed40a7_render]])
|
|
20539
20536
|
|
|
20540
20537
|
/* harmony default export */ var MediaLooker = (__exports__);
|
|
20541
20538
|
;// 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_SingleChoice.vue?vue&type=script&lang=js
|
|
@@ -20700,109 +20697,109 @@ const __exports__ = /*#__PURE__*/(0,exportHelper/* default */.Z)(MediaLookervue_
|
|
|
20700
20697
|
const Question_SingleChoice_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(Question_SingleChoicevue_type_script_lang_js, [['render',render]])
|
|
20701
20698
|
|
|
20702
20699
|
/* 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=
|
|
20700
|
+
;// 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
20701
|
|
|
20705
|
-
var
|
|
20702
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_1 = {
|
|
20706
20703
|
class: "zykjcommon-question"
|
|
20707
20704
|
};
|
|
20708
|
-
var
|
|
20705
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_2 = {
|
|
20709
20706
|
key: 0,
|
|
20710
20707
|
class: "question-type"
|
|
20711
20708
|
};
|
|
20712
|
-
var
|
|
20709
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_3 = {
|
|
20713
20710
|
key: 0,
|
|
20714
20711
|
class: "question-type-str"
|
|
20715
20712
|
};
|
|
20716
|
-
var
|
|
20713
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_4 = {
|
|
20717
20714
|
key: 0
|
|
20718
20715
|
};
|
|
20719
|
-
var
|
|
20716
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_5 = {
|
|
20720
20717
|
key: 1
|
|
20721
20718
|
};
|
|
20722
|
-
var
|
|
20719
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_6 = {
|
|
20723
20720
|
key: 2,
|
|
20724
20721
|
class: "score fr"
|
|
20725
20722
|
};
|
|
20726
|
-
var
|
|
20723
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_7 = {
|
|
20727
20724
|
class: "question-box"
|
|
20728
20725
|
};
|
|
20729
|
-
var
|
|
20730
|
-
var
|
|
20726
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_8 = ["innerHTML"];
|
|
20727
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_9 = {
|
|
20731
20728
|
key: 2,
|
|
20732
20729
|
class: "question-stem"
|
|
20733
20730
|
};
|
|
20734
|
-
var
|
|
20731
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_10 = {
|
|
20735
20732
|
key: 0
|
|
20736
20733
|
};
|
|
20737
|
-
var
|
|
20734
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_11 = {
|
|
20738
20735
|
key: 3,
|
|
20739
20736
|
class: "editor-content",
|
|
20740
20737
|
style: {
|
|
20741
20738
|
"display": "flex"
|
|
20742
20739
|
}
|
|
20743
20740
|
};
|
|
20744
|
-
var
|
|
20741
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_12 = {
|
|
20745
20742
|
key: 0
|
|
20746
20743
|
};
|
|
20747
|
-
var
|
|
20748
|
-
var
|
|
20744
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_13 = ["innerHTML"];
|
|
20745
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_14 = {
|
|
20749
20746
|
class: "question-option"
|
|
20750
20747
|
};
|
|
20751
|
-
var
|
|
20752
|
-
var
|
|
20748
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_15 = ["disabled", "id", "value"];
|
|
20749
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_16 = /*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", {
|
|
20753
20750
|
class: "checkbox-bg"
|
|
20754
20751
|
}, null, -1);
|
|
20755
|
-
var
|
|
20752
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_17 = {
|
|
20756
20753
|
class: "label-box"
|
|
20757
20754
|
};
|
|
20758
|
-
var
|
|
20759
|
-
var
|
|
20755
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_18 = ["for"];
|
|
20756
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_19 = {
|
|
20760
20757
|
key: 0
|
|
20761
20758
|
};
|
|
20762
|
-
var
|
|
20759
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_20 = {
|
|
20763
20760
|
key: 0,
|
|
20764
20761
|
class: "img-box"
|
|
20765
20762
|
};
|
|
20766
|
-
var
|
|
20767
|
-
var
|
|
20763
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_21 = ["src"];
|
|
20764
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_22 = {
|
|
20768
20765
|
key: 0,
|
|
20769
20766
|
class: "question-analysis"
|
|
20770
20767
|
};
|
|
20771
|
-
var
|
|
20768
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_23 = /*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", {
|
|
20772
20769
|
class: "triangle-top"
|
|
20773
20770
|
}, null, -1);
|
|
20774
|
-
var
|
|
20771
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_24 = {
|
|
20775
20772
|
class: "question-analysis-item"
|
|
20776
20773
|
};
|
|
20777
|
-
var
|
|
20774
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_25 = /*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("span", {
|
|
20778
20775
|
class: "txt"
|
|
20779
20776
|
}, "【你的回答】:", -1);
|
|
20780
|
-
var
|
|
20777
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_26 = {
|
|
20781
20778
|
class: "txt-box"
|
|
20782
20779
|
};
|
|
20783
|
-
var
|
|
20780
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_27 = {
|
|
20784
20781
|
class: "question-analysis-item"
|
|
20785
20782
|
};
|
|
20786
|
-
var
|
|
20783
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_28 = /*#__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_29 = {
|
|
20790
20787
|
class: "txt-box"
|
|
20791
20788
|
};
|
|
20792
|
-
var
|
|
20789
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_30 = {
|
|
20793
20790
|
key: 0,
|
|
20794
20791
|
class: "question-analysis-item"
|
|
20795
20792
|
};
|
|
20796
|
-
var
|
|
20793
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_31 = /*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("span", {
|
|
20797
20794
|
class: "txt"
|
|
20798
20795
|
}, "【本题解析】:", -1);
|
|
20799
|
-
var
|
|
20796
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_32 = {
|
|
20800
20797
|
class: "txt-box"
|
|
20801
20798
|
};
|
|
20802
|
-
var
|
|
20803
|
-
function
|
|
20799
|
+
var Question_MultipleChoicevue_type_template_id_4550d456_hoisted_33 = ["innerHTML"];
|
|
20800
|
+
function Question_MultipleChoicevue_type_template_id_4550d456_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
20804
20801
|
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",
|
|
20802
|
+
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
20803
|
key: 0,
|
|
20807
20804
|
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.normalizeClass)(["question-hint", {
|
|
20808
20805
|
'bold': !$props.showQuestionType
|
|
@@ -20811,19 +20808,19 @@ function Question_MultipleChoicevue_type_template_id_2d0f9b93_render(_ctx, _cach
|
|
|
20811
20808
|
key: 1,
|
|
20812
20809
|
class: "editor-content",
|
|
20813
20810
|
innerHTML: $props.questionInfo.htmlContent
|
|
20814
|
-
}, null, 8,
|
|
20811
|
+
}, 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
20812
|
style: {
|
|
20816
20813
|
"display": "inline-block",
|
|
20817
20814
|
"flex": "1"
|
|
20818
20815
|
},
|
|
20819
20816
|
innerHTML: $props.questionInfo.htmlContent
|
|
20820
|
-
}, null, 8,
|
|
20817
|
+
}, 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
20818
|
class: "question-option-list",
|
|
20822
20819
|
style: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.normalizeStyle)(!$props.questionInfo.htmlContent && !$props.questionInfo.hint ? {
|
|
20823
20820
|
'margin-top': 0
|
|
20824
20821
|
} : {})
|
|
20825
20822
|
}, [((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",
|
|
20823
|
+
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
20824
|
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.normalizeClass)(["checkbox-box", {
|
|
20828
20825
|
'checked': $data.checkboxList.indexOf(item.index) > -1
|
|
20829
20826
|
}])
|
|
@@ -20836,20 +20833,20 @@ function Question_MultipleChoicevue_type_template_id_2d0f9b93_render(_ctx, _cach
|
|
|
20836
20833
|
id: 'checkbox-' + $props.questionInfo.questionIndex + '-' + index,
|
|
20837
20834
|
class: "checkbox",
|
|
20838
20835
|
value: item.index
|
|
20839
|
-
}, null, 8,
|
|
20836
|
+
}, 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
20837
|
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",
|
|
20838
|
+
}, [(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
20839
|
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",
|
|
20840
|
+
}, 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)])]);
|
|
20841
|
+
}), 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
20842
|
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.normalizeClass)({
|
|
20846
20843
|
'wrong': $props.questionInfo.answerMap.is_correct !== '1',
|
|
20847
20844
|
'right': $props.questionInfo.answerMap.is_correct === '1'
|
|
20848
20845
|
})
|
|
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",
|
|
20846
|
+
}, (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
20847
|
class: "analysis-txt",
|
|
20851
20848
|
innerHTML: $props.questionInfo.analysisHtmlContent
|
|
20852
|
-
}, null, 8,
|
|
20849
|
+
}, 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
20850
|
key: 1,
|
|
20854
20851
|
visible: _ctx.visible,
|
|
20855
20852
|
"onUpdate:visible": _cache[1] || (_cache[1] = function ($event) {
|
|
@@ -20859,7 +20856,7 @@ function Question_MultipleChoicevue_type_template_id_2d0f9b93_render(_ctx, _cach
|
|
|
20859
20856
|
mediaLookerList: _ctx.mediaLookerList
|
|
20860
20857
|
}, null, 8, ["visible", "mediaCount", "mediaLookerList"])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)("", true)]);
|
|
20861
20858
|
}
|
|
20862
|
-
;// CONCATENATED MODULE: ./src/components/questions/Question_MultipleChoice.vue?vue&type=template&id=
|
|
20859
|
+
;// CONCATENATED MODULE: ./src/components/questions/Question_MultipleChoice.vue?vue&type=template&id=4550d456
|
|
20863
20860
|
|
|
20864
20861
|
;// 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
20862
|
|
|
@@ -20979,7 +20976,7 @@ function Question_MultipleChoicevue_type_template_id_2d0f9b93_render(_ctx, _cach
|
|
|
20979
20976
|
};
|
|
20980
20977
|
},
|
|
20981
20978
|
isAnswered: function isAnswered() {
|
|
20982
|
-
var answerd = this.checkboxList.length
|
|
20979
|
+
var answerd = this.checkboxList.length > 1;
|
|
20983
20980
|
return answerd;
|
|
20984
20981
|
},
|
|
20985
20982
|
isCorrect: function isCorrect() {
|
|
@@ -21006,7 +21003,7 @@ function Question_MultipleChoicevue_type_template_id_2d0f9b93_render(_ctx, _cach
|
|
|
21006
21003
|
|
|
21007
21004
|
|
|
21008
21005
|
;
|
|
21009
|
-
const Question_MultipleChoice_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(Question_MultipleChoicevue_type_script_lang_js, [['render',
|
|
21006
|
+
const Question_MultipleChoice_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(Question_MultipleChoicevue_type_script_lang_js, [['render',Question_MultipleChoicevue_type_template_id_4550d456_render]])
|
|
21010
21007
|
|
|
21011
21008
|
/* harmony default export */ var Question_MultipleChoice = (Question_MultipleChoice_exports_);
|
|
21012
21009
|
;// 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 +21820,91 @@ var filerRegs = [{
|
|
|
21823
21820
|
const Question_FillBlank_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(Question_FillBlankvue_type_script_lang_js, [['render',Question_FillBlankvue_type_template_id_62528820_render]])
|
|
21824
21821
|
|
|
21825
21822
|
/* 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=
|
|
21823
|
+
;// 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
21824
|
|
|
21828
|
-
var
|
|
21825
|
+
var Question_Programmingvue_type_template_id_61b5ec79_hoisted_1 = {
|
|
21829
21826
|
class: "zykjcommon-question"
|
|
21830
21827
|
};
|
|
21831
|
-
var
|
|
21828
|
+
var Question_Programmingvue_type_template_id_61b5ec79_hoisted_2 = {
|
|
21832
21829
|
key: 0,
|
|
21833
21830
|
class: "question-type"
|
|
21834
21831
|
};
|
|
21835
|
-
var
|
|
21832
|
+
var Question_Programmingvue_type_template_id_61b5ec79_hoisted_3 = {
|
|
21836
21833
|
key: 0,
|
|
21837
21834
|
class: "question-type-str"
|
|
21838
21835
|
};
|
|
21839
|
-
var
|
|
21836
|
+
var Question_Programmingvue_type_template_id_61b5ec79_hoisted_4 = {
|
|
21840
21837
|
key: 0
|
|
21841
21838
|
};
|
|
21842
|
-
var
|
|
21839
|
+
var Question_Programmingvue_type_template_id_61b5ec79_hoisted_5 = {
|
|
21843
21840
|
key: 1
|
|
21844
21841
|
};
|
|
21845
|
-
var
|
|
21842
|
+
var Question_Programmingvue_type_template_id_61b5ec79_hoisted_6 = {
|
|
21846
21843
|
key: 2,
|
|
21847
21844
|
class: "score fr"
|
|
21848
21845
|
};
|
|
21849
|
-
var
|
|
21846
|
+
var Question_Programmingvue_type_template_id_61b5ec79_hoisted_7 = {
|
|
21850
21847
|
class: "question-box"
|
|
21851
21848
|
};
|
|
21852
|
-
var
|
|
21853
|
-
var
|
|
21849
|
+
var Question_Programmingvue_type_template_id_61b5ec79_hoisted_8 = ["innerHTML"];
|
|
21850
|
+
var Question_Programmingvue_type_template_id_61b5ec79_hoisted_9 = {
|
|
21854
21851
|
key: 2,
|
|
21855
21852
|
class: "question-analysis"
|
|
21856
21853
|
};
|
|
21857
|
-
var
|
|
21854
|
+
var Question_Programmingvue_type_template_id_61b5ec79_hoisted_10 = /*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", {
|
|
21858
21855
|
class: "triangle-top"
|
|
21859
21856
|
}, null, -1);
|
|
21860
|
-
var
|
|
21857
|
+
var Question_Programmingvue_type_template_id_61b5ec79_hoisted_11 = {
|
|
21861
21858
|
class: "question-analysis-item"
|
|
21862
21859
|
};
|
|
21863
|
-
var
|
|
21860
|
+
var Question_Programmingvue_type_template_id_61b5ec79_hoisted_12 = /*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("span", {
|
|
21864
21861
|
class: "txt"
|
|
21865
21862
|
}, "【你的答案】:", -1);
|
|
21866
|
-
var
|
|
21867
|
-
var
|
|
21863
|
+
var Question_Programmingvue_type_template_id_61b5ec79_hoisted_13 = ["src"];
|
|
21864
|
+
var Question_Programmingvue_type_template_id_61b5ec79_hoisted_14 = /*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", {
|
|
21868
21865
|
class: "mask-text-box"
|
|
21869
21866
|
}, [/*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", {
|
|
21870
21867
|
class: "mask"
|
|
21871
21868
|
}), /*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", {
|
|
21872
21869
|
class: "mask-text"
|
|
21873
21870
|
}, "去修改")], -1);
|
|
21874
|
-
var
|
|
21871
|
+
var Question_Programmingvue_type_template_id_61b5ec79_hoisted_15 = {
|
|
21875
21872
|
key: 3,
|
|
21876
21873
|
class: "question-analysis"
|
|
21877
21874
|
};
|
|
21878
|
-
var
|
|
21875
|
+
var Question_Programmingvue_type_template_id_61b5ec79_hoisted_16 = /*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", {
|
|
21879
21876
|
class: "triangle-top"
|
|
21880
21877
|
}, null, -1);
|
|
21881
|
-
var
|
|
21878
|
+
var Question_Programmingvue_type_template_id_61b5ec79_hoisted_17 = {
|
|
21882
21879
|
class: "question-analysis-item"
|
|
21883
21880
|
};
|
|
21884
|
-
var
|
|
21881
|
+
var Question_Programmingvue_type_template_id_61b5ec79_hoisted_18 = /*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("span", {
|
|
21885
21882
|
class: "txt"
|
|
21886
21883
|
}, "【你的答案】:", -1);
|
|
21887
|
-
var
|
|
21888
|
-
var
|
|
21884
|
+
var Question_Programmingvue_type_template_id_61b5ec79_hoisted_19 = ["src"];
|
|
21885
|
+
var Question_Programmingvue_type_template_id_61b5ec79_hoisted_20 = {
|
|
21889
21886
|
class: "question-analysis-item"
|
|
21890
21887
|
};
|
|
21891
|
-
var
|
|
21888
|
+
var Question_Programmingvue_type_template_id_61b5ec79_hoisted_21 = /*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("span", {
|
|
21892
21889
|
class: "txt"
|
|
21893
21890
|
}, "【正确答案】:", -1);
|
|
21894
|
-
var
|
|
21895
|
-
var
|
|
21891
|
+
var Question_Programmingvue_type_template_id_61b5ec79_hoisted_22 = ["src"];
|
|
21892
|
+
var Question_Programmingvue_type_template_id_61b5ec79_hoisted_23 = {
|
|
21896
21893
|
key: 0,
|
|
21897
21894
|
class: "question-analysis-item"
|
|
21898
21895
|
};
|
|
21899
|
-
var
|
|
21896
|
+
var Question_Programmingvue_type_template_id_61b5ec79_hoisted_24 = /*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("span", {
|
|
21900
21897
|
class: "txt"
|
|
21901
21898
|
}, "【本题解析】:", -1);
|
|
21902
|
-
var
|
|
21899
|
+
var Question_Programmingvue_type_template_id_61b5ec79_hoisted_25 = {
|
|
21903
21900
|
class: "txt-box"
|
|
21904
21901
|
};
|
|
21905
|
-
var
|
|
21906
|
-
function
|
|
21902
|
+
var Question_Programmingvue_type_template_id_61b5ec79_hoisted_26 = ["innerHTML"];
|
|
21903
|
+
function Question_Programmingvue_type_template_id_61b5ec79_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
21907
21904
|
var _component_MediaLooker = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.resolveComponent)("MediaLooker");
|
|
21908
21905
|
var _component_IframeComponent = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.resolveComponent)("IframeComponent");
|
|
21909
21906
|
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",
|
|
21907
|
+
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
21908
|
key: 0,
|
|
21912
21909
|
class: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.normalizeClass)(["question-hint", {
|
|
21913
21910
|
'bold': !$props.showQuestionType
|
|
@@ -21915,37 +21912,37 @@ function Question_Programmingvue_type_template_id_96da3bbc_render(_ctx, _cache,
|
|
|
21915
21912
|
}, (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
21913
|
class: "editor-content",
|
|
21917
21914
|
innerHTML: $props.questionInfo.htmlContent
|
|
21918
|
-
}, null, 8,
|
|
21915
|
+
}, 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
21916
|
key: 1,
|
|
21920
21917
|
class: "bcdt-btn",
|
|
21921
21918
|
onClick: _cache[0] || (_cache[0] = function ($event) {
|
|
21922
21919
|
return $options.startCode('1');
|
|
21923
21920
|
})
|
|
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",
|
|
21921
|
+
}, "进入" + (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
21922
|
class: "img-box",
|
|
21926
21923
|
onClick: _cache[1] || (_cache[1] = function ($event) {
|
|
21927
21924
|
return $options.startCode('2');
|
|
21928
21925
|
})
|
|
21929
21926
|
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("img", {
|
|
21930
21927
|
src: $data.codeTypeImgMap[$props.questionInfo.code_type]
|
|
21931
|
-
}, null, 8,
|
|
21928
|
+
}, 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
21929
|
class: "img-box",
|
|
21933
21930
|
onClick: _cache[2] || (_cache[2] = function ($event) {
|
|
21934
21931
|
return $options.startCode('3');
|
|
21935
21932
|
})
|
|
21936
21933
|
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("img", {
|
|
21937
21934
|
src: $data.codeTypeImgMap[$props.questionInfo.code_type]
|
|
21938
|
-
}, null, 8,
|
|
21935
|
+
}, 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
21936
|
class: "img-box",
|
|
21940
21937
|
onClick: _cache[3] || (_cache[3] = function ($event) {
|
|
21941
21938
|
return $options.startCode('4');
|
|
21942
21939
|
})
|
|
21943
21940
|
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("img", {
|
|
21944
21941
|
src: $data.codeTypeImgMap[$props.questionInfo.code_type]
|
|
21945
|
-
}, null, 8,
|
|
21942
|
+
}, 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
21943
|
class: "analysis-txt",
|
|
21947
21944
|
innerHTML: $props.questionInfo.analysisHtmlContent
|
|
21948
|
-
}, null, 8,
|
|
21945
|
+
}, 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
21946
|
key: 1,
|
|
21950
21947
|
visible: _ctx.visible,
|
|
21951
21948
|
"onUpdate:visible": _cache[4] || (_cache[4] = function ($event) {
|
|
@@ -21961,13 +21958,16 @@ function Question_Programmingvue_type_template_id_96da3bbc_render(_ctx, _cache,
|
|
|
21961
21958
|
onCloseAndSave: $options.closeAndSave,
|
|
21962
21959
|
onSaveCodeOnly: $options.saveCodeOnly,
|
|
21963
21960
|
onIframeLoaded: $options.iframeLoaded,
|
|
21964
|
-
onGetQuestionInfo: $options.getQuestionInfo
|
|
21965
|
-
|
|
21961
|
+
onGetQuestionInfo: $options.getQuestionInfo,
|
|
21962
|
+
onMenuBarloaded: $options.menuBarloaded
|
|
21963
|
+
}, 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
21964
|
loading: $data.loading
|
|
21967
21965
|
}, null, 8, ["loading"])]);
|
|
21968
21966
|
}
|
|
21969
|
-
;// CONCATENATED MODULE: ./src/components/questions/Question_Programming.vue?vue&type=template&id=
|
|
21967
|
+
;// CONCATENATED MODULE: ./src/components/questions/Question_Programming.vue?vue&type=template&id=61b5ec79
|
|
21970
21968
|
|
|
21969
|
+
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.promise.js
|
|
21970
|
+
var es_promise = __webpack_require__(8674);
|
|
21971
21971
|
;// 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
21972
|
|
|
21973
21973
|
var IframeComponentvue_type_template_id_0d05d84e_hoisted_1 = {
|
|
@@ -23690,6 +23690,8 @@ var index = {
|
|
|
23690
23690
|
|
|
23691
23691
|
|
|
23692
23692
|
|
|
23693
|
+
|
|
23694
|
+
|
|
23693
23695
|
/* harmony default export */ var Question_Programmingvue_type_script_lang_js = ({
|
|
23694
23696
|
name: 'Question_Programming',
|
|
23695
23697
|
props: {
|
|
@@ -23762,6 +23764,7 @@ var index = {
|
|
|
23762
23764
|
},
|
|
23763
23765
|
data: function data() {
|
|
23764
23766
|
return _objectSpread2({
|
|
23767
|
+
findIframeTimer: null,
|
|
23765
23768
|
iframe: null,
|
|
23766
23769
|
showFrame: false,
|
|
23767
23770
|
analyCorrectAnswer: '',
|
|
@@ -23804,6 +23807,25 @@ var index = {
|
|
|
23804
23807
|
},
|
|
23805
23808
|
computed: _objectSpread2({}, mapState('zykjcommonQuestions', ['pythonCodeWebPath', 'scratchCodeWebPath', 'cplusCodeWebPath'])),
|
|
23806
23809
|
methods: _objectSpread2(_objectSpread2({}, mapActions('zykjcommonQuestions', ['getEditorUrlActions'])), {}, {
|
|
23810
|
+
menuBarloaded: function menuBarloaded() {
|
|
23811
|
+
this.$emit('menuBarloaded');
|
|
23812
|
+
},
|
|
23813
|
+
getIframeContentWindow: function getIframeContentWindow() {
|
|
23814
|
+
var _this2 = this;
|
|
23815
|
+
return new Promise(function (resolve, reject) {
|
|
23816
|
+
if (_this2.iframe) {
|
|
23817
|
+
resolve(_this2.iframe.contentWindow);
|
|
23818
|
+
} else {
|
|
23819
|
+
_this2.findIframeTimer = setInterval(function () {
|
|
23820
|
+
if (_this2.iframe) {
|
|
23821
|
+
_this2.findIframeTimer && clearInterval(_this2.findIframeTimer);
|
|
23822
|
+
_this2.findIframeTimer = null;
|
|
23823
|
+
resolve(_this2.iframe.contentWindow);
|
|
23824
|
+
}
|
|
23825
|
+
}, 200);
|
|
23826
|
+
}
|
|
23827
|
+
});
|
|
23828
|
+
},
|
|
23807
23829
|
getAnswer: function getAnswer() {
|
|
23808
23830
|
return {
|
|
23809
23831
|
code_file_oss_temp_path: this.code_file_oss_temp_path,
|
|
@@ -23820,16 +23842,16 @@ var index = {
|
|
|
23820
23842
|
return correct;
|
|
23821
23843
|
},
|
|
23822
23844
|
getCodeWebPath: function getCodeWebPath(cb) {
|
|
23823
|
-
var
|
|
23845
|
+
var _this3 = this;
|
|
23824
23846
|
if (this.pythonCodeWebPath || this.scratchCodeWebPath || this.cplusCodeWebPath) {
|
|
23825
23847
|
cb && cb();
|
|
23826
23848
|
} else {
|
|
23827
23849
|
this.loading = true;
|
|
23828
23850
|
this.getEditorUrlActions().then(function () {
|
|
23829
|
-
|
|
23851
|
+
_this3.loading = false;
|
|
23830
23852
|
cb && cb();
|
|
23831
23853
|
}, function () {
|
|
23832
|
-
|
|
23854
|
+
_this3.loading = false;
|
|
23833
23855
|
});
|
|
23834
23856
|
}
|
|
23835
23857
|
},
|
|
@@ -23942,61 +23964,65 @@ var index = {
|
|
|
23942
23964
|
|
|
23943
23965
|
|
|
23944
23966
|
;
|
|
23945
|
-
const Question_Programming_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(Question_Programmingvue_type_script_lang_js, [['render',
|
|
23967
|
+
const Question_Programming_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(Question_Programmingvue_type_script_lang_js, [['render',Question_Programmingvue_type_template_id_61b5ec79_render]])
|
|
23946
23968
|
|
|
23947
23969
|
/* 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=
|
|
23970
|
+
;// 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=118d493f
|
|
23949
23971
|
|
|
23950
|
-
var
|
|
23972
|
+
var Question_Classifyvue_type_template_id_118d493f_hoisted_1 = {
|
|
23951
23973
|
class: "zykjcommon-question",
|
|
23952
23974
|
style: {
|
|
23953
23975
|
"width": "100%",
|
|
23954
23976
|
"height": "100%"
|
|
23955
23977
|
}
|
|
23956
23978
|
};
|
|
23957
|
-
var
|
|
23979
|
+
var Question_Classifyvue_type_template_id_118d493f_hoisted_2 = {
|
|
23958
23980
|
class: "box"
|
|
23959
23981
|
};
|
|
23960
|
-
var
|
|
23982
|
+
var Question_Classifyvue_type_template_id_118d493f_hoisted_3 = {
|
|
23961
23983
|
class: "main-block"
|
|
23962
23984
|
};
|
|
23963
|
-
var
|
|
23964
|
-
var
|
|
23985
|
+
var Question_Classifyvue_type_template_id_118d493f_hoisted_4 = ["src"];
|
|
23986
|
+
var Question_Classifyvue_type_template_id_118d493f_hoisted_5 = /*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", {
|
|
23965
23987
|
class: "main-content"
|
|
23966
23988
|
}, [/*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", {
|
|
23967
23989
|
class: "main-append"
|
|
23968
23990
|
})], -1);
|
|
23969
|
-
var
|
|
23991
|
+
var Question_Classifyvue_type_template_id_118d493f_hoisted_6 = /*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", {
|
|
23970
23992
|
class: "prev"
|
|
23971
23993
|
}, [/*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", {
|
|
23972
23994
|
class: "prev-main"
|
|
23973
23995
|
})], -1);
|
|
23974
|
-
var
|
|
23996
|
+
var Question_Classifyvue_type_template_id_118d493f_hoisted_7 = /*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", {
|
|
23975
23997
|
class: "next"
|
|
23976
23998
|
}, [/*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", {
|
|
23977
23999
|
class: "next-main"
|
|
23978
24000
|
})], -1);
|
|
23979
|
-
var
|
|
24001
|
+
var Question_Classifyvue_type_template_id_118d493f_hoisted_8 = {
|
|
23980
24002
|
class: "list"
|
|
23981
24003
|
};
|
|
23982
|
-
var
|
|
23983
|
-
|
|
23984
|
-
|
|
24004
|
+
var Question_Classifyvue_type_template_id_118d493f_hoisted_9 = ["idx"];
|
|
24005
|
+
var Question_Classifyvue_type_template_id_118d493f_hoisted_10 = /*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", {
|
|
24006
|
+
class: "look-big-img-btn"
|
|
24007
|
+
}, null, -1);
|
|
24008
|
+
function Question_Classifyvue_type_template_id_118d493f_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
24009
|
+
var _component_MediaLooker = (0,external_commonjs_vue_commonjs2_vue_root_Vue_.resolveComponent)("MediaLooker");
|
|
24010
|
+
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", {
|
|
23985
24011
|
class: "question-classify",
|
|
23986
24012
|
style: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.normalizeStyle)($data.bigBgCss)
|
|
23987
|
-
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div",
|
|
24013
|
+
}, [(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) {
|
|
23988
24014
|
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("div", {
|
|
23989
24015
|
class: "box-item",
|
|
23990
24016
|
style: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.normalizeStyle)(item.bgUrlCss),
|
|
23991
24017
|
key: index
|
|
23992
|
-
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div",
|
|
24018
|
+
}, [(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", {
|
|
23993
24019
|
src: item.imgUrl,
|
|
23994
24020
|
alt: ""
|
|
23995
|
-
}, null, 8,
|
|
24021
|
+
}, null, 8, Question_Classifyvue_type_template_id_118d493f_hoisted_4)]), Question_Classifyvue_type_template_id_118d493f_hoisted_5], 4);
|
|
23996
24022
|
}), 128))]), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", {
|
|
23997
24023
|
class: "list-outter",
|
|
23998
24024
|
style: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.normalizeStyle)($data.bottomBgCss)
|
|
23999
|
-
}, [
|
|
24025
|
+
}, [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) {
|
|
24000
24026
|
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("div", {
|
|
24001
24027
|
class: "list-item",
|
|
24002
24028
|
idx: item.idx,
|
|
@@ -24004,10 +24030,18 @@ function Question_Classifyvue_type_template_id_4dc421ad_render(_ctx, _cache, $pr
|
|
|
24004
24030
|
key: index
|
|
24005
24031
|
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.withDirectives)((0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", {
|
|
24006
24032
|
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,
|
|
24008
|
-
}), 128))])], 4)], 4)
|
|
24033
|
+
}, (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);
|
|
24034
|
+
}), 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, {
|
|
24035
|
+
key: 0,
|
|
24036
|
+
visible: _ctx.visible,
|
|
24037
|
+
"onUpdate:visible": _cache[0] || (_cache[0] = function ($event) {
|
|
24038
|
+
return _ctx.visible = $event;
|
|
24039
|
+
}),
|
|
24040
|
+
mediaCount: _ctx.curMediaCount,
|
|
24041
|
+
mediaLookerList: _ctx.mediaLookerList
|
|
24042
|
+
}, null, 8, ["visible", "mediaCount", "mediaLookerList"])) : (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createCommentVNode)("", true)]);
|
|
24009
24043
|
}
|
|
24010
|
-
;// CONCATENATED MODULE: ./src/components/questions/Question_Classify.vue?vue&type=template&id=
|
|
24044
|
+
;// CONCATENATED MODULE: ./src/components/questions/Question_Classify.vue?vue&type=template&id=118d493f
|
|
24011
24045
|
|
|
24012
24046
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.sort.js
|
|
24013
24047
|
var es_array_sort = __webpack_require__(2707);
|
|
@@ -24074,6 +24108,13 @@ var setRemFixedHeight = function setRemFixedHeight() {
|
|
|
24074
24108
|
|
|
24075
24109
|
|
|
24076
24110
|
|
|
24111
|
+
|
|
24112
|
+
|
|
24113
|
+
|
|
24114
|
+
|
|
24115
|
+
|
|
24116
|
+
|
|
24117
|
+
|
|
24077
24118
|
var env = js_fun.getDeviceEnv();
|
|
24078
24119
|
/* harmony default export */ var Question_Classifyvue_type_script_lang_js = ({
|
|
24079
24120
|
name: 'Question_Classify',
|
|
@@ -24131,7 +24172,7 @@ var env = js_fun.getDeviceEnv();
|
|
|
24131
24172
|
// },500)
|
|
24132
24173
|
},
|
|
24133
24174
|
data: function data() {
|
|
24134
|
-
return {
|
|
24175
|
+
return _objectSpread2({
|
|
24135
24176
|
animationing: false,
|
|
24136
24177
|
analyCorrectAnswer: '',
|
|
24137
24178
|
classify_question_info: {},
|
|
@@ -24158,7 +24199,7 @@ var env = js_fun.getDeviceEnv();
|
|
|
24158
24199
|
//设置一个死的滚动距离,保证能滚到底,目前够用
|
|
24159
24200
|
lazyDragTimer: null,
|
|
24160
24201
|
dragingStart: false
|
|
24161
|
-
};
|
|
24202
|
+
}, JSON.parse(commonData));
|
|
24162
24203
|
},
|
|
24163
24204
|
watch: {
|
|
24164
24205
|
questionInfo: {
|
|
@@ -24204,9 +24245,20 @@ var env = js_fun.getDeviceEnv();
|
|
|
24204
24245
|
};
|
|
24205
24246
|
},
|
|
24206
24247
|
isAnswered: function isAnswered() {
|
|
24207
|
-
|
|
24208
|
-
|
|
24209
|
-
|
|
24248
|
+
// let len = $(this.$el).find('.list .list-item').length
|
|
24249
|
+
// let answerd = len === 0
|
|
24250
|
+
//每个选中框至少要有一个选项才是已答
|
|
24251
|
+
var arr = [];
|
|
24252
|
+
var mainAppend = $(this.$el).find('.main-append');
|
|
24253
|
+
mainAppend.each(function (index, item) {
|
|
24254
|
+
var appendItem = $(item).find('.append-item');
|
|
24255
|
+
arr.push(appendItem.length);
|
|
24256
|
+
});
|
|
24257
|
+
if (arr.length === 2) {
|
|
24258
|
+
return arr[0] && arr[1];
|
|
24259
|
+
} else {
|
|
24260
|
+
return false;
|
|
24261
|
+
}
|
|
24210
24262
|
},
|
|
24211
24263
|
isCorrect: function isCorrect() {
|
|
24212
24264
|
var correct = this.questionInfo.answerMap.is_correct === '1' ? true : false;
|
|
@@ -24300,6 +24352,21 @@ var env = js_fun.getDeviceEnv();
|
|
|
24300
24352
|
});
|
|
24301
24353
|
return specArr;
|
|
24302
24354
|
},
|
|
24355
|
+
lookBigImg: function lookBigImg(e) {
|
|
24356
|
+
var self = this;
|
|
24357
|
+
var bgStr = $(e.target).parent('.list-item').css('background-image');
|
|
24358
|
+
var bgStrReg = /url\(["'](.+)["']\)/;
|
|
24359
|
+
var matchArr = bgStr.match(bgStrReg);
|
|
24360
|
+
if (matchArr && matchArr.length > 1) {
|
|
24361
|
+
var bgUrl = matchArr[1].replace(/^\s+/ig, '').replace(/\s+$/ig, '');
|
|
24362
|
+
self.mediaLookerList = [];
|
|
24363
|
+
self.mediaLookerList.push({
|
|
24364
|
+
url: bgUrl,
|
|
24365
|
+
mediaType: 1
|
|
24366
|
+
});
|
|
24367
|
+
self.visible = true;
|
|
24368
|
+
}
|
|
24369
|
+
},
|
|
24303
24370
|
//移动端为了解决拖动事件和原生滚动条事件冲突,设置延迟100毫秒拖动(PC端不变)
|
|
24304
24371
|
bindDragDomEvent: function bindDragDomEvent(appendItem, way) {
|
|
24305
24372
|
var self = this;
|
|
@@ -24346,6 +24413,13 @@ var env = js_fun.getDeviceEnv();
|
|
|
24346
24413
|
appendItem.off(this.mousedown);
|
|
24347
24414
|
appendItem.on(this.mousedown, function (e) {
|
|
24348
24415
|
var _this2 = this;
|
|
24416
|
+
e.stopPropagation();
|
|
24417
|
+
var curClassName = e.target.className;
|
|
24418
|
+
if (curClassName.indexOf('look-big-img-btn') > -1) {
|
|
24419
|
+
self.lookBigImg(e);
|
|
24420
|
+
return;
|
|
24421
|
+
}
|
|
24422
|
+
console.log(123);
|
|
24349
24423
|
if (env === 'mobile') {
|
|
24350
24424
|
self.lazyDragTimer = setTimeout(function () {
|
|
24351
24425
|
dragDomEventFn(e, _this2);
|
|
@@ -24362,7 +24436,8 @@ var env = js_fun.getDeviceEnv();
|
|
|
24362
24436
|
var itemBgCss = "".concat(self.moveDiv.get(0).style.backgroundImage);
|
|
24363
24437
|
var itemColorCss = "".concat(self.moveDiv.get(0).style.color);
|
|
24364
24438
|
var textDisplayCss = self.moveDiv.find('.list-item-text').get(0).style.display;
|
|
24365
|
-
var
|
|
24439
|
+
var lookBigImgBtnStr = options.appendItemClassName === 'list-item' ? '<div class="look-big-img-btn"></div>' : '';
|
|
24440
|
+
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>"));
|
|
24366
24441
|
appendItem.css({
|
|
24367
24442
|
opacity: 0,
|
|
24368
24443
|
backgroundImage: itemBgCss,
|
|
@@ -24422,6 +24497,7 @@ var env = js_fun.getDeviceEnv();
|
|
|
24422
24497
|
return;
|
|
24423
24498
|
}
|
|
24424
24499
|
// e.preventDefault()
|
|
24500
|
+
console.log(self.dragWay, 7788);
|
|
24425
24501
|
if (self.dragWay === 'go') {
|
|
24426
24502
|
$(document).off(self.mousemove);
|
|
24427
24503
|
self.listItem && self.listItem.removeClass('drag');
|
|
@@ -24558,7 +24634,9 @@ var env = js_fun.getDeviceEnv();
|
|
|
24558
24634
|
this.answeredNotify();
|
|
24559
24635
|
}
|
|
24560
24636
|
},
|
|
24561
|
-
components: {
|
|
24637
|
+
components: {
|
|
24638
|
+
MediaLooker: MediaLooker
|
|
24639
|
+
}
|
|
24562
24640
|
});
|
|
24563
24641
|
;// CONCATENATED MODULE: ./src/components/questions/Question_Classify.vue?vue&type=script&lang=js
|
|
24564
24642
|
|
|
@@ -24568,7 +24646,7 @@ var env = js_fun.getDeviceEnv();
|
|
|
24568
24646
|
|
|
24569
24647
|
|
|
24570
24648
|
;
|
|
24571
|
-
const Question_Classify_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(Question_Classifyvue_type_script_lang_js, [['render',
|
|
24649
|
+
const Question_Classify_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(Question_Classifyvue_type_script_lang_js, [['render',Question_Classifyvue_type_template_id_118d493f_render]])
|
|
24572
24650
|
|
|
24573
24651
|
/* harmony default export */ var Question_Classify = (Question_Classify_exports_);
|
|
24574
24652
|
;// CONCATENATED MODULE: ./src/components/questions/const.js
|
|
@@ -24593,8 +24671,6 @@ var questionMapper = {
|
|
|
24593
24671
|
//填空
|
|
24594
24672
|
'17': 'Question_Classify' //分类
|
|
24595
24673
|
};
|
|
24596
|
-
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.promise.js
|
|
24597
|
-
var es_promise = __webpack_require__(8674);
|
|
24598
24674
|
// EXTERNAL MODULE: ./node_modules/crypto-js/index.js
|
|
24599
24675
|
var crypto_js = __webpack_require__(1354);
|
|
24600
24676
|
// EXTERNAL MODULE: ./node_modules/axios/index.js
|