From 5c85c9efda90c4a362a30daea2c6b40b91a12673 Mon Sep 17 00:00:00 2001
From: qinzhenpen <11463128+qinzhenpen@user.noreply.gitee.com>
Date: Sat, 2 Sep 2023 16:01:49 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BE=A7=E8=BE=B9=E6=A0=8F=E4=BF=AE=E6=94=B9?=
=?UTF-8?q?=E5=AE=8C=E6=88=90?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
src/assets/styles/sidebar.scss | 17 +-
src/components/Hamburger/index.vue | 2 +-
src/layout/components/Navbar.vue | 15 +-
src/layout/index.vue | 1 +
src/store/modules/app.js | 4 +-
src/views/index.vue | 1025 +++++++++++++++++++++++++++-
6 files changed, 1038 insertions(+), 26 deletions(-)
diff --git a/src/assets/styles/sidebar.scss b/src/assets/styles/sidebar.scss
index 6faa983..8116f38 100644
--- a/src/assets/styles/sidebar.scss
+++ b/src/assets/styles/sidebar.scss
@@ -36,7 +36,6 @@
.scrollbar-wrapper {
overflow-x: hidden !important;
- padding-top: 52px;
background: url('../images/侧边栏.png') no-repeat center !important;
background-size: 200px 100% !important;
}
@@ -75,7 +74,13 @@
width: 100% !important;
background-color: transparent !important;
}
-
+ .el-menu-item.is-active{
+ width: 170px;
+ margin-left: 10px;
+ color:#fff;
+ border: 1px solid #13B7DA;
+ background: linear-gradient(0deg, #30BCE8 0%, #203B79 100%);
+ }
.el-menu-item, .menu-title {
overflow: hidden !important;
text-overflow: ellipsis !important;
@@ -91,7 +96,7 @@
.sub-menu-title-noDropdown,
.el-sub-menu__title {
&:hover {
- background-color: rgba(0, 0, 0, 0.06) !important;
+ background-color: #2a58a9 !important;
}
}
@@ -104,7 +109,7 @@
min-width: $base-sidebar-width !important;
&:hover {
- background-color: rgba(0, 0, 0, 0.06) !important;
+ background-color: #2a58a9 !important;
}
}
@@ -220,8 +225,8 @@
.nest-menu .el-sub-menu>.el-sub-menu__title,
.el-menu-item {
&:hover {
- // you can use $sub-menuHover
- background-color: pink !important;
+ width: 170px;
+ background-color: #2a58a9 !important;
}
}
diff --git a/src/components/Hamburger/index.vue b/src/components/Hamburger/index.vue
index 8b6f7a8..7269fc6 100644
--- a/src/components/Hamburger/index.vue
+++ b/src/components/Hamburger/index.vue
@@ -17,7 +17,7 @@
defineProps({
isActive: {
type: Boolean,
- default: false
+ default: true
}
})
diff --git a/src/layout/components/Navbar.vue b/src/layout/components/Navbar.vue
index c217cbb..1e62d7d 100644
--- a/src/layout/components/Navbar.vue
+++ b/src/layout/components/Navbar.vue
@@ -5,7 +5,7 @@
+ 领取阿里云通用云产品1888优惠券 ++ +
+https://www.aliyun.com/minisite/goods?userCode=brki8iof +
+ 领取腾讯云通用云产品2860优惠券 +
+https://cloud.tencent.com/redirect.php?redirect=1025&cps_key=198c8df2ed259157187173bc7f4f32fd&from=console +
+ 阿里云服务器折扣区 +>☛☛点我进入☚☚ + 腾讯云服务器秒杀区 +>☛☛点我进入☚☚
++ 云产品通用红包,可叠加官网常规优惠使用。(仅限新用户) +
+
+ 一直想做一款后台管理系统,看了很多优秀的开源项目但是发现没有合适自己的。于是利用空闲休息时间开始自己写一套后台系统。如此有了若依管理系统,她可以用于所有的Web应用程序,如网站管理后台,网站会员中心,CMS,CRM,OA等等,当然,您也可以对她进行深度定制,以做出更强系统。所有前端后台代码封装过后十分精简易上手,出错概率低。同时支持移动客户端访问。系统会陆续更新一些实用功能。 +
++ 当前版本: v{{ version }} +
+
+
+