mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
feat(ActionSheet): update style (#4546)
This commit is contained in:
parent
4427954606
commit
7f8160eb1c
@ -74,7 +74,7 @@ export default {
|
|||||||
|
|
||||||
### 展示取消按钮
|
### 展示取消按钮
|
||||||
|
|
||||||
设置`cancelText`属性后,会在底部展示取消按钮,点击后关闭当前菜单
|
设置`cancel-text`属性后,会在底部展示取消按钮,点击后关闭当前菜单
|
||||||
|
|
||||||
```html
|
```html
|
||||||
<van-action-sheet
|
<van-action-sheet
|
||||||
|
@ -104,7 +104,7 @@ export default {
|
|||||||
}
|
}
|
||||||
|
|
||||||
p {
|
p {
|
||||||
padding: 20px;
|
padding: @padding-md @padding-md @padding-md * 10;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</style>
|
</style>
|
||||||
|
@ -45,6 +45,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
&__header {
|
&__header {
|
||||||
|
font-weight: 500;
|
||||||
font-size: @action-sheet-header-font-size;
|
font-size: @action-sheet-header-font-size;
|
||||||
line-height: @action-sheet-header-height;
|
line-height: @action-sheet-header-height;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
|
@ -439,7 +439,7 @@
|
|||||||
// Popup
|
// Popup
|
||||||
@popup-background-color: @white;
|
@popup-background-color: @white;
|
||||||
@popup-transition: transform @animation-duration-base ease-out;
|
@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-size: 18px;
|
||||||
@popup-close-icon-color: @gray-dark;
|
@popup-close-icon-color: @gray-dark;
|
||||||
@popup-close-icon-margin: 16px;
|
@popup-close-icon-margin: 16px;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user