update 系统左上角logo修改

This commit is contained in:
赵霄
2023-12-15 15:34:29 +08:00
parent 2d9e2d8c6e
commit d04ba1936d
3 changed files with 13 additions and 3 deletions
+13 -3
View File
@@ -7,9 +7,9 @@
<!-- <img v-else src="~@/assets/logo.png" alt="logo">-->
<!-- update-begin- author:sunjianlei --- date:20190814 --- for: logo颜色根据主题颜色变化 -->
<img v-if="showTitle" src='../../assets/image/analysisLogo.png' alt="logo"/>
<img v-if="showTitle" src='../../assets/image/logoExpand.png' alt="logo" />
<!--<img src="~@/assets/image/analysisLogo.png" alt="logo">-->
<h1 v-else>{{ title }}</h1>
<img v-else src="../../assets/image/logoFold.png" />
</router-link>
</div>
</template>
@@ -45,15 +45,18 @@ export default {
.sider {
box-shadow: none !important;
.h1-logo {
padding-left: 10px;
padding: 0 12px !important;
}
.logo {
height: @height !important;
line-height: @height !important;
box-shadow: 1px 0px 0 0 #e8e8e8 !important;
transition: background 300ms;
background-color: transparent !important;
padding: 0 24px 0 0;
h1 {
color: @primary-color !important;
@@ -61,8 +64,15 @@ export default {
}
a {
width: 100%;
display: inline-block;
color: white;
img {
width: 100%;
height: auto;
}
&:hover {
color: rgba(255, 255, 255, 0.8);
}