update 系统名称、样式修改;在线编辑挪到登录页面

This commit is contained in:
赵霄
2023-08-25 14:51:06 +08:00
parent 5d956fdaf7
commit 731e320a23
10 changed files with 107 additions and 54 deletions
+28 -21
View File
@@ -3,8 +3,8 @@
<router-link :to="routerLinkTo">
<!-- update-begin- author:sunjianlei --- date:20190814 --- for: logo颜色根据主题颜色变化 -->
<img v-if="navTheme === 'dark'" src="~@/assets/logo.png" alt="logo">
<img v-else 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">-->
<!-- update-begin- author:sunjianlei --- date:20190814 --- for: logo颜色根据主题颜色变化 -->
<h1 v-if="showTitle">{{ title }}</h1>
@@ -21,7 +21,7 @@ export default {
props: {
title: {
type: String,
default: 'Jero-Boot Pro',
default: '研发云平台',
required: false
},
showTitle: {
@@ -38,27 +38,34 @@ export default {
}
</script>
<style lang="less" scoped>
/*缩小首页布 局顶部的高度*/
@height: 59px;
/*缩小首页布 局顶部的高度*/
@height: 59px;
.sider {
box-shadow: none !important;
.logo {
height: @height !important;
line-height: @height !important;
box-shadow: none !important;
transition: background 300ms;
.sider {
box-shadow: none !important;
a {
color: white;
&:hover {
color: rgba(255, 255, 255, 0.8);
}
.logo {
height: @height !important;
line-height: @height !important;
box-shadow: 1px 0px 0 0 #e8e8e8 !important;
transition: background 300ms;
background-color: transparent !important;
h1 {
color: #222222 !important;
}
a {
color: white;
&:hover {
color: rgba(255, 255, 255, 0.8);
}
}
&.light .logo {
background-color: @primary-color;
}
}
&.light .logo {
background-color: @primary-color;
}
}
</style>