From bf287502e43a13ad55cb6b5b91f73fa61c77ad1f Mon Sep 17 00:00:00 2001 From: rex Date: Mon, 2 Mar 2020 14:49:24 +0800 Subject: [PATCH] fix(GoodsActionButton): fix style error in single action button (#2808) fix #2786 --- packages/goods-action-button/index.less | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/packages/goods-action-button/index.less b/packages/goods-action-button/index.less index a65d8d2e..a71d4b60 100644 --- a/packages/goods-action-button/index.less +++ b/packages/goods-action-button/index.less @@ -6,7 +6,10 @@ } .van-goods-action-button { - .theme(--button-warning-background-color, '@goods-action-button-warning-color'); + .theme( + --button-warning-background-color, + '@goods-action-button-warning-color' + ); .theme(--button-danger-background-color, '@goods-action-button-danger-color'); .theme(--button-default-height, '@goods-action-button-height'); .theme(--button-line-height, '@goods-action-button-height'); @@ -33,6 +36,10 @@ ); } + &--first&--last { + .theme(--button-border-radius, '@goods-action-button-border-radius'); + } + &--plain { --button-border-width: @button-border-width; }