1 |
- {"version":3,"sources":["webpack:///src/views/font-size-setting/FontSizeSetting.vue","webpack:///./src/views/font-size-setting/FontSizeSetting.vue?2885","webpack:///./src/views/font-size-setting/FontSizeSetting.vue?837e","webpack:///./src/views/font-size-setting/FontSizeSetting.vue?3283","webpack:///./src/api/product/product-set.js","webpack:///./src/assets/img/product/math-img.jpg","webpack:///./src/assets/img/product/physics-img.jpg","webpack:///./src/views/font-size-setting/FontSizeSetting.vue","webpack:///./src/views/font-size-setting/FontSizeSetting.vue?0607","webpack:///./src/views/font-size-setting/FontSizeSetting.vue?5aee","webpack:///./src/views/font-size-setting/FontSizeSetting.vue?7b76"],"names":["getProductEdition","data","http","post","changeSubject","switchEdition","initProductSetting","getCopyTemplate","setReName","setBeforeDel","setDelTemplate","getTemplateById","saveTemplate","getSubject","getClassByGrade","productClassSet","resetClassSet","saveClassSet","productStudentSet","getStudent","resetStudentSet","saveStudentSet","customProductStudentSet","getTemplateByType","delStudentOptionalCard","SaveOptionalCard","getSemester","get","getStyleType","switchStyle","subjectList","subjectSave"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2CA;AACA;AACA;AACA,yBADA;AAEA,MAFA,kBAEA;AACA;AACA,gBADA;AAEA,oBAFA;AAGA,kBAHA;AAIA;AAJA;AAMA,GATA;AAUA;AACA,UADA,kBACA,KADA,EACA;AACA;AACA;AACA,KAJA;AAKA,kBALA,4BAKA;AAAA;;AACA;AACA;;AACA;AACA;;AACA;AACA,SAHA;AAIA,OANA;AAOA,KAbA;AAcA,YAdA,oBAcA,GAdA,EAcA;AAAA;;AACA;AACA;AACA,oDADA;AAEA;AAFA;AAIA;AACA;AACA;AACA;AACA;AADA;AAGA,SAJA,MAIA;AACA;AACA;AACA,OARA;AASA;AA9BA,GAVA;AA0CA,SA1CA,qBA0CA;AACA;AACA;AA5CA,G;;;;;;;;;;;;AC7CA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA,oBAAoB,mCAAmC;AACvD;AACA,eAAe,sCAAsC;AACrD;AACA;AACA,SAAS,yBAAyB;AAClC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe;AACf;AACA;AACA,WAAW;AACX;AACA;AACA;AACA;AACA;AACA,SAAS,yBAAyB;AAClC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,eAAe;AACf;AACA;AACA;AACA,mBAAmB,uBAAuB;AAC1C;AACA,gCAAgC,sBAAsB;AACtD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uBAAuB;AACvB;AACA;AACA;AACA;AACA;AACA,uBAAuB;AACvB;AACA;AACA;AACA;AACA,yBAAyB;AACzB;AACA;AACA,qBAAqB;AACrB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB;AACnB;AACA,gCAAgC,sBAAsB;AACtD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,uBAAuB;AACvB;AACA;AACA;AACA;AACA;AACA,uBAAuB;AACvB;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,yBAAyB;AACzB;AACA;AACA,qBAAqB;AACrB;AACA;AACA;AACA;AACA;AACA;AACA,4BAA4B,kBAAkB;AAC9C;AACA;AACA;AACA;AACA;AACA,mBAAmB;AACnB;AACA;AACA;AACA;AACA;AACA,WAAW;AACX;AACA;AACA;AACA,iBAAiB,sBAAsB;AACvC;AACA,mBAAmB,sBAAsB;AACzC;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB,mBAAO,CAAC,sFAAsC;AACjE;AACA;AACA,WAAW;AACX;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,mBAAmB,mBAAO,CAAC,gFAAmC;AAC9D;AACA;AACA,WAAW;AACX;AACA;AACA;AAC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;AACL;AACc;;;AAG5E;AAC6F;AAC7F,gBAAgB,2GAAU;AAC1B,EAAE,qFAAM;AACR,EAAE,0FAAM;AACR,EAAE,mGAAe;AACjB;AACA;AACA;AACA;;AAEA;;AAEA;AACA,IAAI,KAAU,EAAE,YAiBf;AACD;AACe,gF;;;;;;;;;;;;ACvCf;AAAA;AAAA,wCAAwS,CAAgB,gVAAG,EAAC,C;;;;;;;;;;;;ACA5T;AAAA;AAAA;AAAA;AAAghB,CAAgB,shBAAG,EAAC,C;;;;;;;;;;;;ACApiB;AAAA;AAAA;AAAA;AAAA;AAAA","file":"js/30.js","sourcesContent":["<template>\r\n <div class=\"font-size-setting\">\r\n <div class=\"head\">\r\n <p>学科产品设置</p>\r\n </div>\r\n <div class=\"size-setting-content\" >\r\n <div class=\"subject\">\r\n <div class=\"cont-head\">\r\n <h2>选择学科</h2>\r\n </div>\r\n <div class=\"subject-name\" :class=\"iscolor===index?'active':''\" v-for=\"(item1,index) in subjects\" :key=\"item1.subject_id\" @click=\"toggle(index)\" >{{item1.name}}</div>\r\n </div>\r\n <div class=\"content\">\r\n <div class=\"cont-head\">\r\n <h2>选择内容</h2>\r\n <p>系统会根据您的设置生成产品,此处设置将应用与该学科所有产品</p>\r\n </div>\r\n <div v-for=\"(item2) in subjects\" :key=\"item2.subject_id\" v-show=\"iscolor==item2.idx\">\r\n <div class=\"setup\">\r\n <span class=\"text\">新版字号<i class=\"el-icon-warning-outline\" @click=\"newfont = !newfont;blank =false\"></i></span>\r\n <el-switch v-model=\"item2.config_text.new_version_size\" active-color=\"#169bd5\" inactive-color=\"#8c8c8c\"></el-switch>\r\n </div>\r\n <div class=\"setup\" v-show=\"iscolor!=2\">\r\n <span class=\"text\">自动截去空白答题区域<i class=\"el-icon-warning-outline\" @click=\"blank = !blank;newfont =false\"></i></span>\r\n <el-switch v-model=\"item2.config_text.cut_blank_answer_area\" active-color=\"#169bd5\" inactive-color=\"#8c8c8c\"></el-switch>\r\n </div>\r\n <el-button type=\"success\" @click=\"fontSave(item2)\">保存</el-button>\r\n </div>\r\n </div>\r\n <div class=\"imgs\">\r\n <div class=\"cont-head\">\r\n <h2>示意图</h2>\r\n </div>\r\n <div class=\"open\">\r\n <img v-show=\"newfont\" src=\"@/assets/img/product/physics-img.jpg\" alt=\"\">\r\n <img v-show=\"blank\" src=\"@/assets/img/product/math-img.jpg\" alt=\"\">\r\n </div>\r\n </div>\r\n </div>\r\n </div>\r\n</template>\r\n\r\n<script>\r\nimport {subjectList,subjectSave} from \"../../api/product/product-set\"\r\nimport {getFormData} from \"../../lib/productset/many.js\"\r\nexport default {\r\n name:'FontSizeSetting',\r\n data(){\r\n return{\r\n iscolor:0,\r\n newfont:false,\r\n blank:false,\r\n subjects:[]\r\n }\r\n },\r\n methods:{\r\n toggle(index){\r\n this.iscolor = index\r\n this.getSubjectList()\r\n },\r\n getSubjectList(){\r\n subjectList().then((res,index)=>{\r\n this.subjects = res.data.lists\r\n this.subjects.forEach((val,index) => {\r\n val.config_text = JSON.parse(val.config_text);\r\n this.$set(val,'idx',index)\r\n });\r\n })\r\n },\r\n fontSave(val){\r\n console.log(val);\r\n let obj = {\r\n config_text:JSON.stringify(val.config_text),\r\n sps_id:val.sps_id\r\n };\r\n let param = getFormData(obj);\r\n subjectSave(param).then(res=>{\r\n if (res.status === 1) {\r\n this.$alert(\"操作成功!\", \"信息\", {\r\n confirmButtonText: \"确定\",\r\n });\r\n } else {\r\n this.$message.error(res.msg)\r\n }\r\n })\r\n }\r\n },\r\n mounted(){\r\n this.getSubjectList()\r\n }\r\n};\r\n</script>\r\n\r\n<style lang=\"less\">\r\n.font-size-setting {\r\n .active{\r\n color: #00ffff;\r\n }\r\n .head{\r\n padding: 10px;\r\n line-height: 30px;\r\n text-align: center;\r\n background-color: #ddd;\r\n p{\r\n width: 120px;\r\n height: 30px;\r\n background-color: #01b677;\r\n font-size: 16px;\r\n color: #fff;\r\n }\r\n }\r\n .size-setting-content{\r\n height: 100vh;\r\n display: flex;\r\n .subject,.content,.imgs{\r\n padding:0 20px;\r\n border-right: 1px solid #000;\r\n .cont-head{\r\n height: 100px;\r\n h2{\r\n margin-top: 10px;\r\n font-size: 25px;\r\n }\r\n }\r\n }\r\n .subject{\r\n width: 20%;\r\n .subject-name{\r\n cursor: pointer;\r\n margin-bottom: 35px;\r\n font-size: 15px;\r\n }\r\n }\r\n .content{\r\n width: 30%;\r\n .setup{\r\n // border-top: 1px solid #000;\r\n margin-bottom: 35px;\r\n .text{\r\n font-size: 20px;\r\n i{\r\n color: #01b677;\r\n }\r\n }\r\n .el-switch{\r\n float: right;\r\n }\r\n }\r\n p{\r\n margin-top: 10px;\r\n line-height: 20px;\r\n }\r\n .el-button{\r\n margin-top: 50px;\r\n }\r\n }\r\n .imgs{\r\n border-right: none;\r\n width: 50%;\r\n }\r\n }\r\n}\r\n</style>","var render = function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"div\", { staticClass: \"font-size-setting\" }, [\n _vm._m(0),\n _c(\"div\", { staticClass: \"size-setting-content\" }, [\n _c(\n \"div\",\n { staticClass: \"subject\" },\n [\n _vm._m(1),\n _vm._l(_vm.subjects, function(item1, index) {\n return _c(\n \"div\",\n {\n key: item1.subject_id,\n staticClass: \"subject-name\",\n class: _vm.iscolor === index ? \"active\" : \"\",\n on: {\n click: function($event) {\n return _vm.toggle(index)\n }\n }\n },\n [_vm._v(_vm._s(item1.name))]\n )\n })\n ],\n 2\n ),\n _c(\n \"div\",\n { staticClass: \"content\" },\n [\n _vm._m(2),\n _vm._l(_vm.subjects, function(item2) {\n return _c(\n \"div\",\n {\n directives: [\n {\n name: \"show\",\n rawName: \"v-show\",\n value: _vm.iscolor == item2.idx,\n expression: \"iscolor==item2.idx\"\n }\n ],\n key: item2.subject_id\n },\n [\n _c(\n \"div\",\n { staticClass: \"setup\" },\n [\n _c(\"span\", { staticClass: \"text\" }, [\n _vm._v(\"新版字号\"),\n _c(\"i\", {\n staticClass: \"el-icon-warning-outline\",\n on: {\n click: function($event) {\n _vm.newfont = !_vm.newfont\n _vm.blank = false\n }\n }\n })\n ]),\n _c(\"el-switch\", {\n attrs: {\n \"active-color\": \"#169bd5\",\n \"inactive-color\": \"#8c8c8c\"\n },\n model: {\n value: item2.config_text.new_version_size,\n callback: function($$v) {\n _vm.$set(item2.config_text, \"new_version_size\", $$v)\n },\n expression: \"item2.config_text.new_version_size\"\n }\n })\n ],\n 1\n ),\n _c(\n \"div\",\n {\n directives: [\n {\n name: \"show\",\n rawName: \"v-show\",\n value: _vm.iscolor != 2,\n expression: \"iscolor!=2\"\n }\n ],\n staticClass: \"setup\"\n },\n [\n _c(\"span\", { staticClass: \"text\" }, [\n _vm._v(\"自动截去空白答题区域\"),\n _c(\"i\", {\n staticClass: \"el-icon-warning-outline\",\n on: {\n click: function($event) {\n _vm.blank = !_vm.blank\n _vm.newfont = false\n }\n }\n })\n ]),\n _c(\"el-switch\", {\n attrs: {\n \"active-color\": \"#169bd5\",\n \"inactive-color\": \"#8c8c8c\"\n },\n model: {\n value: item2.config_text.cut_blank_answer_area,\n callback: function($$v) {\n _vm.$set(\n item2.config_text,\n \"cut_blank_answer_area\",\n $$v\n )\n },\n expression: \"item2.config_text.cut_blank_answer_area\"\n }\n })\n ],\n 1\n ),\n _c(\n \"el-button\",\n {\n attrs: { type: \"success\" },\n on: {\n click: function($event) {\n return _vm.fontSave(item2)\n }\n }\n },\n [_vm._v(\"保存\")]\n )\n ],\n 1\n )\n })\n ],\n 2\n ),\n _c(\"div\", { staticClass: \"imgs\" }, [\n _vm._m(3),\n _c(\"div\", { staticClass: \"open\" }, [\n _c(\"img\", {\n directives: [\n {\n name: \"show\",\n rawName: \"v-show\",\n value: _vm.newfont,\n expression: \"newfont\"\n }\n ],\n attrs: {\n src: require(\"@/assets/img/product/physics-img.jpg\"),\n alt: \"\"\n }\n }),\n _c(\"img\", {\n directives: [\n {\n name: \"show\",\n rawName: \"v-show\",\n value: _vm.blank,\n expression: \"blank\"\n }\n ],\n attrs: {\n src: require(\"@/assets/img/product/math-img.jpg\"),\n alt: \"\"\n }\n })\n ])\n ])\n ])\n ])\n}\nvar staticRenderFns = [\n function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"div\", { staticClass: \"head\" }, [\n _c(\"p\", [_vm._v(\"学科产品设置\")])\n ])\n },\n function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"div\", { staticClass: \"cont-head\" }, [\n _c(\"h2\", [_vm._v(\"选择学科\")])\n ])\n },\n function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"div\", { staticClass: \"cont-head\" }, [\n _c(\"h2\", [_vm._v(\"选择内容\")]),\n _c(\"p\", [\n _vm._v(\"系统会根据您的设置生成产品,此处设置将应用与该学科所有产品\")\n ])\n ])\n },\n function() {\n var _vm = this\n var _h = _vm.$createElement\n var _c = _vm._self._c || _h\n return _c(\"div\", { staticClass: \"cont-head\" }, [\n _c(\"h2\", [_vm._v(\"示意图\")])\n ])\n }\n]\nrender._withStripped = true\n\nexport { render, staticRenderFns }","// Imports\nvar ___CSS_LOADER_API_IMPORT___ = require(\"../../../node_modules/css-loader/dist/runtime/api.js\");\nexports = ___CSS_LOADER_API_IMPORT___(false);\n// Module\nexports.push([module.id, \".font-size-setting .active {\\n color: #00ffff;\\n}\\n.font-size-setting .head {\\n padding: 10px;\\n line-height: 30px;\\n text-align: center;\\n background-color: #ddd;\\n}\\n.font-size-setting .head p {\\n width: 120px;\\n height: 30px;\\n background-color: #01b677;\\n font-size: 16px;\\n color: #fff;\\n}\\n.font-size-setting .size-setting-content {\\n height: 100vh;\\n display: flex;\\n}\\n.font-size-setting .size-setting-content .subject,\\n.font-size-setting .size-setting-content .content,\\n.font-size-setting .size-setting-content .imgs {\\n padding: 0 20px;\\n border-right: 1px solid #000;\\n}\\n.font-size-setting .size-setting-content .subject .cont-head,\\n.font-size-setting .size-setting-content .content .cont-head,\\n.font-size-setting .size-setting-content .imgs .cont-head {\\n height: 100px;\\n}\\n.font-size-setting .size-setting-content .subject .cont-head h2,\\n.font-size-setting .size-setting-content .content .cont-head h2,\\n.font-size-setting .size-setting-content .imgs .cont-head h2 {\\n margin-top: 10px;\\n font-size: 25px;\\n}\\n.font-size-setting .size-setting-content .subject {\\n width: 20%;\\n}\\n.font-size-setting .size-setting-content .subject .subject-name {\\n cursor: pointer;\\n margin-bottom: 35px;\\n font-size: 15px;\\n}\\n.font-size-setting .size-setting-content .content {\\n width: 30%;\\n}\\n.font-size-setting .size-setting-content .content .setup {\\n margin-bottom: 35px;\\n}\\n.font-size-setting .size-setting-content .content .setup .text {\\n font-size: 20px;\\n}\\n.font-size-setting .size-setting-content .content .setup .text i {\\n color: #01b677;\\n}\\n.font-size-setting .size-setting-content .content .setup .el-switch {\\n float: right;\\n}\\n.font-size-setting .size-setting-content .content p {\\n margin-top: 10px;\\n line-height: 20px;\\n}\\n.font-size-setting .size-setting-content .content .el-button {\\n margin-top: 50px;\\n}\\n.font-size-setting .size-setting-content .imgs {\\n border-right: none;\\n width: 50%;\\n}\\n\", \"\"]);\n// Exports\nmodule.exports = exports;\n","// style-loader: Adds some css to the DOM by adding a <style> tag\n\n// load the styles\nvar content = require(\"!!../../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FontSizeSetting.vue?vue&type=style&index=0&lang=less&\");\nif(typeof content === 'string') content = [[module.id, content, '']];\nif(content.locals) module.exports = content.locals;\n// add the styles to the DOM\nvar add = require(\"!../../../node_modules/vue-style-loader/lib/addStylesClient.js\").default\nvar update = add(\"298cc714\", content, false, {\"sourceMap\":false,\"shadowMode\":false});\n// Hot Module Replacement\nif(module.hot) {\n // When the styles change, update the <style> tags\n if(!content.locals) {\n module.hot.accept(\"!!../../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FontSizeSetting.vue?vue&type=style&index=0&lang=less&\", function() {\n var newContent = require(\"!!../../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FontSizeSetting.vue?vue&type=style&index=0&lang=less&\");\n if(typeof newContent === 'string') newContent = [[module.id, newContent, '']];\n update(newContent);\n });\n }\n // When the module is disposed, remove the <style> tags\n module.hot.dispose(function() { update(); });\n}","import http from '../http'\r\n\r\n// 获取版本\r\nexport function getProductEdition(data) {\r\n return http.post(\"productset/getProductEdition\", data)\r\n}\r\n\r\n//切换学科\r\nexport function changeSubject(data) {\r\n return http.post(\"/productset/changeSubject\", data)\r\n}\r\n\r\n// 切换版本\r\nexport function switchEdition(data) {\r\n return http.post(\"/productset/switchEdition\", data)\r\n}\r\n\r\n// 初始化设定\r\nexport function initProductSetting(data) {\r\n return http.post(\"productset/initProductSetting\", data)\r\n}\r\n\r\n// 模板设置接口\r\nexport const getCopyTemplate = (data) => {\r\n return http.post(\"/productset/copyTemplate\", data)\r\n}\r\n\r\nexport const setReName = (data) => {\r\n return http.post(\"/productset/reNameTemplate\", data)\r\n}\r\n\r\nexport const setBeforeDel = (data) => {\r\n return http.post(\"/productset/beforeDelTemplate\", data)\r\n}\r\n\r\nexport const setDelTemplate = (data) => {\r\n return http.post(\"/productset/delTemplate\", data)\r\n}\r\n\r\nexport const getTemplateById = (data) => {\r\n return http.post(\"/productset/ajaxGetTemplateById\", data);\r\n}\r\n\r\nexport const saveTemplate = (data) => {\r\n return http.post(\"/productset/saveTemplate\", data);\r\n}\r\n\r\n// \r\nexport const getSubject = (data) => {\r\n return http.post(\"productset/getSubject\", data)\r\n}\r\n\r\n// 根据年级获取班级数据\r\nexport function getClassByGrade(data) {\r\n return http.post(\"/productset/getClassByGrade\", data)\r\n}\r\n// 班级定制列表\r\nexport function productClassSet(data) {\r\n return http.post(\"/productset/productClassSet\", data)\r\n}\r\n\r\n// 班级恢复默认设置\r\nexport function resetClassSet(data) {\r\n return http.post(\"/productset/resetClassSet\", data)\r\n}\r\n// 保存班级定制\r\nexport const saveClassSet = (data) => {\r\n return http.post(\"/productset/saveClassSet\", data)\r\n}\r\n\r\n// 学生定制\r\nexport function productStudentSet(data) {\r\n return http.post(\"/productset/productStudentSet\", data)\r\n}\r\n\r\nexport const getStudent = (data) => {\r\n return http.post(\"/studentinfo/getStudent\", data)\r\n}\r\n\r\n// 学生恢复默认设置\r\nexport function resetStudentSet(data) {\r\n return http.post(\"/productset/resetStudentSet\", data)\r\n}\r\n// 保存学生定制\r\nexport const saveStudentSet = (data) => {\r\n return http.post(\"/productset/saveStudentSet\", data)\r\n}\r\n\r\n// 学生自选卡\r\nexport function customProductStudentSet(data) {\r\n return http.post(\"/productset/customProductStudentSet\", data)\r\n}\r\n\r\n// 定制选模板\r\nexport function getTemplateByType(data) {\r\n return http.post(\"/productset/getTemplateByType\", data)\r\n}\r\n\r\n// 删除学生自定义配置\r\nexport function delStudentOptionalCard(data) {\r\n return http.post(\"/productset/delStudentOptionalCard\", data)\r\n}\r\n\r\n// 保存学生自选卡设置\r\nexport function SaveOptionalCard(data) {\r\n return http.post(\"/productset/SaveOptionalCard\", data)\r\n}\r\n\r\n// 当前学年、学期\r\nexport function getSemester() {\r\n return http.get(\"/productset/getSemester\")\r\n}\r\n\r\n// 获取字号\r\nexport function getStyleType(data) {\r\n return http.get(\"/productset/getStyleType\", data)\r\n}\r\n\r\n// 切换字号\r\nexport function switchStyle(data) {\r\n return http.post(\"/productset/switchStyle\", data)\r\n}\r\n// 学科产品设置列表\r\nexport function subjectList() {\r\n return http.post(\"/subjectProductSetting/index\")\r\n}\r\n\r\n//学科产品设置保存\r\nexport function subjectSave(data) {\r\n return http.post(\"/subjectProductSetting/update\", data)\r\n}","module.exports = __webpack_public_path__ + \"img/math-img.20d9094a.jpg\";","module.exports = __webpack_public_path__ + \"img/physics-img.7687a58f.jpg\";","import { render, staticRenderFns } from \"./FontSizeSetting.vue?vue&type=template&id=8bb797ae&\"\nimport script from \"./FontSizeSetting.vue?vue&type=script&lang=js&\"\nexport * from \"./FontSizeSetting.vue?vue&type=script&lang=js&\"\nimport style0 from \"./FontSizeSetting.vue?vue&type=style&index=0&lang=less&\"\n\n\n/* normalize component */\nimport normalizer from \"!../../../node_modules/vue-loader/lib/runtime/componentNormalizer.js\"\nvar component = normalizer(\n script,\n render,\n staticRenderFns,\n false,\n null,\n null,\n null\n \n)\n\n/* hot reload */\nif (module.hot) {\n var api = require(\"F:\\\\zcg-project\\\\git-code\\\\zsy-as2-web-nx\\\\node_modules\\\\vue-hot-reload-api\\\\dist\\\\index.js\")\n api.install(require('vue'))\n if (api.compatible) {\n module.hot.accept()\n if (!api.isRecorded('8bb797ae')) {\n api.createRecord('8bb797ae', component.options)\n } else {\n api.reload('8bb797ae', component.options)\n }\n module.hot.accept(\"./FontSizeSetting.vue?vue&type=template&id=8bb797ae&\", function () {\n api.rerender('8bb797ae', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"src/views/font-size-setting/FontSizeSetting.vue\"\nexport default component.exports","import mod from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FontSizeSetting.vue?vue&type=script&lang=js&\"; export default mod; export * from \"-!../../../node_modules/cache-loader/dist/cjs.js??ref--12-0!../../../node_modules/babel-loader/lib/index.js!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FontSizeSetting.vue?vue&type=script&lang=js&\"","import mod from \"-!../../../node_modules/vue-style-loader/index.js??ref--10-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FontSizeSetting.vue?vue&type=style&index=0&lang=less&\"; export default mod; export * from \"-!../../../node_modules/vue-style-loader/index.js??ref--10-oneOf-1-0!../../../node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../node_modules/vue-loader/lib/loaders/stylePostLoader.js!../../../node_modules/postcss-loader/src/index.js??ref--10-oneOf-1-2!../../../node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-3!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FontSizeSetting.vue?vue&type=style&index=0&lang=less&\"","export * from \"-!../../../node_modules/cache-loader/dist/cjs.js?{\\\"cacheDirectory\\\":\\\"node_modules/.cache/vue-loader\\\",\\\"cacheIdentifier\\\":\\\"305c61fc-vue-loader-template\\\"}!../../../node_modules/vue-loader/lib/loaders/templateLoader.js??vue-loader-options!../../../node_modules/cache-loader/dist/cjs.js??ref--0-0!../../../node_modules/vue-loader/lib/index.js??vue-loader-options!./FontSizeSetting.vue?vue&type=template&id=8bb797ae&\""],"sourceRoot":""}
|