导航栏优化

This commit is contained in:
2025-09-13 14:24:32 +08:00
parent 01fcc938a4
commit 05d28f977f
3 changed files with 19 additions and 16 deletions

View File

@@ -19,15 +19,8 @@ export default defineConfig({
}, },
nav: [ nav: [
// { text: '文档', link: '/document/index' }, // { text: '文档', link: '/document/index' },
{ //
text: '文档', { text: 'Devstar', link: '/devstar' },
items: [
{
text: 'Devstar介绍文档',
link: '/devstar'
},
]
},
{ text: 'Cloudbuild', link: '/cloudbuild' }, { text: 'Cloudbuild', link: '/cloudbuild' },
{ text: 'Simulator', link: '/simulator' }, { text: 'Simulator', link: '/simulator' },
{ text: 'Enterprise', link: '/enterprise' }, { text: 'Enterprise', link: '/enterprise' },

View File

@@ -108,7 +108,6 @@ export default {
<style scoped> <style scoped>
/* 基础布局 */ /* 基础布局 */
.tencent-showcase { .tencent-showcase {
background: white;
height: 200px; height: 200px;
} }
@@ -195,7 +194,6 @@ export default {
} }
.wrap-footer { .wrap-footer {
margin-top: 50px; margin-top: 50px;
background: white;
} }
.footer { .footer {
display: flex; display: flex;
@@ -203,7 +201,7 @@ export default {
align-items: center; align-items: center;
padding: 20px 20px 20px 0; padding: 20px 20px 20px 0;
/* padding: 20px; */ /* padding: 20px; */
background-color: white; /* background-color: white; */
width: 100%; width: 100%;
box-sizing: border-box; box-sizing: border-box;
} }
@@ -228,11 +226,9 @@ export default {
align-items: center; align-items: center;
margin-right: -10px; margin-right: -10px;
} }
/* 白天情况下正常显示 */
.logo-char { .logo-char {
color: white; filter: none;
font-weight: bold;
font-size: 20px;
} }
.brand-name { .brand-name {
@@ -318,4 +314,15 @@ export default {
height: 180px; height: 180px;
} }
} }
@media (prefers-color-scheme: dark) {
.logo-char img {
filter: brightness(0.3) invert(1) hue-rotate(180deg);
/*
brightness(0.3): 降低亮度
invert(1): 颜色反转(白变黑)
hue-rotate(180deg): 调整色相避免偏色
*/
}
}
</style> </style>

View File

@@ -3,6 +3,9 @@
## 从vECU到整车仿真 ## 从vECU到整车仿真
![alt text](/public/simulator/image-1.png) ![alt text](/public/simulator/image-1.png)
<br>
<br>
![alt text](/public/simulator/image-2.png) ![alt text](/public/simulator/image-2.png)
## 整车系统级软硬件联合仿真 ## 整车系统级软硬件联合仿真