diff --git a/packages/goods-action-button/index.ts b/packages/goods-action-button/index.ts index 5f5c1d6d..e2d2605e 100644 --- a/packages/goods-action-button/index.ts +++ b/packages/goods-action-button/index.ts @@ -11,6 +11,10 @@ VantComponent({ props: { text: String, color: String, + size: { + type: String, + value: 'normal', + }, loading: Boolean, disabled: Boolean, plain: Boolean, diff --git a/packages/goods-action-button/index.wxml b/packages/goods-action-button/index.wxml index 4505f212..b4dfe10a 100644 --- a/packages/goods-action-button/index.wxml +++ b/packages/goods-action-button/index.wxml @@ -3,6 +3,7 @@ id="{{ id }}" lang="{{ lang }}" type="{{ type }}" + size="{{ size }}" color="{{ color }}" plain="{{ plain }}" loading="{{ loading }}"