|
@@ -4,7 +4,7 @@
|
|
<div class="navigation-bar">
|
|
<div class="navigation-bar">
|
|
<div class="nav-title">动力装备健康状态数据评估</div>
|
|
<div class="nav-title">动力装备健康状态数据评估</div>
|
|
<div
|
|
<div
|
|
- class="nav-item"
|
|
|
|
|
|
+ class="nav-item nav-all"
|
|
v-for="(item, index) in navItems"
|
|
v-for="(item, index) in navItems"
|
|
:key="index"
|
|
:key="index"
|
|
:class="{ active: activeTab.parent === index }"
|
|
:class="{ active: activeTab.parent === index }"
|
|
@@ -131,7 +131,7 @@ onMounted(() => {
|
|
}
|
|
}
|
|
|
|
|
|
.nav-title {
|
|
.nav-title {
|
|
- width: 780px;
|
|
|
|
|
|
+ width: 750px;
|
|
padding-left: 36px;
|
|
padding-left: 36px;
|
|
|
|
|
|
background: linear-gradient(
|
|
background: linear-gradient(
|
|
@@ -152,8 +152,11 @@ onMounted(() => {
|
|
text-fill-color: transparent;
|
|
text-fill-color: transparent;
|
|
}
|
|
}
|
|
|
|
|
|
|
|
+.nav-all{
|
|
|
|
+ margin-left: 20px;
|
|
|
|
+}
|
|
.nav-item {
|
|
.nav-item {
|
|
- flex: 1;
|
|
|
|
|
|
+padding: 0 45px;
|
|
cursor: pointer;
|
|
cursor: pointer;
|
|
color: rgba(255, 255, 255, 0.75);
|
|
color: rgba(255, 255, 255, 0.75);
|
|
font-size: 20px;
|
|
font-size: 20px;
|
|
@@ -170,6 +173,7 @@ onMounted(() => {
|
|
position: absolute;
|
|
position: absolute;
|
|
top: 53px;
|
|
top: 53px;
|
|
left: 50%;
|
|
left: 50%;
|
|
|
|
+font-size: 16px;
|
|
transform: translateX(-50%);
|
|
transform: translateX(-50%);
|
|
background: rgba(0, 0, 0, 0.66);
|
|
background: rgba(0, 0, 0, 0.66);
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
|
|
@@ -177,6 +181,7 @@ left: 50%;
|
|
display: none;
|
|
display: none;
|
|
flex-wrap: nowrap;
|
|
flex-wrap: nowrap;
|
|
flex-direction: column;
|
|
flex-direction: column;
|
|
|
|
+ overflow: hidden;
|
|
white-space: nowrap
|
|
white-space: nowrap
|
|
/* min-width: 150px; */
|
|
/* min-width: 150px; */
|
|
}
|
|
}
|