From 50f94c34aa3f56eba2c428963e0d46a72d820fef Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期五, 30 五月 2025 10:03:30 +0800
Subject: [PATCH] 顶部样式修改
---
src/layout/components/TagsView/index.vue | 25 +++++++------------------
1 files changed, 7 insertions(+), 18 deletions(-)
diff --git a/src/layout/components/TagsView/index.vue b/src/layout/components/TagsView/index.vue
index 15fa13b..0839b2a 100644
--- a/src/layout/components/TagsView/index.vue
+++ b/src/layout/components/TagsView/index.vue
@@ -272,14 +272,14 @@
display: inline-block;
position: relative;
cursor: pointer;
- height: 26px;
+ height: 30px;
line-height: 26px;
- border: 1px solid var(--tags-item-border, #d8dce5);
+ //border: 1px solid var(--tags-item-border, #d8dce5);
color: var(--tags-item-text, #495060);
background: var(--tags-item-bg, #fff);
- padding: 0 8px;
+ padding: 2px 16px;
font-size: 12px;
- margin-left: 5px;
+ //margin-left: 5px;
margin-top: 4px;
&:first-of-type {
@@ -291,20 +291,9 @@
}
&.active {
- background-color: #42b983;
- color: #fff;
- border-color: #42b983;
-
- &::before {
- content: '';
- background: #fff;
- display: inline-block;
- width: 8px;
- height: 8px;
- border-radius: 50%;
- position: relative;
- margin-right: 5px;
- }
+ border-radius: 10px 10px 0px 0px;
+ background-color: #F2F2F4 !important;
+ color: #165DFF;
}
}
}
--
Gitblit v1.9.3