From 94dd0f74391628971e2b19c49d592d3a890b3dd9 Mon Sep 17 00:00:00 2001
From: lyt-Top <1105290566@qq.com>
Date: Sun, 24 Jan 2021 21:53:46 +0800
Subject: [PATCH] =?UTF-8?q?'admin-21.01.24:=E5=AE=8C=E6=88=90=E5=90=84?=
=?UTF-8?q?=E5=B8=83=E5=B1=80=E5=AF=BC=E8=88=AA=E5=A4=84=E7=90=86=E3=80=81?=
=?UTF-8?q?=E5=8A=A8=E7=94=BB=E7=BB=86=E8=8A=82=E7=AD=89'?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
vue-admin-wonderful-next/src/router/index.ts | 22 ++-
vue-admin-wonderful-next/src/theme/app.scss | 4 +-
.../src/theme/element.scss | 9 ++
.../src/views/fun/index.vue | 21 ---
.../src/views/fun/tagsView/index.vue | 110 +++++++++++++++
.../src/views/layout/component/aside.vue | 23 +++-
.../views/layout/component/columnsAside.vue | 117 ++++++++++------
.../src/views/layout/logo/index.vue | 2 +-
.../layout/navBars/breadcrumb/breadcrumb.vue | 55 +++++---
.../views/layout/navBars/breadcrumb/index.vue | 128 +++++++++++-------
.../layout/navBars/breadcrumb/setings.vue | 12 +-
.../views/layout/navBars/breadcrumb/user.vue | 16 ++-
.../layout/navBars/tagsView/contextmenu.vue | 16 ++-
.../views/layout/navBars/tagsView/scroll.vue | 4 +
.../layout/navBars/tagsView/tagsView.vue | 121 +++++++++++++++--
.../src/views/layout/navMenu/horizontal.vue | 88 +++++++++---
.../src/views/layout/navMenu/subItem.vue | 3 +-
.../src/views/layout/navMenu/vertical.vue | 3 +
.../src/views/layout/routerView/parent.vue | 38 +++++-
.../src/views/menu/menu1/menu13/index.vue | 8 +-
20 files changed, 621 insertions(+), 179 deletions(-)
delete mode 100644 vue-admin-wonderful-next/src/views/fun/index.vue
create mode 100644 vue-admin-wonderful-next/src/views/fun/tagsView/index.vue
diff --git a/vue-admin-wonderful-next/src/router/index.ts b/vue-admin-wonderful-next/src/router/index.ts
index dbd9391..6dfe614 100644
--- a/vue-admin-wonderful-next/src/router/index.ts
+++ b/vue-admin-wonderful-next/src/router/index.ts
@@ -1,5 +1,5 @@
import { createRouter, createWebHashHistory, RouteRecordRaw } from "vue-router"
-import { store } from "/@/store/index.ts";
+import { store } from "/@/store/index.ts"
// 定义动态路由
export const dynamicRoutes = [
@@ -280,7 +280,8 @@ export const dynamicRoutes = [
{
path: '/fun',
name: 'funIndex',
- component: () => import('/@/views/fun/index.vue'),
+ component: () => import('/@/views/layout/routerView/parent.vue'),
+ redirect: '/fun/tagsView',
meta: {
title: '功能',
isLink: '',
@@ -288,7 +289,22 @@ export const dynamicRoutes = [
isKeepAlive: true,
isAffix: false,
icon: 'iconfont icon-crew_feature'
- }
+ },
+ children: [
+ {
+ path: '/fun/tagsView',
+ name: 'funTagsView',
+ component: () => import('/@/views/fun/tagsView/index.vue'),
+ meta: {
+ title: 'tagsView 操作',
+ isLink: '',
+ isHide: false,
+ isKeepAlive: true,
+ isAffix: false,
+ icon: 'el-icon-thumb'
+ }
+ }
+ ]
},
{
path: '/pages',
diff --git a/vue-admin-wonderful-next/src/theme/app.scss b/vue-admin-wonderful-next/src/theme/app.scss
index 0dfc972..97f90e2 100644
--- a/vue-admin-wonderful-next/src/theme/app.scss
+++ b/vue-admin-wonderful-next/src/theme/app.scss
@@ -51,7 +51,6 @@ body,
width: 100%;
}
.layout-el-aside-br-color {
- border-top: 1px solid rgb(238, 238, 238);
border-right: 1px solid rgb(238, 238, 238);
}
.layout-aside-width-default {
@@ -78,6 +77,9 @@ body,
display: flex;
overflow: hidden;
}
+ .layout-hide {
+ display: none;
+ }
}
/* element plus 全局样式
diff --git a/vue-admin-wonderful-next/src/theme/element.scss b/vue-admin-wonderful-next/src/theme/element.scss
index 4d1c342..a96442f 100644
--- a/vue-admin-wonderful-next/src/theme/element.scss
+++ b/vue-admin-wonderful-next/src/theme/element.scss
@@ -692,6 +692,10 @@
/* NavMenu 导航菜单
------------------------------- */
+// 去掉默认 focus 时,背景的高亮
+.el-menu-item:focus {
+ background: transparent !important;
+}
// 默认样式修改
.el-menu {
border-right: none !important;
@@ -706,6 +710,7 @@
// horizontal 水平方向时
.el-menu--horizontal > .el-menu-item.is-active,
.el-menu--horizontal > .el-submenu.is-active .el-submenu__title {
+ border-bottom: 3px solid !important;
border-bottom-color: set-color(primary);
color: set-color(primary);
}
@@ -786,6 +791,10 @@
width: 24px;
text-align: center;
}
+// element plus 本身字体图标
+.el-submenu [class^='el-icon-'] {
+ font-size: 14px !important;
+}
/* Tabs 标签页
------------------------------- */
diff --git a/vue-admin-wonderful-next/src/views/fun/index.vue b/vue-admin-wonderful-next/src/views/fun/index.vue
deleted file mode 100644
index 09406f2..0000000
--- a/vue-admin-wonderful-next/src/views/fun/index.vue
+++ /dev/null
@@ -1,21 +0,0 @@
-
-