diff --git a/package/component/src/component/buttonGroup/index.less b/package/component/src/component/buttonGroup/index.less index 278681a8..3db5a8d6 100644 --- a/package/component/src/component/buttonGroup/index.less +++ b/package/component/src/component/buttonGroup/index.less @@ -14,8 +14,15 @@ border-radius: 0; } -.layui-btn-group .layui-btn:not(:first-child) { - border-left: none; +.layui-btn-group .layui-btn:not(:last-child) { + border-right: none !important; +} + +.layui-btn-group .layui-btn.layui-btn-primary:not(:first-child), +.layui-btn-group .layui-btn.layui-btn-normal:not(:first-child), +.layui-btn-group .layui-btn.layui-btn-warm:not(:first-child), +.layui-btn-group .layui-btn.layui-btn-danger:not(:first-child) { + border-left: 1px solid rgba(255, 255, 255, .5) } .layui-btn-group .layui-btn:first-child { diff --git a/package/document-component/src/document/zh-CN/components/button.md b/package/document-component/src/document/zh-CN/components/button.md index 0a9b7046..5fb24b0e 100644 --- a/package/document-component/src/document/zh-CN/components/button.md +++ b/package/document-component/src/document/zh-CN/components/button.md @@ -187,6 +187,11 @@ export default { 默认按钮 默认按钮 + + 默认按钮 + 默认按钮 + 默认按钮 +