Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
bdc
/
bdcjg-web
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
1ff07996
authored
2023-02-10 15:11:50 +0800
by
任超
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
style:面包屑
1 parent
c7fbdbbf
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
13 additions
and
17 deletions
src/components/Breadcrumb.vue
src/image/breadcrumb.png
src/components/Breadcrumb.vue
View file @
1ff0799
<
template
>
<div
class=
"breadcrumb-con"
>
<el-breadcrumb
class=
"breadcrumb"
separator-class=
"el-icon-arrow-right"
>
<span
class=
"fl"
>
当前页面:
</span>
<transition-group
name=
"breadcrumb"
>
<el-breadcrumb-item
v-for=
"(item, index) in levelList"
:key=
"item.path"
>
<span
@
click
.
prevent=
"handleLink(item)"
>
{{
item
.
meta
.
title
}}
</span>
</el-breadcrumb-item>
</transition-group>
</el-breadcrumb>
</div>
<el-breadcrumb
class=
"breadcrumb"
separator-class=
"el-icon-arrow-right"
>
<span
class=
"fl"
>
当前页面:
</span>
<transition-group
name=
"breadcrumb"
>
<el-breadcrumb-item
v-for=
"(item, index) in levelList"
:key=
"item.path"
>
<span
@
click
.
prevent=
"handleLink(item)"
>
{{
item
.
meta
.
title
}}
</span>
</el-breadcrumb-item>
</transition-group>
</el-breadcrumb>
</
template
>
<
script
>
...
...
@@ -57,16 +55,14 @@ export default {
</
script
>
<
style
lang=
"scss"
scoped
>
.breadcrumb-con
{
padding-bottom
:
5px
;
border-bottom
:
1px
solid
#458ACF
;
margin
:
8px
0
;
}
.breadcrumb
{
text-indent
:
10px
;
background
:
linear-gradient
(
90deg
,
#0047B8
0%
,
rgba
(
0
,
26
,
95
,
0.1
)
100%
);
background
:
url("~@/image/breadcrumb.png")
no-repeat
;
background-size
:
100%
100%
;
line-height
:
32px
;
height
:
32px
;
padding-left
:
35px
;
margin
:
8px
0
8px
6px
;
color
:
#02D9FD
;
}
...
...
src/image/breadcrumb.png
0 → 100644
View file @
1ff0799
170 KB
Please
register
or
sign in
to post a comment