Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
phsl
/
admin
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Unverified
Commit
e6ee0ab4
authored
Oct 02, 2023
by
芋道源码
Committed by
Gitee
Oct 02, 2023
Browse files
Options
Browse Files
Download
Plain Diff
!261 对齐面包屑的图标和文字
Merge pull request !261 from 疯狂的世界/dev
parents
ab95d87c
6515e218
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
src/components/Icon/src/Icon.vue
+1
-0
src/layout/components/Breadcrumb/src/Breadcrumb.vue
+4
-3
No files found.
src/components/Icon/src/Icon.vue
View file @
e6ee0ab4
...
@@ -32,6 +32,7 @@ const getIconifyStyle = computed(() => {
...
@@ -32,6 +32,7 @@ const getIconifyStyle = computed(() => {
const
{
color
,
size
}
=
props
const
{
color
,
size
}
=
props
return
{
return
{
fontSize
:
`
${
size
}
px`
,
fontSize
:
`
${
size
}
px`
,
height
:
'1em'
,
color
color
}
}
})
})
...
...
src/layout/components/Breadcrumb/src/Breadcrumb.vue
View file @
e6ee0ab4
...
@@ -52,10 +52,10 @@ export default defineComponent({
...
@@ -52,10 +52,10 @@ export default defineComponent({
return
(
return
(
<
ElBreadcrumbItem
to
=
{{
path
:
disabled
?
''
:
v
.
path
}}
key
=
{
v
.
name
}
>
<
ElBreadcrumbItem
to
=
{{
path
:
disabled
?
''
:
v
.
path
}}
key
=
{
v
.
name
}
>
{
meta
?.
icon
&&
breadcrumbIcon
.
value
?
(
{
meta
?.
icon
&&
breadcrumbIcon
.
value
?
(
<>
<
div
class
=
"flex items-center"
>
<
Icon
icon
=
{
meta
.
icon
}
class
=
"mr-[2px]"
svgClass
=
"inline-block"
><
/Icon
>
<
Icon
icon
=
{
meta
.
icon
}
class
=
"mr-[2px]"
svgClass
=
"inline-block"
><
/Icon
>
{
t
(
v
?.
meta
?.
title
)}
{
t
(
v
?.
meta
?.
title
)}
<
/
>
<
/
div
>
)
:
(
)
:
(
t
(
v
?.
meta
?.
title
)
t
(
v
?.
meta
?.
title
)
)}
)}
...
@@ -114,9 +114,10 @@ $prefix-cls: #{$elNamespace}-breadcrumb;
...
@@ -114,9 +114,10 @@ $prefix-cls: #{$elNamespace}-breadcrumb;
}
}
}
}
}
}
:deep
(&
__item
)
:last-child
{
:deep
(&
__item
)
:last-child
{
.#{$prefix-cls
}
__inner
{
.#{$prefix-cls
}
__inner
{
display
:
flex
;
align-items
:
center
;
color
:
var
(
--el-text-color-placeholder
);
color
:
var
(
--el-text-color-placeholder
);
&:hover
{
&:hover
{
...
...
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