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
+1 -1
View File
@@ -139,7 +139,7 @@ export default {
methods: {
// update-begin-author:sunjianlei date:20200120 for: 动态更改页面标题
changeTitle (title) {
const projectTitle = 'Jero-Boot 企业级快速开发平台'
const projectTitle = '中国重汽标准法规管理模块系统'
// 首页特殊处理
if (this.$route.path === indexKey) {
document.title = projectTitle
+7 -7
View File
@@ -2,13 +2,13 @@
<div id="userLayout" :class="['user-layout-wrapper',device]">
<div :class="!mobile ? 'container' : 'container-mobile'">
<div class="top" id="top" v-if="!mobile">
<div class="logo">
<img id="logo" src="~@/assets/logo.png" alt="">
</div>
<div id="company">
<span id="c-company">合众未来</span>
<span id="p-company">HEZHONGWEILAI</span>
</div>
<!-- <div class="logo">-->
<!-- <img id="logo" src="~@/assets/logo.png" alt="">-->
<!-- </div>-->
<!-- <div id="company">-->
<!-- <span id="c-company">合众未来</span>-->
<!-- <span id="p-company">HEZHONGWEILAI</span>-->
<!-- </div>-->
</div>
<div v-if="mobile">
<span class="top-bg"><img src="~/@assets/mobileBg.png" alt=""></span>
+3 -3
View File
@@ -17,7 +17,7 @@
:type="collapsed ? 'menu-unfold' : 'menu-fold'"
@click="toggle"/>
<span v-if="device === 'desktop'">欢迎进入 Jero-Boot 平台</span>
<span v-if="device === 'desktop'">中国重汽标准法规管理模块系统</span>
<span v-else>Jero-Boot</span>
<user-menu :theme="theme"/>
@@ -192,9 +192,9 @@ export default {
.header {
z-index: 2;
color: white;
color: #1D2129;
height: @height;
background-color: @primary-color;
background-color: white;
transition: background 300ms;
/* dark 样式 */
+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>