Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
jinli gu
JSH ERP
Commits
5c10d1ad
Commit
5c10d1ad
authored
Jun 28, 2021
by
季圣华
Browse files
隐藏logo
parent
72998dde
Changes
3
Hide whitespace changes
Inline
Side-by-side
jshERP-web/src/components/page/GlobalHeader.vue
View file @
5c10d1ad
...
@@ -196,7 +196,7 @@
...
@@ -196,7 +196,7 @@
/* dark 样式 */
/* dark 样式 */
&.dark {
&.dark {
color: #
000000
;
color: #
ffffff
;
box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
box-shadow: 0 0 4px rgba(0, 0, 0, 0.2);
background-color: white !important;
background-color: white !important;
}
}
...
...
jshERP-web/src/components/page/GlobalLayout.vue
View file @
5c10d1ad
...
@@ -569,10 +569,10 @@
...
@@ -569,10 +569,10 @@
height: 64px;
height: 64px;
position: relative;
position: relative;
line-height: 64px;
line-height: 64px;
padding-left:
24
px;
padding-left:
10
px;
-webkit-transition: all .3s;
-webkit-transition: all .3s;
transition: all .3s;
transition: all .3s;
background: #
002140
;
background: #
ffffff
;
overflow: hidden;
overflow: hidden;
img, h1 {
img, h1 {
...
@@ -587,7 +587,7 @@
...
@@ -587,7 +587,7 @@
h1 {
h1 {
color: #fff;
color: #fff;
font-size: 18px;
font-size: 18px;
margin: 0 0
0
8px;
margin: 0 0
10px
8px;
font-family: "Chinese Quote", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
font-family: "Chinese Quote", -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
font-weight: 600;
font-weight: 600;
}
}
...
...
jshERP-web/src/components/tools/Logo.vue
View file @
5c10d1ad
<
template
>
<
template
>
<div
class=
"logo"
>
<div
class=
"logo"
>
<router-link
:to=
"
{name:'dashboard'}">
<h1
v-if=
"showTitle"
>
{{
title
}}
</h1>
<!--
<router-link
:to=
"
{name:'dashboard'}">-->
<!-- update-begin- author:sunjianlei --- date:20190814 --- for: logo颜色根据主题颜色变化 -->
<!-- update-begin- author:sunjianlei --- date:20190814 --- for: logo颜色根据主题颜色变化 -->
<img
v-if=
"layoutMode === 'sidemenu'"
src=
"~@/assets/logo.png"
alt=
"logo"
>
<!--
<img
v-if=
"layoutMode === 'sidemenu'"
src=
"~@/assets/logo.png"
alt=
"logo"
>
-->
<img
v-else
src=
"~@/assets/logo_top.png"
alt=
"logo"
>
<!--
<img
v-else
src=
"~@/assets/logo_top.png"
alt=
"logo"
>
-->
<!-- update-begin- author:sunjianlei --- date:20190814 --- for: logo颜色根据主题颜色变化 -->
<!-- update-begin- author:sunjianlei --- date:20190814 --- for: logo颜色根据主题颜色变化 -->
<h1
v-if=
"showTitle"
>
{{
title
}}
</h1>
</router-link>
<!--
</router-link>
-->
</div>
</div>
</
template
>
</
template
>
...
@@ -37,17 +38,22 @@
...
@@ -37,17 +38,22 @@
.sider {
.sider {
box-shadow: none !important;
box-shadow: none !important;
.logo {
.logo {
color: #ffffff;
height: @height !important;
height: @height !important;
line-height: @height !important;
line-height: @height !important;
box-shadow: none !important;
box-shadow: none !important;
transition: background 300ms;
transition: background 300ms;
h1 {
font-size: 24px;
color: #ffffff;
}
a {
a {
color: white;
color: white;
&:hover {
&:hover {
color: rgba(255, 255, 255, 0.8);
color: rgba(255, 255, 255, 0.8);
}
}
}
}
}
}
&.light .logo {
&.light .logo {
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment