@zykjcommon/questions 0.0.34 → 0.0.35
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.
|
@@ -23814,70 +23814,70 @@ var index = {
|
|
|
23814
23814
|
const Question_Programming_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(Question_Programmingvue_type_script_lang_js, [['render',Question_Programmingvue_type_template_id_411b6dae_render]])
|
|
23815
23815
|
|
|
23816
23816
|
/* harmony default export */ var Question_Programming = (Question_Programming_exports_);
|
|
23817
|
-
;// 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=
|
|
23817
|
+
;// 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=00c7419b
|
|
23818
23818
|
|
|
23819
|
-
var
|
|
23819
|
+
var Question_Classifyvue_type_template_id_00c7419b_hoisted_1 = {
|
|
23820
23820
|
class: "zykjcommon-question",
|
|
23821
23821
|
style: {
|
|
23822
23822
|
"width": "100%",
|
|
23823
23823
|
"height": "100%"
|
|
23824
23824
|
}
|
|
23825
23825
|
};
|
|
23826
|
-
var
|
|
23826
|
+
var Question_Classifyvue_type_template_id_00c7419b_hoisted_2 = {
|
|
23827
23827
|
class: "box"
|
|
23828
23828
|
};
|
|
23829
|
-
var
|
|
23829
|
+
var Question_Classifyvue_type_template_id_00c7419b_hoisted_3 = {
|
|
23830
23830
|
class: "main-block"
|
|
23831
23831
|
};
|
|
23832
|
-
var
|
|
23833
|
-
var
|
|
23832
|
+
var Question_Classifyvue_type_template_id_00c7419b_hoisted_4 = ["src"];
|
|
23833
|
+
var Question_Classifyvue_type_template_id_00c7419b_hoisted_5 = /*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", {
|
|
23834
23834
|
class: "main-content"
|
|
23835
23835
|
}, [/*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", {
|
|
23836
23836
|
class: "main-append"
|
|
23837
23837
|
})], -1);
|
|
23838
|
-
var
|
|
23838
|
+
var Question_Classifyvue_type_template_id_00c7419b_hoisted_6 = /*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", {
|
|
23839
23839
|
class: "prev"
|
|
23840
23840
|
}, [/*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", {
|
|
23841
23841
|
class: "prev-main"
|
|
23842
23842
|
})], -1);
|
|
23843
|
-
var
|
|
23843
|
+
var Question_Classifyvue_type_template_id_00c7419b_hoisted_7 = /*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", {
|
|
23844
23844
|
class: "next"
|
|
23845
23845
|
}, [/*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", {
|
|
23846
23846
|
class: "next-main"
|
|
23847
23847
|
})], -1);
|
|
23848
|
-
var
|
|
23848
|
+
var Question_Classifyvue_type_template_id_00c7419b_hoisted_8 = {
|
|
23849
23849
|
class: "list"
|
|
23850
23850
|
};
|
|
23851
|
-
var
|
|
23852
|
-
var
|
|
23851
|
+
var Question_Classifyvue_type_template_id_00c7419b_hoisted_9 = ["idx"];
|
|
23852
|
+
var Question_Classifyvue_type_template_id_00c7419b_hoisted_10 = {
|
|
23853
23853
|
class: "list-item-text"
|
|
23854
23854
|
};
|
|
23855
|
-
function
|
|
23856
|
-
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("div",
|
|
23855
|
+
function Question_Classifyvue_type_template_id_00c7419b_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
23856
|
+
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_00c7419b_hoisted_1, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", {
|
|
23857
23857
|
class: "question-classify",
|
|
23858
23858
|
style: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.normalizeStyle)($data.bigBgCss)
|
|
23859
|
-
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div",
|
|
23859
|
+
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", Question_Classifyvue_type_template_id_00c7419b_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) {
|
|
23860
23860
|
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("div", {
|
|
23861
23861
|
class: "box-item",
|
|
23862
23862
|
style: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.normalizeStyle)(item.bgUrlCss),
|
|
23863
23863
|
key: index
|
|
23864
|
-
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div",
|
|
23864
|
+
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", Question_Classifyvue_type_template_id_00c7419b_hoisted_3, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("img", {
|
|
23865
23865
|
src: item.imgUrl,
|
|
23866
23866
|
alt: ""
|
|
23867
|
-
}, null, 8,
|
|
23867
|
+
}, null, 8, Question_Classifyvue_type_template_id_00c7419b_hoisted_4)]), Question_Classifyvue_type_template_id_00c7419b_hoisted_5], 4);
|
|
23868
23868
|
}), 128))]), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", {
|
|
23869
23869
|
class: "list-outter",
|
|
23870
23870
|
style: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.normalizeStyle)($data.bottomBgCss)
|
|
23871
|
-
}, [
|
|
23871
|
+
}, [Question_Classifyvue_type_template_id_00c7419b_hoisted_6, Question_Classifyvue_type_template_id_00c7419b_hoisted_7, (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", Question_Classifyvue_type_template_id_00c7419b_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) {
|
|
23872
23872
|
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("div", {
|
|
23873
23873
|
class: "list-item",
|
|
23874
23874
|
idx: item.idx,
|
|
23875
23875
|
style: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.normalizeStyle)(item.bgUrlCss),
|
|
23876
23876
|
key: index
|
|
23877
|
-
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div",
|
|
23877
|
+
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", Question_Classifyvue_type_template_id_00c7419b_hoisted_10, (0,external_commonjs_vue_commonjs2_vue_root_Vue_.toDisplayString)(item.content), 1)], 12, Question_Classifyvue_type_template_id_00c7419b_hoisted_9);
|
|
23878
23878
|
}), 128))])], 4)], 4)]);
|
|
23879
23879
|
}
|
|
23880
|
-
;// CONCATENATED MODULE: ./src/components/questions/Question_Classify.vue?vue&type=template&id=
|
|
23880
|
+
;// CONCATENATED MODULE: ./src/components/questions/Question_Classify.vue?vue&type=template&id=00c7419b
|
|
23881
23881
|
|
|
23882
23882
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.sort.js
|
|
23883
23883
|
var es_array_sort = __webpack_require__(2707);
|
|
@@ -23887,6 +23887,53 @@ var es_promise = __webpack_require__(8674);
|
|
|
23887
23887
|
var es_array_find_index = __webpack_require__(4553);
|
|
23888
23888
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.splice.js
|
|
23889
23889
|
var es_array_splice = __webpack_require__(561);
|
|
23890
|
+
;// CONCATENATED MODULE: ./src/assets/js/rem.js
|
|
23891
|
+
/**
|
|
23892
|
+
* Created by Allen Liu on 2022/3/31.
|
|
23893
|
+
*/
|
|
23894
|
+
|
|
23895
|
+
var setRem = function setRem() {
|
|
23896
|
+
//动态设置html的font-size ----start
|
|
23897
|
+
var designWidth = 1440;
|
|
23898
|
+
var baseNum = 100;
|
|
23899
|
+
function setRootFontSize() {
|
|
23900
|
+
var winWidth = document.documentElement.clientWidth || document.body.clientWidth;
|
|
23901
|
+
var winHeight = document.documentElement.clientHeight || document.body.clientHeight;
|
|
23902
|
+
var html = document.getElementsByTagName('html')[0];
|
|
23903
|
+
/*if(winWidth>=1000){
|
|
23904
|
+
winWidth = 1000
|
|
23905
|
+
}*/
|
|
23906
|
+
var frameBili = 4 / 3;
|
|
23907
|
+
var b = frameBili / (winWidth / winHeight);
|
|
23908
|
+
// let realW = parseInt(winWidth * b)
|
|
23909
|
+
var realW = winWidth - 50;
|
|
23910
|
+
// console.log(realW,3333333333333);
|
|
23911
|
+
|
|
23912
|
+
html.style.fontSize = realW / designWidth * baseNum + 'px';
|
|
23913
|
+
// console.log(html.style.fontSize);
|
|
23914
|
+
}
|
|
23915
|
+
|
|
23916
|
+
setRootFontSize();
|
|
23917
|
+
window.addEventListener('resize', function (e) {
|
|
23918
|
+
setRootFontSize();
|
|
23919
|
+
});
|
|
23920
|
+
//动态设置html的font-size ----end
|
|
23921
|
+
};
|
|
23922
|
+
|
|
23923
|
+
var setRemFixedHeight = function setRemFixedHeight() {
|
|
23924
|
+
var designWidth = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 1440;
|
|
23925
|
+
var repairH = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
|
|
23926
|
+
var scale = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 1;
|
|
23927
|
+
var box = arguments.length > 3 ? arguments[3] : undefined;
|
|
23928
|
+
var baseNum = 100;
|
|
23929
|
+
var winWidth = document.documentElement.clientWidth || document.body.clientWidth;
|
|
23930
|
+
var winHeight = document.documentElement.clientHeight || document.body.clientHeight;
|
|
23931
|
+
winHeight = winHeight - repairH;
|
|
23932
|
+
var frameBili = 4.3 / 3;
|
|
23933
|
+
var b = frameBili / (winWidth / winHeight);
|
|
23934
|
+
var realW = parseInt(winWidth * b);
|
|
23935
|
+
box.style.fontSize = realW / designWidth * baseNum * scale + 'px';
|
|
23936
|
+
};
|
|
23890
23937
|
;// 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_Classify.vue?vue&type=script&lang=js
|
|
23891
23938
|
|
|
23892
23939
|
|
|
@@ -23939,10 +23986,8 @@ var env = js_fun.getDeviceEnv();
|
|
|
23939
23986
|
},
|
|
23940
23987
|
mounted: function mounted() {
|
|
23941
23988
|
var _this = this;
|
|
23942
|
-
this.
|
|
23943
|
-
|
|
23944
|
-
window.addEventListener('resize', _this.setRootFontSize);
|
|
23945
|
-
});
|
|
23989
|
+
this.setRootFontSize();
|
|
23990
|
+
window.addEventListener('resize', this.setRootFontSize);
|
|
23946
23991
|
this.init();
|
|
23947
23992
|
this.$watch('optionList', function (nv) {
|
|
23948
23993
|
if (nv && nv.length) {
|
|
@@ -24090,15 +24135,7 @@ var env = js_fun.getDeviceEnv();
|
|
|
24090
24135
|
},
|
|
24091
24136
|
setRootFontSize: function setRootFontSize() {
|
|
24092
24137
|
// setRemFixedHeight(1000,140,1.08)
|
|
24093
|
-
|
|
24094
|
-
var baseNum = 100;
|
|
24095
|
-
var winWidth = document.documentElement.clientWidth || document.body.clientWidth;
|
|
24096
|
-
var winHeight = document.documentElement.clientHeight || document.body.clientHeight;
|
|
24097
|
-
winHeight = winHeight - this.screenRepairH;
|
|
24098
|
-
var frameBili = 4.3 / 3;
|
|
24099
|
-
var b = frameBili / (winWidth / winHeight);
|
|
24100
|
-
var realW = parseInt(winWidth * b);
|
|
24101
|
-
this.$el.style.fontSize = realW / 1000 * baseNum * this.screenScale + 'px';
|
|
24138
|
+
setRemFixedHeight(1000, this.screenRepairH, this.screenScale, this.$el);
|
|
24102
24139
|
},
|
|
24103
24140
|
unmountedDo: function unmountedDo() {
|
|
24104
24141
|
window.removeEventListener('resize', this.setRootFontSize);
|
|
@@ -24342,7 +24379,7 @@ var env = js_fun.getDeviceEnv();
|
|
|
24342
24379
|
|
|
24343
24380
|
|
|
24344
24381
|
;
|
|
24345
|
-
const Question_Classify_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(Question_Classifyvue_type_script_lang_js, [['render',
|
|
24382
|
+
const Question_Classify_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(Question_Classifyvue_type_script_lang_js, [['render',Question_Classifyvue_type_template_id_00c7419b_render]])
|
|
24346
24383
|
|
|
24347
24384
|
/* harmony default export */ var Question_Classify = (Question_Classify_exports_);
|
|
24348
24385
|
;// CONCATENATED MODULE: ./src/components/questions/const.js
|
|
@@ -23824,70 +23824,70 @@ var index = {
|
|
|
23824
23824
|
const Question_Programming_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(Question_Programmingvue_type_script_lang_js, [['render',Question_Programmingvue_type_template_id_411b6dae_render]])
|
|
23825
23825
|
|
|
23826
23826
|
/* harmony default export */ var Question_Programming = (Question_Programming_exports_);
|
|
23827
|
-
;// 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=
|
|
23827
|
+
;// 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=00c7419b
|
|
23828
23828
|
|
|
23829
|
-
var
|
|
23829
|
+
var Question_Classifyvue_type_template_id_00c7419b_hoisted_1 = {
|
|
23830
23830
|
class: "zykjcommon-question",
|
|
23831
23831
|
style: {
|
|
23832
23832
|
"width": "100%",
|
|
23833
23833
|
"height": "100%"
|
|
23834
23834
|
}
|
|
23835
23835
|
};
|
|
23836
|
-
var
|
|
23836
|
+
var Question_Classifyvue_type_template_id_00c7419b_hoisted_2 = {
|
|
23837
23837
|
class: "box"
|
|
23838
23838
|
};
|
|
23839
|
-
var
|
|
23839
|
+
var Question_Classifyvue_type_template_id_00c7419b_hoisted_3 = {
|
|
23840
23840
|
class: "main-block"
|
|
23841
23841
|
};
|
|
23842
|
-
var
|
|
23843
|
-
var
|
|
23842
|
+
var Question_Classifyvue_type_template_id_00c7419b_hoisted_4 = ["src"];
|
|
23843
|
+
var Question_Classifyvue_type_template_id_00c7419b_hoisted_5 = /*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", {
|
|
23844
23844
|
class: "main-content"
|
|
23845
23845
|
}, [/*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", {
|
|
23846
23846
|
class: "main-append"
|
|
23847
23847
|
})], -1);
|
|
23848
|
-
var
|
|
23848
|
+
var Question_Classifyvue_type_template_id_00c7419b_hoisted_6 = /*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", {
|
|
23849
23849
|
class: "prev"
|
|
23850
23850
|
}, [/*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", {
|
|
23851
23851
|
class: "prev-main"
|
|
23852
23852
|
})], -1);
|
|
23853
|
-
var
|
|
23853
|
+
var Question_Classifyvue_type_template_id_00c7419b_hoisted_7 = /*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", {
|
|
23854
23854
|
class: "next"
|
|
23855
23855
|
}, [/*#__PURE__*/(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", {
|
|
23856
23856
|
class: "next-main"
|
|
23857
23857
|
})], -1);
|
|
23858
|
-
var
|
|
23858
|
+
var Question_Classifyvue_type_template_id_00c7419b_hoisted_8 = {
|
|
23859
23859
|
class: "list"
|
|
23860
23860
|
};
|
|
23861
|
-
var
|
|
23862
|
-
var
|
|
23861
|
+
var Question_Classifyvue_type_template_id_00c7419b_hoisted_9 = ["idx"];
|
|
23862
|
+
var Question_Classifyvue_type_template_id_00c7419b_hoisted_10 = {
|
|
23863
23863
|
class: "list-item-text"
|
|
23864
23864
|
};
|
|
23865
|
-
function
|
|
23866
|
-
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("div",
|
|
23865
|
+
function Question_Classifyvue_type_template_id_00c7419b_render(_ctx, _cache, $props, $setup, $data, $options) {
|
|
23866
|
+
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_00c7419b_hoisted_1, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", {
|
|
23867
23867
|
class: "question-classify",
|
|
23868
23868
|
style: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.normalizeStyle)($data.bigBgCss)
|
|
23869
|
-
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div",
|
|
23869
|
+
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", Question_Classifyvue_type_template_id_00c7419b_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) {
|
|
23870
23870
|
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("div", {
|
|
23871
23871
|
class: "box-item",
|
|
23872
23872
|
style: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.normalizeStyle)(item.bgUrlCss),
|
|
23873
23873
|
key: index
|
|
23874
|
-
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div",
|
|
23874
|
+
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", Question_Classifyvue_type_template_id_00c7419b_hoisted_3, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("img", {
|
|
23875
23875
|
src: item.imgUrl,
|
|
23876
23876
|
alt: ""
|
|
23877
|
-
}, null, 8,
|
|
23877
|
+
}, null, 8, Question_Classifyvue_type_template_id_00c7419b_hoisted_4)]), Question_Classifyvue_type_template_id_00c7419b_hoisted_5], 4);
|
|
23878
23878
|
}), 128))]), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", {
|
|
23879
23879
|
class: "list-outter",
|
|
23880
23880
|
style: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.normalizeStyle)($data.bottomBgCss)
|
|
23881
|
-
}, [
|
|
23881
|
+
}, [Question_Classifyvue_type_template_id_00c7419b_hoisted_6, Question_Classifyvue_type_template_id_00c7419b_hoisted_7, (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", Question_Classifyvue_type_template_id_00c7419b_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) {
|
|
23882
23882
|
return (0,external_commonjs_vue_commonjs2_vue_root_Vue_.openBlock)(), (0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementBlock)("div", {
|
|
23883
23883
|
class: "list-item",
|
|
23884
23884
|
idx: item.idx,
|
|
23885
23885
|
style: (0,external_commonjs_vue_commonjs2_vue_root_Vue_.normalizeStyle)(item.bgUrlCss),
|
|
23886
23886
|
key: index
|
|
23887
|
-
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div",
|
|
23887
|
+
}, [(0,external_commonjs_vue_commonjs2_vue_root_Vue_.createElementVNode)("div", Question_Classifyvue_type_template_id_00c7419b_hoisted_10, (0,external_commonjs_vue_commonjs2_vue_root_Vue_.toDisplayString)(item.content), 1)], 12, Question_Classifyvue_type_template_id_00c7419b_hoisted_9);
|
|
23888
23888
|
}), 128))])], 4)], 4)]);
|
|
23889
23889
|
}
|
|
23890
|
-
;// CONCATENATED MODULE: ./src/components/questions/Question_Classify.vue?vue&type=template&id=
|
|
23890
|
+
;// CONCATENATED MODULE: ./src/components/questions/Question_Classify.vue?vue&type=template&id=00c7419b
|
|
23891
23891
|
|
|
23892
23892
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.sort.js
|
|
23893
23893
|
var es_array_sort = __webpack_require__(2707);
|
|
@@ -23897,6 +23897,53 @@ var es_promise = __webpack_require__(8674);
|
|
|
23897
23897
|
var es_array_find_index = __webpack_require__(4553);
|
|
23898
23898
|
// EXTERNAL MODULE: ./node_modules/core-js/modules/es.array.splice.js
|
|
23899
23899
|
var es_array_splice = __webpack_require__(561);
|
|
23900
|
+
;// CONCATENATED MODULE: ./src/assets/js/rem.js
|
|
23901
|
+
/**
|
|
23902
|
+
* Created by Allen Liu on 2022/3/31.
|
|
23903
|
+
*/
|
|
23904
|
+
|
|
23905
|
+
var setRem = function setRem() {
|
|
23906
|
+
//动态设置html的font-size ----start
|
|
23907
|
+
var designWidth = 1440;
|
|
23908
|
+
var baseNum = 100;
|
|
23909
|
+
function setRootFontSize() {
|
|
23910
|
+
var winWidth = document.documentElement.clientWidth || document.body.clientWidth;
|
|
23911
|
+
var winHeight = document.documentElement.clientHeight || document.body.clientHeight;
|
|
23912
|
+
var html = document.getElementsByTagName('html')[0];
|
|
23913
|
+
/*if(winWidth>=1000){
|
|
23914
|
+
winWidth = 1000
|
|
23915
|
+
}*/
|
|
23916
|
+
var frameBili = 4 / 3;
|
|
23917
|
+
var b = frameBili / (winWidth / winHeight);
|
|
23918
|
+
// let realW = parseInt(winWidth * b)
|
|
23919
|
+
var realW = winWidth - 50;
|
|
23920
|
+
// console.log(realW,3333333333333);
|
|
23921
|
+
|
|
23922
|
+
html.style.fontSize = realW / designWidth * baseNum + 'px';
|
|
23923
|
+
// console.log(html.style.fontSize);
|
|
23924
|
+
}
|
|
23925
|
+
|
|
23926
|
+
setRootFontSize();
|
|
23927
|
+
window.addEventListener('resize', function (e) {
|
|
23928
|
+
setRootFontSize();
|
|
23929
|
+
});
|
|
23930
|
+
//动态设置html的font-size ----end
|
|
23931
|
+
};
|
|
23932
|
+
|
|
23933
|
+
var setRemFixedHeight = function setRemFixedHeight() {
|
|
23934
|
+
var designWidth = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 1440;
|
|
23935
|
+
var repairH = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
|
|
23936
|
+
var scale = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 1;
|
|
23937
|
+
var box = arguments.length > 3 ? arguments[3] : undefined;
|
|
23938
|
+
var baseNum = 100;
|
|
23939
|
+
var winWidth = document.documentElement.clientWidth || document.body.clientWidth;
|
|
23940
|
+
var winHeight = document.documentElement.clientHeight || document.body.clientHeight;
|
|
23941
|
+
winHeight = winHeight - repairH;
|
|
23942
|
+
var frameBili = 4.3 / 3;
|
|
23943
|
+
var b = frameBili / (winWidth / winHeight);
|
|
23944
|
+
var realW = parseInt(winWidth * b);
|
|
23945
|
+
box.style.fontSize = realW / designWidth * baseNum * scale + 'px';
|
|
23946
|
+
};
|
|
23900
23947
|
;// 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_Classify.vue?vue&type=script&lang=js
|
|
23901
23948
|
|
|
23902
23949
|
|
|
@@ -23949,10 +23996,8 @@ var env = js_fun.getDeviceEnv();
|
|
|
23949
23996
|
},
|
|
23950
23997
|
mounted: function mounted() {
|
|
23951
23998
|
var _this = this;
|
|
23952
|
-
this.
|
|
23953
|
-
|
|
23954
|
-
window.addEventListener('resize', _this.setRootFontSize);
|
|
23955
|
-
});
|
|
23999
|
+
this.setRootFontSize();
|
|
24000
|
+
window.addEventListener('resize', this.setRootFontSize);
|
|
23956
24001
|
this.init();
|
|
23957
24002
|
this.$watch('optionList', function (nv) {
|
|
23958
24003
|
if (nv && nv.length) {
|
|
@@ -24100,15 +24145,7 @@ var env = js_fun.getDeviceEnv();
|
|
|
24100
24145
|
},
|
|
24101
24146
|
setRootFontSize: function setRootFontSize() {
|
|
24102
24147
|
// setRemFixedHeight(1000,140,1.08)
|
|
24103
|
-
|
|
24104
|
-
var baseNum = 100;
|
|
24105
|
-
var winWidth = document.documentElement.clientWidth || document.body.clientWidth;
|
|
24106
|
-
var winHeight = document.documentElement.clientHeight || document.body.clientHeight;
|
|
24107
|
-
winHeight = winHeight - this.screenRepairH;
|
|
24108
|
-
var frameBili = 4.3 / 3;
|
|
24109
|
-
var b = frameBili / (winWidth / winHeight);
|
|
24110
|
-
var realW = parseInt(winWidth * b);
|
|
24111
|
-
this.$el.style.fontSize = realW / 1000 * baseNum * this.screenScale + 'px';
|
|
24148
|
+
setRemFixedHeight(1000, this.screenRepairH, this.screenScale, this.$el);
|
|
24112
24149
|
},
|
|
24113
24150
|
unmountedDo: function unmountedDo() {
|
|
24114
24151
|
window.removeEventListener('resize', this.setRootFontSize);
|
|
@@ -24352,7 +24389,7 @@ var env = js_fun.getDeviceEnv();
|
|
|
24352
24389
|
|
|
24353
24390
|
|
|
24354
24391
|
;
|
|
24355
|
-
const Question_Classify_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(Question_Classifyvue_type_script_lang_js, [['render',
|
|
24392
|
+
const Question_Classify_exports_ = /*#__PURE__*/(0,exportHelper/* default */.Z)(Question_Classifyvue_type_script_lang_js, [['render',Question_Classifyvue_type_template_id_00c7419b_render]])
|
|
24356
24393
|
|
|
24357
24394
|
/* harmony default export */ var Question_Classify = (Question_Classify_exports_);
|
|
24358
24395
|
;// CONCATENATED MODULE: ./src/components/questions/const.js
|