This commit is contained in:
JenniferW 2025-11-05 15:36:06 +08:00
parent 4fb6ce8714
commit 1f3d97e3aa
2 changed files with 61 additions and 4 deletions

View File

@ -10,7 +10,18 @@
<div class="d-flex jc-center">
<dv-decoration-8 class="dv-dec-8" :color="decorationColor" />
<div class="title">
<div class="title-text">数据中台运行监控中心</div>
<div class="title-part">
<span class="title-text">数据中台运行监控中心</span>
<!-- 按钮放在标题文本右侧在原有标题区域内 -->
<button
class="big-screen-btn"
@click="$router.go(-1)"
title="进入智慧校园页面"
>
<i class="el-icon-monitor"></i>
<span class="btn-text">智慧校园</span>
</button>
</div>
<dv-decoration-6
class="dv-dec-6"
:reverse="true"
@ -100,7 +111,13 @@ export default {
.title {
position: relative;
padding: 0 50px;
margin-bottom: 20px; //
margin-bottom: 10px;
.title-part {
display: flex;
align-items: center; //
gap: 15px; //
}
.title-text {
font-size: 36px;
@ -110,6 +127,7 @@ export default {
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
font-family: "Microsoft YaHei", sans-serif;
left: 40% !important;
}
}
@ -157,4 +175,43 @@ export default {
}
}
}
//
.big-screen-btn {
background: linear-gradient(135deg, #4a90e2, #36d1dc);
color: #ffffff;
border: none;
border-radius: 6px;
padding: 6px 12px;
display: flex;
align-items: center;
gap: 6px;
font-size: 14px;
font-weight: 500;
cursor: pointer;
box-shadow: 0 2px 8px rgba(74, 144, 226, 0.2);
transition: all 0.3s ease;
white-space: nowrap;
margin-left: 90%; //
i.el-icon-monitor {
font-size: 16px;
}
&:hover {
transform: translateY(-2px);
box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
background: linear-gradient(135deg, #36d1dc, #4a90e2);
}
//
@media (max-width: 768px) {
padding: 4px 8px;
font-size: 12px;
i.el-icon-monitor {
font-size: 14px;
}
}
}
</style>

View File

@ -16,10 +16,10 @@
<button
class="big-screen-btn"
@click="$router.push('/big-screen')"
title="进入数据大屏页面"
title="进入数据中台页面"
>
<i class="el-icon-monitor"></i>
<span class="btn-text">数据大屏</span>
<span class="btn-text">数据中台</span>
</button>
</div>
<dv-decoration-6