Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-base
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 434dd065
authored
Aug 24, 2023
by
liimin
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
优化一些显示
1 parent
0630c826
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
14 additions
and
14 deletions
src/assets/style/collapse.scss
src/assets/style/variables.scss
src/assets/style/variables.scss.js
src/layout/components/NavUpdateLog.vue
src/layout/components/SubMenu.vue
src/assets/style/collapse.scss
View file @
434dd06
...
@@ -7,9 +7,9 @@
...
@@ -7,9 +7,9 @@
display
:
none
;
display
:
none
;
}
}
}
}
&
.is-opened
{
//
&.is-opened {
margin-bottom
:
$menu-item-mb
;
//
margin-bottom: $menu-item-mb;
}
//
}
}
}
.el-menu-item
{
.el-menu-item
{
&
.is-menu
{
&
.is-menu
{
...
...
src/assets/style/variables.scss
View file @
434dd06
...
@@ -3,7 +3,7 @@ $header-height: 48px;
...
@@ -3,7 +3,7 @@ $header-height: 48px;
$header-background
:
#a3b6c6
;
$header-background
:
#a3b6c6
;
$header-color
:
#fff
;
$header-color
:
#fff
;
$header-padding
:
15px
;
$header-padding
:
15px
;
$logo-height
:
1
33
px
;
$logo-height
:
1
24
px
;
// 左侧菜单样式变量
// 左侧菜单样式变量
$menu-background
:
#2a3f54
;
$menu-background
:
#2a3f54
;
$menu-color
:
#fff
;
$menu-color
:
#fff
;
...
...
src/assets/style/variables.scss.js
View file @
434dd06
...
@@ -22,7 +22,7 @@ module.exports = {
...
@@ -22,7 +22,7 @@ module.exports = {
header_background
:
'#a3b6c6'
,
header_background
:
'#a3b6c6'
,
header_color
:
'#fff'
,
header_color
:
'#fff'
,
header_padding
:
'15px'
,
header_padding
:
'15px'
,
logo_height
:
'1
33
px'
,
logo_height
:
'1
24
px'
,
// 左侧菜单样式变量
// 左侧菜单样式变量
menu_background
:
'#2a3f54'
,
menu_background
:
'#2a3f54'
,
menu_color
:
'#fff'
,
menu_color
:
'#fff'
,
...
...
src/layout/components/NavUpdateLog.vue
View file @
434dd06
<
template
>
<
template
>
<div
class=
"com-up-log"
>
<div
class=
"com-up-log"
>
<a
:href=
"v.link"
target=
"blank"
@
click=
"clickHandler()"
>
更新日志
</a>
<a
:href=
"v.link"
target=
"blank"
@
click=
"clickHandler()"
:class=
"
{ isNew: v.isNew }">更新日志
</a>
<span
class=
"isNew"
v-if=
"v.isNew"
>
New
</span>
</div>
</div>
</
template
>
</
template
>
...
@@ -46,7 +45,8 @@ export default {
...
@@ -46,7 +45,8 @@ export default {
.com-up-log
{
.com-up-log
{
position
:
relative
;
position
:
relative
;
margin-right
:
6px
;
margin-right
:
6px
;
.isNew
{
.
isNew
:
after
{
content
:
'New'
;
position
:
absolute
;
position
:
absolute
;
width
:
30px
;
width
:
30px
;
height
:
16px
;
height
:
16px
;
...
...
src/layout/components/SubMenu.vue
View file @
434dd06
...
@@ -9,7 +9,7 @@
...
@@ -9,7 +9,7 @@
</div>
</div>
</div>
</div>
<!-- 有二级菜单的一级菜单 -->
<!-- 有二级菜单的一级菜单 -->
<el-submenu
v-else
:index=
"item.id"
@
mouseenter
.
native
.
stop=
"mouseenter(item)"
@
mouseleave
.
native
.
stop=
"mouseleave"
popper-class=
"el-submenu-popper-base"
>
<el-submenu
v-else
:index=
"item.id"
@
mouseenter
.
native
.
stop=
"mouseenter(item)"
@
mouseleave
.
native
.
stop=
"mouseleave"
popper-class=
"el-submenu-popper-base"
hide-timeout=
"0"
show-timeout=
"0"
>
<template
slot=
"title"
>
<template
slot=
"title"
>
<i
class=
"i"
:class=
"genClass(item)"
></i>
<i
class=
"i"
:class=
"genClass(item)"
></i>
<span
slot=
"title"
>
{{
item
.
title
}}
</span>
<span
slot=
"title"
>
{{
item
.
title
}}
</span>
...
@@ -79,12 +79,12 @@ export default {
...
@@ -79,12 +79,12 @@ export default {
min-height
:
20px
;
min-height
:
20px
;
}
}
/
deep
/
.el-submenu
{
/
deep
/
.el-submenu
{
&:not(.is-opened)
{
//
&:not(.is-opened)
{
margin-bottom
:
$
menu-item-mb
;
//
margin-bottom
:
$
menu-item-mb
;
}
//
}
&
__title
{
&
__title
{
height
:
4
0px
;
height
:
6
0px
;
line-height
:
4
0px
;
line-height
:
6
0px
;
background-color
:
transparent
!important
;
background-color
:
transparent
!important
;
border-radius
:
4px
;
border-radius
:
4px
;
padding-left
:
28px
!important
;
padding-left
:
28px
!important
;
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment