You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 line
8.6 KiB
1 line
8.6 KiB
{"remainingRequest":"D:\\code\\vue\\admin\\node_modules\\vue-loader\\lib\\index.js??vue-loader-options!D:\\code\\vue\\admin\\src\\components\\index\\IndexMain.vue?vue&type=style&index=0&id=16fdb8a4&lang=scss&scoped=true&","dependencies":[{"path":"D:\\code\\vue\\admin\\src\\components\\index\\IndexMain.vue","mtime":1709633805000},{"path":"D:\\code\\vue\\admin\\node_modules\\css-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\code\\vue\\admin\\node_modules\\vue-loader\\lib\\loaders\\stylePostLoader.js","mtime":499162500000},{"path":"D:\\code\\vue\\admin\\node_modules\\postcss-loader\\src\\index.js","mtime":499162500000},{"path":"D:\\code\\vue\\admin\\node_modules\\sass-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\code\\vue\\admin\\node_modules\\cache-loader\\dist\\cjs.js","mtime":499162500000},{"path":"D:\\code\\vue\\admin\\node_modules\\vue-loader\\lib\\index.js","mtime":499162500000}],"contextDependencies":[],"result":[{"type":"Buffer","data":"base64:CgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCgoKCmEgewoJdGV4dC1kZWNvcmF0aW9uOiBub25lOwoJY29sb3I6ICM1NTU7Cn0KCmE6aG92ZXIgewoJYmFja2dyb3VuZDogIzAwYzI5MjsKfQoKLmVsLW1haW4gewoJcGFkZGluZzogMDsKCWRpc3BsYXk6IGJsb2NrOwp9CgoubmF2LWxpc3QgewoJd2lkdGg6IDEwMCU7CgltYXJnaW46IDAgYXV0bzsKCXRleHQtYWxpZ246IGxlZnQ7CgltYXJnaW4tdG9wOiAyMHB4OwoKCS5uYXYtdGl0bGUgewoJCWRpc3BsYXk6IGlubGluZS1ibG9jazsKCQlmb250LXNpemU6IDE1cHg7CgkJY29sb3I6ICMzMzM7CgkJcGFkZGluZzogMTVweCAyNXB4OwoJCWJvcmRlcjogbm9uZTsKCX0KCgkubmF2LXRpdGxlLmFjdGl2ZSB7CgkJY29sb3I6ICM1NTU7CgkJY3Vyc29yOiBkZWZhdWx0OwoJCWJhY2tncm91bmQtY29sb3I6ICNmZmY7Cgl9Cn0KCi5uYXYtaXRlbSB7CgltYXJnaW4tdG9wOiAyMHB4OwoJYmFja2dyb3VuZDogI0ZGRkZGRjsKCXBhZGRpbmc6IDE1cHggMDsKCgkubWVudSB7CgkJcGFkZGluZzogMTVweCAyNXB4OwoJfQp9CgouZGV0YWlsLWZvcm0tY29udGVudCB7CiAgICBiYWNrZ3JvdW5kOiB0cmFuc3BhcmVudDsKfQo="},{"version":3,"sources":["IndexMain.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgHA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA","file":"IndexMain.vue","sourceRoot":"src/components/index","sourcesContent":["<template>\r\n\t<div style=\"height: 100%;\">\r\n\t\t<el-main :style='\"vertical\" == \"vertical\" ? (2 == 1 ? {\"minHeight\":\"100%\",\"padding\":\"0\",\"margin\":\"0 0 0 210px\",\"position\":\"relative\",\"display\":\"block\"} : (2 == 2 ? (isCollapse ? {\"minHeight\":\"100%\",\"padding\":\"0 0 0 64px\",\"margin\":\"0\",\"position\":\"relative\",\"background\":\"#f3f3f3\",\"display\":\"block\"} : {\"minHeight\":\"100%\",\"padding\":\"0 0 0 250px\",\"margin\":\"0\",\"position\":\"relative\",\"background\":\"#ececec\",\"display\":\"block\"}) : \"\")) : {\"minHeight\":\"100%\",\"margin\":\"0\",\"position\":\"relative\"}'>\r\n\t\t\t<!-- top -->\r\n\t\t\t<index-header :style='{\"padding\":\"0px 50px 0px 20px\",\"margin\":\"0 auto\",\"borderColor\":\"rgba(126, 96, 16, .2)\",\"alignItems\":\"center\",\"color\":\"#fff\",\"display\":\"flex\",\"justifyContent\":\"flex-end\",\"top\":\"0\",\"left\":\"0\",\"background\":\"#62779c\",\"borderWidth\":\"0 0 0px\",\"width\":\"calc(100% - 0px)\",\"fontSize\":\"14px\",\"position\":\"fixed\",\"borderStyle\":\"solid\",\"zIndex\":\"1002\",\"height\":\"80px\"}'></index-header>\r\n\t\t\t\r\n\t\t\t<!-- menu -->\r\n\t\t\t<template v-if=\"'vertical' == 'vertical'\">\r\n\t\t\t <template v-if=\"2 == 1\">\r\n\t\t\t\t<index-aside :style='{\"boxShadow\":\"1px 0 6px rgba(64, 158, 255, .3)\",\"overflow\":\"hidden\",\"top\":\"0\",\"left\":\"0\",\"background\":\"#304156\",\"bottom\":\"0\",\"width\":\"210px\",\"fontSize\":\"0px\",\"position\":\"fixed\",\"height\":\"100%\",\"zIndex\":\"1001\"}'></index-aside>\r\n\t\t\t </template>\r\n\t\t\t <template v-if=\"2 == 2\">\r\n\t\t\t\t<index-aside :is-collapse=\"isCollapse\" @oncollapsechange=\"collapseChange\" :style='isCollapse ? {\"boxShadow\":\"0px 0 0px rgba(255,205,155,1)\",\"padding\":\"0px 0 0\",\"borderColor\":\"rgba(126, 96, 16, .2)\",\"bottom\":\"0\",\"transition\":\"width 0.3s\",\"overflow\":\"hidden\",\"top\":\"0\",\"left\":\"0\",\"background\":\"#000\",\"borderWidth\":\"0 0px 0 0\",\"width\":\"64px\",\"fontSize\":\"0px\",\"position\":\"fixed\",\"borderStyle\":\"solid\",\"height\":\"100%\",\"zIndex\":\"1001\"} : {\"boxShadow\":\"0px 0 0px rgba(255,205,155,1)\",\"padding\":\"90px 0 10px\",\"borderColor\":\"rgba(126, 96, 16, .2)\",\"bottom\":\"0\",\"transition\":\"width 0.3s\",\"overflow\":\"hidden\",\"top\":\"0\",\"left\":\"0\",\"background\":\"#66779d\",\"borderWidth\":\"0 0px 0 0\",\"width\":\"250px\",\"fontSize\":\"14px\",\"position\":\"fixed\",\"borderStyle\":\"solid\",\"height\":\"100%\",\"zIndex\":\"1001\"}'></index-aside>\r\n\t\t\t </template>\r\n\t\t\t</template>\r\n\t\t\t<template v-if=\"'vertical' == 'horizontal'\">\r\n\t\t\t <template v-if=\"2 == 1\">\r\n\t\t\t\t<index-aside :style='{\"width\":\"100%\",\"borderColor\":\"#efefef\",\"borderStyle\":\"solid\",\"background\":\"#304156\",\"borderWidth\":\"0 0 1px 0\",\"height\":\"auto\"}'></index-aside>\r\n\t\t\t </template>\r\n\t\t\t <template v-if=\"2 == 2\">\r\n\t\t\t\t<index-aside :style='{\"borderColor\":\"#efefef\",\"background\":\"#FFF\",\"borderWidth\":\"0 0 1px 0\",\"display\":\"flex\",\"width\":\"100%\",\"borderStyle\":\"solid\",\"height\":\"auto\"}'></index-aside>\r\n\t\t\t </template>\r\n\t\t\t</template>\r\n\t\t\t\r\n\t\t\t<!-- breadcrumb -->\r\n\t\t\t<bread-crumbs :title=\"title\" :style='{\"padding\":\"16px 30px\",\"margin\":\"80px auto 0\",\"borderColor\":\"#eee\",\"borderWidth\":\"0 0 0px 0\",\"width\":\"auto\",\"fontSize\":\"14px\",\"borderStyle\":\"solid\"}' class=\"bread-crumbs\"></bread-crumbs>\r\n\t\t\t\r\n\t\t\t<!-- TagsView -->\r\n\t\t\t<tags-view />\r\n\t\t\t\n\t\t\t<router-view class=\"router-view\"></router-view>\n\t\t</el-main>\r\n\t</div>\n</template>\r\n\n<script>\r\n\timport IndexAside from '@/components/index/IndexAsideStatic'\r\n\timport IndexHeader from '@/components/index/IndexHeader'\r\n\timport TagsView from '@/components/index/TagsView'\n\timport menu from \"@/utils/menu\";\n\texport default {\r\n\t\tcomponents: {\r\n\t\t\tIndexAside,\r\n\t\t\tIndexHeader,\r\n\t\t\tTagsView\r\n\t\t},\n\t\tdata() {\n\t\t\treturn {\n\t\t\t\tmenuList: [],\n\t\t\t\trole: \"\",\n\t\t\t\tcurrentIndex: -2,\n\t\t\t\titemMenu: [],\n\t\t\t\ttitle: '',\r\n\t\t\t\tisCollapse: false,\r\n\t\t\t};\n\t\t},\n\t\tmounted() {\n\t\t\tlet menus = menu.list();\n\t\t\tthis.menuList = menus;\n\t\t\tthis.role = this.$storage.get(\"role\");\n\t\t},\r\n\t\tcreated() {\r\n\t\t\tthis.init();\r\n\t\t},\n\t\tmethods: {\r\n\t\t\tinit(){\r\n\t\t\t\tthis.$nextTick(()=>{\r\n\t\t\t\t\t\r\n\t\t\t\t})\r\n\t\t\t},\r\n\t\t\tcollapseChange(collapse) {\r\n\t\t\t\tthis.isCollapse = collapse\r\n\t\t\t},\n\t\t\tmenuHandler(menu) {\n\t\t\t\tthis.$router.push({\n\t\t\t\t\tname: menu.tableName\n\t\t\t\t});\n\t\t\t\tthis.title = menu.menu;\n\t\t\t},\n\t\t\ttitleChange(index, menus) {\n\t\t\t\tthis.currentIndex = index\n\t\t\t\tthis.itemMenu = menus;\n\t\t\t},\n\t\t\thomeChange(index) {\n\t\t\t\tthis.itemMenu = [];\n\t\t\t\tthis.title = \"\"\n\t\t\t\tthis.currentIndex = index\n\t\t\t\tthis.$router.push({\n\t\t\t\t\tname: 'home'\n\t\t\t\t});\n\t\t\t},\n\t\t\tcenterChange(index) {\n\t\t\t\tthis.itemMenu = [{\n\t\t\t\t\t\"buttons\": [\"新增\", \"查看\", \"修改\", \"删除\"],\n\t\t\t\t\t\"menu\": \"修改密码\",\n\t\t\t\t\t\"tableName\": \"updatePassword\"\n\t\t\t\t}, {\n\t\t\t\t\t\"buttons\": [\"新增\", \"查看\", \"修改\", \"删除\"],\n\t\t\t\t\t\"menu\": \"个人信息\",\n\t\t\t\t\t\"tableName\": \"center\"\n\t\t\t\t}];\n\t\t\t\tthis.title = \"\"\n\t\t\t\tthis.currentIndex = index\n\t\t\t\tthis.$router.push({\n\t\t\t\t\tname: 'home'\n\t\t\t\t});\r\n\t\t\t\t\n\t\t\t}\n\t\t}\n\t};\n</script>\n<style lang=\"scss\" scoped>\n\ta {\n\t\ttext-decoration: none;\n\t\tcolor: #555;\n\t}\n\n\ta:hover {\n\t\tbackground: #00c292;\n\t}\r\n\t\r\n\t.el-main {\r\n\t\tpadding: 0;\r\n\t\tdisplay: block;\r\n\t}\n\n\t.nav-list {\n\t\twidth: 100%;\n\t\tmargin: 0 auto;\n\t\ttext-align: left;\n\t\tmargin-top: 20px;\n\n\t\t.nav-title {\n\t\t\tdisplay: inline-block;\n\t\t\tfont-size: 15px;\n\t\t\tcolor: #333;\n\t\t\tpadding: 15px 25px;\n\t\t\tborder: none;\n\t\t}\n\n\t\t.nav-title.active {\n\t\t\tcolor: #555;\n\t\t\tcursor: default;\n\t\t\tbackground-color: #fff;\n\t\t}\n\t}\n\n\t.nav-item {\n\t\tmargin-top: 20px;\n\t\tbackground: #FFFFFF;\n\t\tpadding: 15px 0;\n\n\t\t.menu {\n\t\t\tpadding: 15px 25px;\n\t\t}\n\t}\n\t\r\n\t.detail-form-content {\r\n\t background: transparent;\r\n\t}\n</style>\n"]}]} |