diff --git a/src/goods-action-button/index.less b/src/goods-action-button/index.less index e3fcc5bf6..0bb7bbbbb 100644 --- a/src/goods-action-button/index.less +++ b/src/goods-action-button/index.less @@ -9,12 +9,14 @@ &--first { margin-left: 5px; - border-radius: @border-radius-max 0 0 @border-radius-max; + border-top-left-radius: @border-radius-max; + border-bottom-left-radius: @border-radius-max; } &--last { margin-right: 5px; - border-radius: 0 @border-radius-max @border-radius-max 0; + border-top-right-radius: @border-radius-max; + border-bottom-right-radius: @border-radius-max; } &--warning { diff --git a/src/goods-action/README.md b/src/goods-action/README.md index 40ebb9d00..fe3c623cf 100644 --- a/src/goods-action/README.md +++ b/src/goods-action/README.md @@ -19,16 +19,8 @@ Vue.use(GoodsActionIcon); - - + + ``` @@ -56,8 +48,8 @@ Use `badge` prop to show badge in icon - - + + ``` @@ -68,8 +60,8 @@ Use `badge` prop to show badge in icon - - + + ``` @@ -79,8 +71,8 @@ Use `badge` prop to show badge in icon - - + + ``` diff --git a/src/goods-action/README.zh-CN.md b/src/goods-action/README.zh-CN.md index 6ec54edcd..5740dc931 100644 --- a/src/goods-action/README.zh-CN.md +++ b/src/goods-action/README.zh-CN.md @@ -19,11 +19,7 @@ Vue.use(GoodsActionIcon); - + - 购物车 -