forked from zhurui/management
1 line
5.4 KiB
JSON
1 line
5.4 KiB
JSON
|
{"remainingRequest":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\babel-loader\\lib\\index.js!C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\src\\views\\main-theme-tools.vue?vue&type=script&lang=js&","dependencies":[{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\src\\views\\main-theme-tools.vue","mtime":1614735254000},{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\babel-loader\\lib\\index.js","mtime":499162500000},{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"C:\\Users\\27446\\Desktop\\up\\front\\dkha-web-sz-main\\node_modules\\vue-loader\\lib\\index.js","mtime":499162500000}],"contextDependencies":[],"result":["//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\n//\nexport default {\n data: function data() {\n return {\n isOpen: false,\n themeList: require('@/element-ui/config.js'),\n themeColor: 'turquoise'\n };\n },\n methods: {\n themeColorChangeHandle: function themeColorChangeHandle(val) {\n var styleList = [{\n id: 'J_elementTheme',\n url: \"\".concat(process.env.BASE_URL, \"element-theme/\").concat(val, \"/index.css?t=\").concat(new Date().getTime())\n }, {\n id: 'J_auiTheme',\n url: \"\".concat(process.env.BASE_URL, \"element-theme/\").concat(val, \"/aui.css?t=\").concat(new Date().getTime())\n }];\n\n for (var i = 0; i < styleList.length; i++) {\n var el = document.querySelector(\"#\".concat(styleList[i].id));\n\n if (el) {\n el.href = styleList[i].url;\n continue;\n }\n\n el = document.createElement('link');\n el.id = styleList[i].id;\n el.href = styleList[i].url;\n el.rel = 'stylesheet';\n document.querySelector('head').appendChild(el);\n }\n }\n }\n};",{"version":3,"sources":["main-theme-tools.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;AAyBA,eAAA;AACA,EAAA,IADA,kBACA;AACA,WAAA;AACA,MAAA,MAAA,EAAA,KADA;AAEA,MAAA,SAAA,EAAA,OAAA,CAAA,wBAAA,CAFA;AAGA,MAAA,UAAA,EAAA;AAHA,KAAA;AAKA,GAPA;AAQA,EAAA,OAAA,EAAA;AACA,IAAA,sBADA,kCACA,GADA,EACA;AACA,UAAA,SAAA,GAAA,CACA;AACA,QAAA,EAAA,EAAA,gBADA;AAEA,QAAA,GAAA,YAAA,OAAA,CAAA,GAAA,CAAA,QAAA,2BAAA,GAAA,0BAAA,IAAA,IAAA,GAAA,OAAA,EAAA;AAFA,OADA,EAKA;AACA,QAAA,EAAA,EAAA,YADA;AAEA,QAAA,GAAA,YAAA,OAAA,CAAA,GAAA,CAAA,QAAA,2BAAA,GAAA,wBAAA,IAAA,IAAA,GAAA,OAAA,EAAA;AAFA,OALA,CAAA;;AAUA,WAAA,IAAA,CAAA,GAAA,CAAA,EAAA,CAAA,GAAA,SAAA,CAAA,MAAA,EAAA,CAAA,EAAA,EAAA;AACA,YAAA,EAAA,GAAA,QAAA,CAAA,aAAA,YAAA,SAAA,CAAA,CAAA,CAAA,CAAA,EAAA,EAAA;;AACA,YAAA,EAAA,EAAA;AACA,UAAA,EAAA,CAAA,IAAA,GAAA,SAAA,CAAA,CAAA,CAAA,CAAA,GAAA;AACA;AACA;;AACA,QAAA,EAAA,GAAA,QAAA,CAAA,aAAA,CAAA,MAAA,CAAA;AACA,QAAA,EAAA,CAAA,EAAA,GAAA,SAAA,CAAA,CAAA,CAAA,CAAA,EAAA;AACA,QAAA,EAAA,CAAA,IAAA,GAAA,SAAA,CAAA,CAAA,CAAA,CAAA,GAAA;AACA,QAAA,EAAA,CAAA,GAAA,GAAA,YAAA;AACA,QAAA,QAAA,CAAA,aAAA,CAAA,MAAA,EAAA,WAAA,CAAA,EAAA;AACA;AACA;AAxBA;AARA,CAAA","sourcesContent":["<template>\n <div class=\"aui-theme-tools\" :class=\"{ 'aui-theme-tools--open': isOpen }\">\n <div class=\"aui-theme-tools__toggle\" @click=\"isOpen = !isOpen\">\n <svg class=\"icon-svg\" aria-hidden=\"true\"><use xlink:href=\"#icon-setting\"></use></svg>\n </div>\n <div class=\"aui-theme-tools__content\">\n <div class=\"aui-theme-tools__item\">\n <h3>Navbar</h3>\n <el-checkbox v-model=\"$store.state.navbarLayoutType\" true-label=\"colorful\">colorful 鲜艳</el-checkbox>\n </div>\n <div class=\"aui-theme-tools__item\">\n <h3>Sidebar</h3>\n <el-checkbox v-model=\"$store.state.sidebar
|