fd6b246f8f2112a1f1ec9643c9548337.json 4.8 KB

1
  1. {"remainingRequest":"D:\\wnmp\\www\\vue\\seaBlueAdmin\\node_modules\\babel-loader\\lib\\index.js!D:\\wnmp\\www\\vue\\seaBlueAdmin\\node_modules\\cache-loader\\dist\\cjs.js??ref--0-0!D:\\wnmp\\www\\vue\\seaBlueAdmin\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\wnmp\\www\\vue\\seaBlueAdmin\\src\\vab\\components\\SettingTop\\index.vue?vue&type=script&lang=js&","dependencies":[{"path":"D:\\wnmp\\www\\vue\\seaBlueAdmin\\src\\vab\\components\\SettingTop\\index.vue","mtime":1678954023501},{"path":"D:\\wnmp\\www\\vue\\seaBlueAdmin\\babel.config.js","mtime":1681371897685},{"path":"D:\\wnmp\\www\\vue\\seaBlueAdmin\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1681371913603},{"path":"D:\\wnmp\\www\\vue\\seaBlueAdmin\\node_modules\\babel-loader\\lib\\index.js","mtime":1681371912860},{"path":"D:\\wnmp\\www\\vue\\seaBlueAdmin\\node_modules\\cache-loader\\dist\\cjs.js","mtime":1681371913603},{"path":"D:\\wnmp\\www\\vue\\seaBlueAdmin\\node_modules\\vue-loader\\lib\\index.js","mtime":1681371925849}],"contextDependencies":[],"result":[{"type":"Buffer","data":"base64:Ly8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KLy8KaW1wb3J0IHsgbWVudXMgfSBmcm9tICIuLi9HYWxsZXJ5QmFyL21lbnVzIjsKZXhwb3J0IGRlZmF1bHQgewogIG5hbWU6ICJTZXR0aW5nIiwKCiAgZGF0YSgpIHsKICAgIHJldHVybiB7CiAgICAgIG1lbnVzOiBbXQogICAgfTsKICB9LAoKICBjb21wdXRlZDogewogICAgbWVudUxpc3QoKSB7CiAgICAgIGNvbnN0IGxpc3QgPSBtZW51cygpLmZpbmQoaXRlbSA9PiBpdGVtLnBhdGggPT09ICIvU3lzdGVtU2V0dGluZ3MiKTsKICAgICAgcmV0dXJuIGxpc3QgPyBsaXN0LmNoaWxkcmVuIDogW107CiAgICB9CgogIH0sCiAgbWV0aG9kczogewogICAgbWVudUNsaWNrKHJvdXRlKSB7CiAgICAgIHRoaXMuJHJvdXRlci5wdXNoKHJvdXRlLmZ1bGxQYXRoKTsKICAgIH0KCiAgfQp9Ow=="},{"version":3,"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAiCA;AACA;EACAA,eADA;;EAEAC;IACA;MACAC;IADA;EAGA,CANA;;EAOAC;IACAC;MACA;MACA;IACA;;EAJA,CAPA;EAaAC;IACAC;MACA;IACA;;EAHA;AAbA","names":["name","data","menus","computed","menuList","methods","menuClick"],"sourceRoot":"src/vab/components/SettingTop","sources":["index.vue"],"sourcesContent":["<template>\n <span v-if=\"menuList.length && systemType === 1\">\n <el-popover placement=\"bottom\" trigger=\"hover\">\n <div class=\"menu-box\">\n <div v-for=\"(route, index) in menuList\" :key=\"index\" class=\"menu-col\">\n <p>{{ route.meta.title }}</p>\n <ul v-if=\"route.children && route.children.length\" class=\"menu-ul\">\n <li\n v-for=\"(menu, indexT) in route.children\"\n :key=\"indexT\"\n class=\"menu-li\"\n @click=\"menuClick(menu)\"\n >\n {{ menu.meta.title }}\n </li>\n </ul>\n <ul v-else class=\"menu-ul\">\n <li class=\"menu-li\" @click=\"menuClick(route)\">\n {{ route.meta.title }}\n </li>\n </ul>\n </div>\n </div>\n <div slot=\"reference\">\n <vab-remix-icon\n style=\"font-size: 18px\"\n icon-class=\"settings-4-line\"\n ></vab-remix-icon>\n </div>\n </el-popover>\n </span>\n</template>\n<script>\n import { menus } from \"../GalleryBar/menus\";\n export default {\n name: \"Setting\",\n data() {\n return {\n menus: [],\n };\n },\n computed: {\n menuList() {\n const list = menus().find((item) => item.path === \"/SystemSettings\");\n return list ? list.children : [];\n },\n },\n methods: {\n menuClick(route) {\n this.$router.push(route.fullPath);\n },\n },\n };\n</script>\n<style lang=\"scss\" scoped>\n ::v-deep {\n .el-dialog {\n &__header {\n display: none;\n border: 0 !important;\n }\n\n &__body {\n padding: 0;\n border: 0 !important;\n }\n\n .el-form-item__content {\n position: relative;\n\n i {\n position: absolute;\n top: 14px;\n left: $base-padding;\n z-index: $base-z-index;\n }\n\n .el-autocomplete {\n width: 100%;\n\n .el-input__inner {\n width: 100%;\n height: 60px;\n padding-left: $base-padding * 2.5;\n border: 0 !important;\n }\n }\n }\n }\n }\n /* 自定义menu样式*/\n .menu-box {\n display: flex;\n padding: 10px 0;\n .menu-col {\n padding: 0 24px;\n font-size: 14px;\n border-right: 1px solid #eeeeee;\n &:last-child {\n border-right: 0;\n }\n p {\n font-weight: 300;\n color: rgba(0, 0, 0, 0.6);\n }\n .menu-ul {\n .menu-li {\n padding-top: 16px;\n color: #000000;\n cursor: pointer;\n &:hover {\n color: $base-color-blue;\n }\n }\n }\n }\n }\n</style>\n"]}]}