diff --git a/docs/docs/zh-CN/components/breadcrumb.md b/docs/docs/zh-CN/components/breadcrumb.md index cc540699..fa2ec8bc 100644 --- a/docs/docs/zh-CN/components/breadcrumb.md +++ b/docs/docs/zh-CN/components/breadcrumb.md @@ -49,10 +49,10 @@ export default { ::: demo @@ -77,3 +77,11 @@ export default { | | | | | --------- | ------ | --- | | separator | 分割符 | `/` | + +::: field breadcrumb slots + +::: + +| | | | +| --------- | ------ | --- | +| default | 默认插槽 | `--` | diff --git a/src/css/layui.css b/src/css/layui.css index a69dbc6f..a590c377 100644 --- a/src/css/layui.css +++ b/src/css/layui.css @@ -4929,11 +4929,15 @@ body .layui-table-tips .layui-layer-content { color: #5fb878 !important; } -.layui-breadcrumb a cite { - color: #999; +.layui-breadcrumb a:nth-last-child(2) { + color: #666; font-style: normal; } +.layui-breadcrumb span:last-child { + display: none; +} + .layui-breadcrumb span[lay-separator] { margin: 0 10px; color: #ccc; diff --git a/src/module/breadcrumb/index.vue b/src/module/breadcrumb/index.vue index 3c7c2618..9eb03264 100644 --- a/src/module/breadcrumb/index.vue +++ b/src/module/breadcrumb/index.vue @@ -5,7 +5,7 @@