Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
肖康
/
cloudSystem
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
505d632a
authored
May 10, 2021
by
肖康
Browse files
Options
_('Browse Files')
Download
Email Patches
Plain Diff
x
parent
373eea6b
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
272 additions
and
209 deletions
src/assets/css/public/common.less
src/assets/css/public/common.min.css
src/components/menu.vue
src/assets/css/public/common.less
View file @
505d632a
...
@@ -15,7 +15,7 @@ html, body {
...
@@ -15,7 +15,7 @@ html, body {
font-style: normal;
font-style: normal;
-webkit-font-smoothing: antialiased;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
-moz-osx-font-smoothing: grayscale;
background: #
f8f8f8
;
background: #
F1F4FA
;
}
}
body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, code, form, fieldset, legend, input, textarea, p, blockquote, th, td, hr, button, article, aside, details, figcaption, figure, footer, header, menu, nav, section {
body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, code, form, fieldset, legend, input, textarea, p, blockquote, th, td, hr, button, article, aside, details, figcaption, figure, footer, header, menu, nav, section {
...
...
src/assets/css/public/common.min.css
View file @
505d632a
html
{
html
{
-webkit-text-size-adjust
:
100%
;
-ms-text-size-adjust
:
100%
}
html
*
{
outline
:
0
;
-webkit-text-size-adjust
:
none
!important
;
-webkit-tap-highlight-color
:
rgba
(
0
,
0
,
0
,
0
)
!important
}
html
,
body
{
font-family
:
PingFangSC-Regular
,
PingFang
SC
,
'Microsoft Yahei'
,
sans-serif
;
font-style
:
normal
;
-webkit-font-smoothing
:
antialiased
;
-moz-osx-font-smoothing
:
grayscale
;
background
:
#F1F4FA
}
body
,
div
,
dl
,
dt
,
dd
,
ul
,
ol
,
li
,
h1
,
h2
,
h3
,
h4
,
h5
,
h6
,
pre
,
code
,
form
,
fieldset
,
legend
,
input
,
textarea
,
p
,
blockquote
,
th
,
td
,
hr
,
button
,
article
,
aside
,
details
,
figcaption
,
figure
,
footer
,
header
,
menu
,
nav
,
section
{
margin
:
0
;
padding
:
0
}
button
,
input
,
select
,
textarea
{
font-size
:
100%
;
border
:
none
;
-webkit-appearance
:
none
}
input
[
type
=
button
],
input
[
type
=
file
],
input
[
type
=
submit
]
{
cursor
:
pointer
}
table
{
border-collapse
:
collapse
;
border-spacing
:
0
}
ol
,
ul
,
dl
{
list-style
:
none
}
h1
,
h2
,
h3
,
h4
,
h5
,
h6
{
font-size
:
100%
;
font-weight
:
500
}
em
,
b
,
i
{
font-style
:
normal
}
a
{
text-decoration
:
none
}
img
{
border
:
none
}
.clr
{
*
zoom
:
1
;
clear
:
both
}
.clr
:after
{
content
:
"."
;
clear
:
both
;
height
:
0
;
visibility
:
hidden
;
display
:
block
}
.fl
{
float
:
left
;
_display
:
inline
}
.fr
{
float
:
right
;
_display
:
inline
}
.va-t
{
vertical-align
:
top
}
.va-m
{
vertical-align
:
middle
}
.va-b
{
vertical-align
:
bottom
}
.lineBlock
{
display
:
inline-block
;
*
display
:
inline
;
zoom
:
1
;
letter-spacing
:
normal
;
word-spacing
:
normal
}
.lbBox
{
font-size
:
0
!important
;
*
word-spacing
:
-1px
!important
}
.boxsiz
{
-webkit-box-sizing
:
border-box
;
box-sizing
:
border-box
}
html
,
body
{
width
:
100%
;
height
:
100%
;
-webkit-overflow-scrolling
:
touch
}
body
{
overflow-x
:
hidden
}
.el-message--info
{
min-width
:
auto
!important
;
border
:
0px
!important
;
background
:
rgba
(
0
,
0
,
0
,
0.4
)
!important
}
.el-message--info
.el-icon-info
{
display
:
none
}
.el-message--info
.el-message__content
{
color
:
#fff
!important
}
-webkit-text-size-adjust
:
100%
;
\ No newline at end of file
-ms-text-size-adjust
:
100%
;
}
html
*
{
outline
:
0
;
-webkit-text-size-adjust
:
none
!important
;
-webkit-tap-highlight-color
:
rgba
(
0
,
0
,
0
,
0
)
!important
;
}
html
,
body
{
font-family
:
PingFangSC-Regular
,
PingFang
SC
,
'Microsoft Yahei'
,
sans-serif
;
font-style
:
normal
;
-webkit-font-smoothing
:
antialiased
;
-moz-osx-font-smoothing
:
grayscale
;
background
:
#f8f8f8
;
}
body
,
div
,
dl
,
dt
,
dd
,
ul
,
ol
,
li
,
h1
,
h2
,
h3
,
h4
,
h5
,
h6
,
pre
,
code
,
form
,
fieldset
,
legend
,
input
,
textarea
,
p
,
blockquote
,
th
,
td
,
hr
,
button
,
article
,
aside
,
details
,
figcaption
,
figure
,
footer
,
header
,
menu
,
nav
,
section
{
margin
:
0
;
padding
:
0
;
}
button
,
input
,
select
,
textarea
{
font-size
:
100%
;
border
:
none
;
-webkit-appearance
:
none
;
}
input
[
type
=
button
],
input
[
type
=
file
],
input
[
type
=
submit
]
{
cursor
:
pointer
;
}
table
{
border-collapse
:
collapse
;
border-spacing
:
0
;
}
ol
,
ul
,
dl
{
list-style
:
none
;
}
h1
,
h2
,
h3
,
h4
,
h5
,
h6
{
font-size
:
100%
;
font-weight
:
500
;
}
em
,
b
,
i
{
font-style
:
normal
;
}
a
{
text-decoration
:
none
;
}
img
{
border
:
none
;
}
.clr
{
*
zoom
:
1
;
clear
:
both
;
}
.clr
:after
{
content
:
"."
;
clear
:
both
;
height
:
0
;
visibility
:
hidden
;
display
:
block
;
}
.fl
{
float
:
left
;
_display
:
inline
;
}
.fr
{
float
:
right
;
_display
:
inline
;
}
.va-t
{
vertical-align
:
top
;
}
.va-m
{
vertical-align
:
middle
;
}
.va-b
{
vertical-align
:
bottom
;
}
.lineBlock
{
display
:
inline-block
;
*
display
:
inline
;
zoom
:
1
;
letter-spacing
:
normal
;
word-spacing
:
normal
;
}
.lbBox
{
font-size
:
0
!important
;
*
word-spacing
:
-1px
!important
;
}
.boxsiz
{
-webkit-box-sizing
:
border-box
;
box-sizing
:
border-box
;
}
html
,
body
{
width
:
100%
;
height
:
100%
;
-webkit-overflow-scrolling
:
touch
;
}
body
{
overflow-x
:
hidden
;
}
/**element-ui 样式重写**/
.el-message--info
{
min-width
:
auto
!important
;
border
:
0px
!important
;
background
:
rgba
(
0
,
0
,
0
,
0.4
)
!important
;
}
.el-message--info
.el-icon-info
{
display
:
none
;
}
.el-message--info
.el-message__content
{
color
:
#fff
!important
;
}
/*# sourceMappingURL=common.min.css.map */
\ No newline at end of file
src/components/menu.vue
View file @
505d632a
<
template
>
<
template
>
<div
class=
"meau-yx"
>
<div
class=
"nav-box"
>
<div
class=
"logo"
>
云芯系统
</div>
<div
class=
"nav-top"
>
<i>
展开
</i>
<div
class=
"con-box clr"
>
<div
class=
"meau-con"
>
<div
class=
"logo fl"
>
云芯系统
</div>
<div
class=
"tab-box fl"
></div>
<el-menu
default-active=
"2"
class=
"el-menu-vertical-demo"
active-text-color=
"#1969F9"
>
<div
class=
"user-box fr"
>
<el-submenu
index=
"1"
>
<div
class=
"line"
></div>
<template
slot=
"title"
>
<a
class=
"msgh fl"
href=
"#"
>
<i
class=
"el-icon-location"
></i>
<span
class=
"icon iconfont"
>
</span>
<span>
导航一
</span>
<font>
55
</font>
</
template
>
</a>
<el-menu-item-group>
<div
class=
"line"
></div>
<el-menu-item
index=
"1-1"
>
选项1
</el-menu-item>
<a
href=
"#"
class=
"fl"
><span
class=
"icon iconfont fl"
>
</span></a>
<el-menu-item
index=
"1-2"
>
选项2
</el-menu-item>
<div
class=
"line"
></div>
</el-menu-item-group>
<div
class=
"login-v fl"
>
</el-submenu>
<img
class=
"fl"
src=
"http://img.ichunt.com/test/images/ichunt/9f/34/9f349b1400f659e5ad270412d4dbe160.jpg"
<el-menu-item
index=
"2"
>
alt=
""
>
<i
class=
"el-icon-menu"
></i>
<div
class=
"fl namex"
>
460053411@qq.com
</div>
<span
slot=
"title"
>
导航二
</span>
<div
class=
"fl lo-box-drop"
>
</el-menu-item>
<span
class=
"icon iconfont"
>
</span>
<el-menu-item
index=
"3"
>
<div
class=
"drop-box"
>
<i
class=
"el-icon-setting"
></i>
<a
href=
"#"
>
修改密码
</a>
<span
slot=
"title"
>
导航三
</span>
<a
href=
"#"
>
退出登录
</a>
</el-menu-item>
</div>
</el-menu>
</div>
</div>
</div>
</div>
</div>
<div
class=
"nav-left"
>
<div
class=
"meau-con"
>
<div
class=
"zankai"
>
<span
class=
"icon iconfont fr"
>
</span>
</div>
<el-menu
default-active=
"2"
class=
"el-menu-vertical-demo"
active-text-color=
"#1969F9"
>
<el-menu-item
index=
"1"
>
<template
slot=
"title"
>
<span
class=
"icon iconfont"
>
</span>
<span>
概况
</span>
</
template
>
</el-menu-item>
<el-submenu
index=
"2"
>
<
template
slot=
"title"
>
<span
class=
"icon iconfont"
>
</span>
<span
slot=
"title"
>
报价管理
</span>
</
template
>
<el-menu-item-group>
<el-menu-item
index=
"2-1"
>
询价管理
</el-menu-item>
<el-menu-item
index=
"2-2"
>
报价管理
</el-menu-item>
</el-menu-item-group>
</el-submenu>
<el-submenu
index=
"3"
>
<
template
slot=
"title"
>
<span
class=
"icon iconfont"
>
</span>
<span
slot=
"title"
>
库存管理
</span>
</
template
>
<el-menu-item-group>
<el-menu-item
index=
"3-1"
>
库存列表
</el-menu-item>
<el-menu-item
index=
"3-2"
>
库存导入
</el-menu-item>
</el-menu-item-group>
</el-submenu>
<el-submenu
index=
"4"
>
<
template
slot=
"title"
>
<span
class=
"icon iconfont"
>
</span>
<span
slot=
"title"
>
商品管理
</span>
</
template
>
<el-menu-item-group>
<el-menu-item
index=
"4-1"
>
商品列表
</el-menu-item>
<el-menu-item
index=
"4-2"
>
品牌列表
</el-menu-item>
</el-menu-item-group>
</el-submenu>
<el-submenu
index=
"5"
>
<
template
slot=
"title"
>
<span
class=
"icon iconfont"
>
</span>
<span
slot=
"title"
>
用户中心
</span>
</
template
>
<el-menu-item-group>
<el-menu-item
index=
"5-1"
>
基本信息
</el-menu-item>
</el-menu-item-group>
</el-submenu>
</el-menu>
</div>
</div>
</div>
</div>
</div>
</template>
</template>
<
script
>
<
script
>
...
@@ -57,46 +119,210 @@
...
@@ -57,46 +119,210 @@
<
style
lang=
"less"
>
<
style
lang=
"less"
>
#app
{
#app
{
padding-left
:
220px
;
padding-left
:
226px
;
padding-top
:
56px
;
}
}
.meau-yx
{
.nav-top
{
width
:
226px
;
background
:
#fff
;
position
:
fixed
;
position
:
fixed
;
left
:
0px
;
left
:
0px
;
top
:
0px
;
top
:
0px
;
bottom
:
0px
;
right
:
0px
;
.logo{
height
:
56px
;
.con-box
{
height
:
56px
;
height
:
56px
;
line-height
:
56px
;
background
:
#fff
;
font-weight
:
bold
;
color
:
#fff
;
text-align
:
center
;
background
:
#1969F9
;
box-shadow
:
0px
2px
42px
-8px
rgba
(
206
,
214
,
219
,
0.5
);
box-shadow
:
0px
2px
42px
-8px
rgba
(
206
,
214
,
219
,
0.5
);
.logo
{
height
:
56px
;
width
:
226px
;
line-height
:
56px
;
font-weight
:
bold
;
color
:
#fff
;
text-align
:
center
;
background
:
#1969F9
;
box-shadow
:
0px
2px
42px
-8px
rgba
(
206
,
214
,
219
,
0.5
);
}
.user-box
{
height
:
40px
;
padding
:
8px
0
;
line-height
:
40px
;
padding-right
:
36px
;
color
:
#A1ACC1
;
a
{
color
:
#A1ACC1
;
&:hover
{
.icon
{
color
:
#1969F9
;
}
}
}
.icon
{
font-size
:
24px
;
transition
:
all
0.5s
;
}
.line
{
width
:
1px
;
height
:
40px
;
background
:
#E5EBF6
;
float
:
left
;
margin-left
:
16px
;
margin-right
:
16px
;
}
.msgh
{
position
:
relative
;
font
{
position
:
absolute
;
width
:
19px
;
height
:
14px
;
background
:
#1969F9
;
border-radius
:
7px
;
text-align
:
center
;
line-height
:
14px
;
font-size
:
10px
;
color
:
#fff
;
left
:
15px
;
}
}
.login-v
{
img
{
width
:
35px
;
height
:
35px
;
border-radius
:
35px
;
}
.namex
{
margin-left
:
10px
;
margin-right
:
10px
;
font-size
:
12px
;
}
.lo-box-drop
{
position
:
relative
;
cursor
:
pointer
;
.drop-box
{
display
:
none
;
position
:
absolute
;
width
:
94px
;
height
:
55px
;
padding
:
12px
0
;
left
:
-66px
;
background
:
#FFFFFF
;
box-shadow
:
1px
2px
10px
0px
rgba
(
119
,
135
,
145
,
0.5
);
&::after
{
content
:
""
;
border-style
:
solid
;
border-color
:
transparent
transparent
#fff
transparent
;
border-width
:
7px
;
position
:
absolute
;
top
:
-13px
;
left
:
72px
;
}
a
{
display
:
block
;
width
:
94px
;
height
:
28px
;
line-height
:
28px
;
text-align
:
center
;
font-size
:
14px
;
color
:
#646B78
;
&:hover
{
background
:
#E7F3FF
;
}
}
}
&
:hover
{
.icon
{
color
:
#1969F9
;
}
.drop-box
{
display
:
block
;
}
}
}
}
}
}
}
}
.nav-left
{
width
:
226px
;
background
:
#fff
;
position
:
fixed
;
left
:
0px
;
top
:
56px
;
bottom
:
0px
;
.meau-con
{
.meau-con
{
width
:
100%
;
width
:
100%
;
overflow
:
auto
;
overflow
:
auto
;
height
:
100vh
;
height
:
100%
;
.zankai
{
height
:
26px
;
font-size
:
18px
;
color
:
#646B78
;
line-height
:
26px
;
padding-right
:
17px
;
span
{
cursor
:
pointer
;
}
}
.el-menu{
.el-menu-item
,
border
:
0px
;
.el-submenu__title
{
.el-menu-item,.el-submenu__title{
height
:
46px
;
font-size
:
16px
;
color
:
#646B78
;
line-height
:
42px
;
padding-left
:
37px
!important
;
.iconfont{
font-size
:
20px
;
color
:
#646B78
;
margin-right
:
14px
;
}
}
.el-menu
{
border
:
0px
;
.el-menu-item,
.el-submenu__title
{
font-size
:
16px
;
color
:
#646B78
;
}
}
}
}
&
::-webkit-scrollbar
{
&
::-webkit-scrollbar
{
width
:
18px
;
width
:
18px
;
}
}
&
::-webkit-scrollbar-thumb
{
&
::-webkit-scrollbar-thumb
{
border-radius
:
8px
;
border-radius
:
8px
;
background
:
#fff
;
background
:
#fff
;
width
:
10px
;
width
:
10px
;
-webkit-box-shadow
:
inset
0
0
8px
rgba
(
0
,
0
,
0
,
0.2
);
-webkit-box-shadow
:
inset
0
0
8px
rgba
(
0
,
0
,
0
,
0.2
);
}
}
&
::-webkit-scrollbar-track
{
&
::-webkit-scrollbar-track
{
border-radius
:
0
;
border-radius
:
0
;
background
:
#D2D9E7
;
background
:
#D2D9E7
;
...
...
Write
Preview
Markdown
is supported
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