Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
R
risk-monitor
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
蔡建
risk-monitor
Commits
91b4ba55
提交
91b4ba55
authored
3月 30, 2026
作者:
coderBryanFu
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
feat:更新系统标题
上级
3967f51d
隐藏空白字符变更
内嵌
并排
正在显示
1 个修改的文件
包含
22 行增加
和
3 行删除
+22
-3
index.vue
src/components/base/moduleHeader/index.vue
+22
-3
没有找到文件。
src/components/base/moduleHeader/index.vue
浏览文件 @
91b4ba55
...
...
@@ -84,6 +84,7 @@ let isShowSearchBar = computed(() => {
return
store
.
isShowSearchBar
;
});
const
router
=
useRouter
();
const
route
=
useRoute
()
const
personTypeList
=
ref
([]);
...
...
@@ -231,14 +232,18 @@ const toolList = ref([
])
const
handleToModule
=
(
item
,
index
)
=>
{
homeActiveTitleIndex
.
value
=
index
if
(
index
===
1
)
{
homeActiveTitleIndex
.
value
=
index
router
.
push
({
path
:
item
.
path
})
}
else
{
const
curRoute
=
router
.
resolve
({
path
:
item
.
path
path
:
item
.
path
,
query
:
{
titleIndex
:
2
}
});
window
.
open
(
curRoute
.
href
,
"_blank"
);
}
...
...
@@ -269,7 +274,12 @@ const handleClickToolBox = () => {
onMounted
(()
=>
{
handleGetPersonType
();
homeActiveTitleIndex
.
value
=
Number
(
window
.
localStorage
.
getItem
(
'homeActiveTitleIndex'
))
if
(
route
.
query
.
titleIndex
)
{
homeActiveTitleIndex
.
value
=
Number
(
route
.
query
.
titleIndex
)
}
else
{
homeActiveTitleIndex
.
value
=
Number
(
window
.
localStorage
.
getItem
(
'homeActiveTitleIndex'
))
}
});
onUnmounted
(()
=>
{
...
...
@@ -457,26 +467,31 @@ onUnmounted(() => {
margin-left
:
72px
;
display
:
flex
;
flex-wrap
:
wrap
;
.menu-item
{
margin-top
:
36px
;
width
:
280px
;
height
:
24px
;
display
:
flex
;
cursor
:
pointer
;
&
:hover
{
.title
{
color
:
var
(
--
color-main-active
);
font-size
:
20px
;
}
}
.icon
{
width
:
24px
;
height
:
24px
;
img
{
width
:
100%
;
height
:
100%
;
}
}
.title
{
margin-left
:
16px
;
height
:
24px
;
...
...
@@ -506,17 +521,20 @@ onUnmounted(() => {
backdrop-filter
:
blur
(
30px
);
box-shadow
:
0px
0px
20px
0px
rgba
(
25
,
69
,
130
,
0
.1
);
background
:
rgba
(
255
,
255
,
255
,
0
.8
);
.menu-content
{
width
:
562px
;
height
:
348px
;
margin-top
:
8px
;
margin-left
:
72px
;
.menu-item
{
margin-top
:
36px
;
width
:
280px
;
height
:
24px
;
display
:
flex
;
cursor
:
pointer
;
&
:hover
{
.title
{
color
:
var
(
--
color-main-active
);
...
...
@@ -533,6 +551,7 @@ onUnmounted(() => {
height
:
100%
;
}
}
.title
{
margin-left
:
16px
;
height
:
24px
;
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论