修改文档拆分--查看--左侧目录--编辑

This commit is contained in:
范强强
2024-03-07 15:30:54 +08:00
parent 95af32c9c4
commit e559e3d6e0
+14 -5
View File
@@ -6,10 +6,11 @@
<!-- <img v-if="navTheme === 'dark'" src="~@/assets/logo.png" alt="logo">--> <!-- <img v-if="navTheme === 'dark'" src="~@/assets/logo.png" alt="logo">-->
<!-- <img v-else src="~@/assets/logo.png" alt="logo">--> <!-- <img v-else src="~@/assets/logo.png" alt="logo">-->
<!-- update-begin- author:sunjianlei --- date:20190814 --- for: logo颜色根据主题颜色变化 --> <!-- update-begin- author:sunjianlei --- date:20190814 --- for: logo颜色根据主题颜色变化 -->
<span v-if="showTitle">拆分对比工具</span>
<img v-if="showTitle" src='../../assets/image/logoExpand.png' alt="logo" /> <span v-else class="noTitle">拆分对比工具</span>
<!-- <img v-if="showTitle" src='../../assets/image/logoExpand.png' alt="logo" />-->
<!--<img src="~@/assets/image/analysisLogo.png" alt="logo">--> <!--<img src="~@/assets/image/analysisLogo.png" alt="logo">-->
<img v-else src="../../assets/image/logoFold.png" /> <!-- <img v-else src="../../assets/image/logoFold.png" />-->
</router-link> </router-link>
</div> </div>
</template> </template>
@@ -57,6 +58,7 @@ export default {
transition: background 300ms; transition: background 300ms;
background-color: transparent !important; background-color: transparent !important;
padding: 0 24px 0 0; padding: 0 24px 0 0;
text-align: center;
h1 { h1 {
color: @primary-color !important; color: @primary-color !important;
@@ -66,7 +68,11 @@ export default {
a { a {
width: 100%; width: 100%;
display: inline-block; display: inline-block;
color: white; /*color: #000;*/
font-weight: bold;
font-size: 16px;
/*color: white;*/
img { img {
width: 100%; width: 100%;
@@ -74,7 +80,7 @@ export default {
} }
&:hover { &:hover {
color: rgba(255, 255, 255, 0.8); /*color: rgba(255, 255, 255, 0.8);*/
} }
} }
} }
@@ -83,4 +89,7 @@ export default {
background-color: @primary-color; background-color: @primary-color;
} }
} }
.noTitle{
font-size: 12px;
}
</style> </style>