From 0d86c19b122011dc528c624597b0952660d69aba Mon Sep 17 00:00:00 2001
From: loulijun2021 <1694218219@qq.com>
Date: 星期日, 26 六月 2022 09:32:53 +0800
Subject: [PATCH] 1.优化动态路由
---
src/layout/components/TagsView/index.vue | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/src/layout/components/TagsView/index.vue b/src/layout/components/TagsView/index.vue
index 96acacc..18d4a2c 100644
--- a/src/layout/components/TagsView/index.vue
+++ b/src/layout/components/TagsView/index.vue
@@ -198,6 +198,7 @@
</script>
<style lang="scss" scoped>
+$main_color :#42b983;
.tags-view-container {
height: 34px;
width: 100%;
@@ -225,9 +226,9 @@
margin-right: 15px;
}
&.active {
- background-color: #42b983;
+ background-color:$main_color;
color: #fff;
- border-color: #42b983;
+ border-color:$main_color;
&::before {
content: '';
background: #fff;
--
Gitblit v1.9.3