导航栏优化
This commit is contained in:
@@ -19,15 +19,8 @@ export default defineConfig({
|
||||
},
|
||||
nav: [
|
||||
// { text: '文档', link: '/document/index' },
|
||||
{
|
||||
text: '文档',
|
||||
items: [
|
||||
{
|
||||
text: 'Devstar介绍文档',
|
||||
link: '/devstar'
|
||||
},
|
||||
]
|
||||
},
|
||||
//
|
||||
{ text: 'Devstar', link: '/devstar' },
|
||||
{ text: 'Cloudbuild', link: '/cloudbuild' },
|
||||
{ text: 'Simulator', link: '/simulator' },
|
||||
{ text: 'Enterprise', link: '/enterprise' },
|
||||
|
@@ -108,7 +108,6 @@ export default {
|
||||
<style scoped>
|
||||
/* 基础布局 */
|
||||
.tencent-showcase {
|
||||
background: white;
|
||||
height: 200px;
|
||||
}
|
||||
|
||||
@@ -195,7 +194,6 @@ export default {
|
||||
}
|
||||
.wrap-footer {
|
||||
margin-top: 50px;
|
||||
background: white;
|
||||
}
|
||||
.footer {
|
||||
display: flex;
|
||||
@@ -203,7 +201,7 @@ export default {
|
||||
align-items: center;
|
||||
padding: 20px 20px 20px 0;
|
||||
/* padding: 20px; */
|
||||
background-color: white;
|
||||
/* background-color: white; */
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
@@ -228,11 +226,9 @@ export default {
|
||||
align-items: center;
|
||||
margin-right: -10px;
|
||||
}
|
||||
|
||||
/* 白天情况下正常显示 */
|
||||
.logo-char {
|
||||
color: white;
|
||||
font-weight: bold;
|
||||
font-size: 20px;
|
||||
filter: none;
|
||||
}
|
||||
|
||||
.brand-name {
|
||||
@@ -318,4 +314,15 @@ export default {
|
||||
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>
|
@@ -3,6 +3,9 @@
|
||||
|
||||
## 从vECU到整车仿真
|
||||

|
||||
<br>
|
||||
<br>
|
||||
|
||||

|
||||
|
||||
## 整车系统级软硬件联合仿真
|
||||
|
Reference in New Issue
Block a user