From 7f8160eb1c342e951fcf92ff0fa9c6927025b95c Mon Sep 17 00:00:00 2001 From: neverland Date: Mon, 23 Sep 2019 17:42:10 +0800 Subject: [PATCH] feat(ActionSheet): update style (#4546) --- src/action-sheet/README.zh-CN.md | 2 +- src/action-sheet/demo/index.vue | 2 +- src/action-sheet/index.less | 1 + src/style/var.less | 2 +- 4 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/action-sheet/README.zh-CN.md b/src/action-sheet/README.zh-CN.md index 31141524b..c7ef391f0 100644 --- a/src/action-sheet/README.zh-CN.md +++ b/src/action-sheet/README.zh-CN.md @@ -74,7 +74,7 @@ export default { ### 展示取消按钮 -设置`cancelText`属性后,会在底部展示取消按钮,点击后关闭当前菜单 +设置`cancel-text`属性后,会在底部展示取消按钮,点击后关闭当前菜单 ```html diff --git a/src/action-sheet/index.less b/src/action-sheet/index.less index daeef0067..f09b84e93 100644 --- a/src/action-sheet/index.less +++ b/src/action-sheet/index.less @@ -45,6 +45,7 @@ } &__header { + font-weight: 500; font-size: @action-sheet-header-font-size; line-height: @action-sheet-header-height; text-align: center; diff --git a/src/style/var.less b/src/style/var.less index 75f2e21af..d46ac0b8d 100644 --- a/src/style/var.less +++ b/src/style/var.less @@ -439,7 +439,7 @@ // Popup @popup-background-color: @white; @popup-transition: transform @animation-duration-base ease-out; -@popup-round-border-radius: 12px; +@popup-round-border-radius: 20px; @popup-close-icon-size: 18px; @popup-close-icon-color: @gray-dark; @popup-close-icon-margin: 16px;