1 |
- {"version":3,"sources":["webpack:///src/views/product-set/components/set-navigation/SetNavigation.vue","webpack:///./src/views/product-set/components/set-navigation/SetNavigation.vue?a80e","webpack:///./node_modules/core-js/modules/es.array.splice.js","webpack:///./src/views/product-set/components/set-navigation/SetNavigation.vue?e3ea","webpack:///./src/views/product-set/components/set-navigation/SetNavigation.vue?1582","webpack:///./src/views/product-set/components/set-navigation/SetNavigation.vue","webpack:///./src/views/product-set/components/set-navigation/SetNavigation.vue?5217","webpack:///./src/views/product-set/components/set-navigation/SetNavigation.vue?5ca2","webpack:///./src/views/product-set/components/set-navigation/SetNavigation.vue?ebc5"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAmBA;AACA;AACA,uBADA;AAEA,gBAFA;AAGA;AACA;AACA;AADA;AADA,GAHA;AAQA,aARA;AASA,MATA,kBASA;AACA;AACA,gBADA;AAEA,6FAFA;AAGA,yBACA;AACA,oBADA;AAEA;AAFA,OADA,EAKA;AACA,oBADA;AAEA;AAFA,OALA,EASA;AACA,oBADA;AAEA;AAFA,OATA,EAaA;AACA,qBADA;AAEA;AAFA,OAbA,CAHA;AAqBA,2FArBA;AAsBA;AAtBA;AAwBA,GAlCA;AAmCA,cAnCA;AAoCA;AACA;AACA;AAAA;;AACA;AACA;AACA;AACA;AACA,SAJA;AAKA,OAPA;AAQA;AARA;AADA,GApCA;AAgDA,SAhDA,qBAgDA,EAhDA;AAiDA,SAjDA,qBAiDA;AAAA;;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KANA;AAOA,GAzDA;AA0DA;AACA,WADA,mBACA,IADA,EACA,KADA,EACA;AACA;AACA;AAHA;AA1DA,G;;;;;;;;;;;;ACpBA;AAAA;AAAA;AAAA;AACA;AACA;AACA;AACA,oBAAoB,kCAAkC;AACtD;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,WAAW;AACX;AACA;AACA;AACA;AACA;AACA,wBAAwB;AACx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E;;;;;;;;;;;;ACVf;AAAA;AAAA;AAAA;AAAA;AAAwG;AACvC;AACL;AACsC;;;AAGlG;AACmG;AACnG,gBAAgB,2GAAU;AAC1B,EAAE,mFAAM;AACR,EAAE,oGAAM;AACR,EAAE,6GAAe;AACjB;AACA;AACA;AACA;;AAEA;;AAEA;AACA,IAAI,KAAU,EAAE,YAiBf;AACD;AACe,gF;;;;;;;;;;;;ACvCf;AAAA;AAAA,wCAA8T,CAAgB,8UAAG,EAAC,C;;;;;;;;;;;;ACAlV;AAAA;AAAA;AAAA;AAAglB,CAAgB,4iBAAG,EAAC,C;;;;;;;;;;;;ACApmB;AAAA;AAAA;AAAA;AAAA;AAAA","file":"js/3.js","sourcesContent":["<template>\r\n <!--设置导航 -->\r\n <div class=\"set-nav clearfix\">\r\n <ul>\r\n <li\r\n v-for=\"(list, index) in setNavList_array\"\r\n :key=\"list.index\"\r\n @click=\"bgColor(list, index)\"\r\n >\r\n <router-link\r\n :to=\"list.address\"\r\n :class=\"[current === index ? 'sel' : '']\"\r\n >{{ list.name }}</router-link\r\n >\r\n </li>\r\n </ul>\r\n </div>\r\n</template>\r\n<script>\r\nimport { getSubjectId, getEditionNum } from \"../../../../lib/productset/many\";\r\nexport default {\r\n name: \"SetNavigation\",\r\n components: {},\r\n props: {\r\n proType: {\r\n type: String,\r\n },\r\n },\r\n filters: {},\r\n data() {\r\n return {\r\n current: 0,\r\n subject_id: getSubjectId(),\r\n setNavList_array: [\r\n {\r\n name: \"模版中心\",\r\n address: \"TemplateCenter\",\r\n },\r\n {\r\n name: \"班级定制\",\r\n address: \"ClassSetting\",\r\n },\r\n {\r\n name: \"学生定制\",\r\n address: \"StudentSetting\",\r\n },\r\n {\r\n name: \"学生自选卡\",\r\n address: \"OptionalCard\",\r\n },\r\n ],\r\n edition: getEditionNum(),\r\n isAccurate: sessionStorage.getItem(\"isAccurate\"),\r\n };\r\n },\r\n computed: {},\r\n watch: {\r\n $route: {\r\n handler: function (val) {\r\n this.setNavList_array.forEach((item, index) => {\r\n if (val.meta.address == item.address) {\r\n this.current = index;\r\n }\r\n });\r\n },\r\n immediate: true,\r\n },\r\n },\r\n created() {},\r\n mounted() {\r\n this.setNavList_array.forEach((item, index) => {\r\n if (this.subject_id === \"12\" || this.proType == \"MethodSet\" || this.isAccurate === \"1\"|| this.edition===\"4\"|| this.edition===\"3\") {\r\n if (item.name == \"学生自选卡\") {\r\n this.setNavList_array.splice(index, 1);\r\n }\r\n }\r\n });\r\n },\r\n methods: {\r\n bgColor(list, index) {\r\n this.current = index;\r\n },\r\n },\r\n};\r\n</script>\r\n\r\n<style scoped lang=\"less\">\r\n.set-nav {\r\n margin: 20px 0 20px 0;\r\n ul {\r\n li {\r\n float: left;\r\n margin-right: 25px;\r\n a {\r\n font-size: 20px;\r\n font-weight: bold;\r\n color: #000000;\r\n }\r\n .sel {\r\n color: #16ae68;\r\n }\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: \"set-nav clearfix\" }, [\n _c(\n \"ul\",\n _vm._l(_vm.setNavList_array, function(list, index) {\n return _c(\n \"li\",\n {\n key: list.index,\n on: {\n click: function($event) {\n return _vm.bgColor(list, index)\n }\n }\n },\n [\n _c(\n \"router-link\",\n {\n class: [_vm.current === index ? \"sel\" : \"\"],\n attrs: { to: list.address }\n },\n [_vm._v(_vm._s(list.name))]\n )\n ],\n 1\n )\n }),\n 0\n )\n ])\n}\nvar staticRenderFns = []\nrender._withStripped = true\n\nexport { render, staticRenderFns }","'use strict';\nvar $ = require('../internals/export');\nvar toAbsoluteIndex = require('../internals/to-absolute-index');\nvar toInteger = require('../internals/to-integer');\nvar toLength = require('../internals/to-length');\nvar toObject = require('../internals/to-object');\nvar arraySpeciesCreate = require('../internals/array-species-create');\nvar createProperty = require('../internals/create-property');\nvar arrayMethodHasSpeciesSupport = require('../internals/array-method-has-species-support');\nvar arrayMethodUsesToLength = require('../internals/array-method-uses-to-length');\n\nvar HAS_SPECIES_SUPPORT = arrayMethodHasSpeciesSupport('splice');\nvar USES_TO_LENGTH = arrayMethodUsesToLength('splice', { ACCESSORS: true, 0: 0, 1: 2 });\n\nvar max = Math.max;\nvar min = Math.min;\nvar MAX_SAFE_INTEGER = 0x1FFFFFFFFFFFFF;\nvar MAXIMUM_ALLOWED_LENGTH_EXCEEDED = 'Maximum allowed length exceeded';\n\n// `Array.prototype.splice` method\n// https://tc39.github.io/ecma262/#sec-array.prototype.splice\n// with adding support of @@species\n$({ target: 'Array', proto: true, forced: !HAS_SPECIES_SUPPORT || !USES_TO_LENGTH }, {\n splice: function splice(start, deleteCount /* , ...items */) {\n var O = toObject(this);\n var len = toLength(O.length);\n var actualStart = toAbsoluteIndex(start, len);\n var argumentsLength = arguments.length;\n var insertCount, actualDeleteCount, A, k, from, to;\n if (argumentsLength === 0) {\n insertCount = actualDeleteCount = 0;\n } else if (argumentsLength === 1) {\n insertCount = 0;\n actualDeleteCount = len - actualStart;\n } else {\n insertCount = argumentsLength - 2;\n actualDeleteCount = min(max(toInteger(deleteCount), 0), len - actualStart);\n }\n if (len + insertCount - actualDeleteCount > MAX_SAFE_INTEGER) {\n throw TypeError(MAXIMUM_ALLOWED_LENGTH_EXCEEDED);\n }\n A = arraySpeciesCreate(O, actualDeleteCount);\n for (k = 0; k < actualDeleteCount; k++) {\n from = actualStart + k;\n if (from in O) createProperty(A, k, O[from]);\n }\n A.length = actualDeleteCount;\n if (insertCount < actualDeleteCount) {\n for (k = actualStart; k < len - actualDeleteCount; k++) {\n from = k + actualDeleteCount;\n to = k + insertCount;\n if (from in O) O[to] = O[from];\n else delete O[to];\n }\n for (k = len; k > len - actualDeleteCount + insertCount; k--) delete O[k - 1];\n } else if (insertCount > actualDeleteCount) {\n for (k = len - actualDeleteCount; k > actualStart; k--) {\n from = k + actualDeleteCount - 1;\n to = k + insertCount - 1;\n if (from in O) O[to] = O[from];\n else delete O[to];\n }\n }\n for (k = 0; k < insertCount; k++) {\n O[k + actualStart] = arguments[k + 2];\n }\n O.length = len - actualDeleteCount + insertCount;\n return A;\n }\n});\n","// 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, \".set-nav[data-v-0e3f3dea] {\\n margin: 20px 0 20px 0;\\n}\\n.set-nav ul li[data-v-0e3f3dea] {\\n float: left;\\n margin-right: 25px;\\n}\\n.set-nav ul li a[data-v-0e3f3dea] {\\n font-size: 20px;\\n font-weight: bold;\\n color: #000000;\\n}\\n.set-nav ul li .sel[data-v-0e3f3dea] {\\n color: #16ae68;\\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!./SetNavigation.vue?vue&type=style&index=0&id=0e3f3dea&scoped=true&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(\"277db567\", 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!./SetNavigation.vue?vue&type=style&index=0&id=0e3f3dea&scoped=true&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!./SetNavigation.vue?vue&type=style&index=0&id=0e3f3dea&scoped=true&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 { render, staticRenderFns } from \"./SetNavigation.vue?vue&type=template&id=0e3f3dea&scoped=true&\"\nimport script from \"./SetNavigation.vue?vue&type=script&lang=js&\"\nexport * from \"./SetNavigation.vue?vue&type=script&lang=js&\"\nimport style0 from \"./SetNavigation.vue?vue&type=style&index=0&id=0e3f3dea&scoped=true&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 \"0e3f3dea\",\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('0e3f3dea')) {\n api.createRecord('0e3f3dea', component.options)\n } else {\n api.reload('0e3f3dea', component.options)\n }\n module.hot.accept(\"./SetNavigation.vue?vue&type=template&id=0e3f3dea&scoped=true&\", function () {\n api.rerender('0e3f3dea', {\n render: render,\n staticRenderFns: staticRenderFns\n })\n })\n }\n}\ncomponent.options.__file = \"src/views/product-set/components/set-navigation/SetNavigation.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!./SetNavigation.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!./SetNavigation.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!./SetNavigation.vue?vue&type=style&index=0&id=0e3f3dea&scoped=true&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!./SetNavigation.vue?vue&type=style&index=0&id=0e3f3dea&scoped=true&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!./SetNavigation.vue?vue&type=template&id=0e3f3dea&scoped=true&\""],"sourceRoot":""}
|