mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +08:00
[improvement] ActionSheet: optimize (#558)
This commit is contained in:
parent
406af0f8b5
commit
77e3a21448
@ -8,10 +8,6 @@
|
||||
-webkit-overflow-scrolling: touch;
|
||||
background-color: $background-color;
|
||||
|
||||
&--withtitle {
|
||||
background-color: $white;
|
||||
}
|
||||
|
||||
&__item,
|
||||
&__cancel {
|
||||
height: 50px;
|
||||
|
@ -1,9 +1,9 @@
|
||||
<van-popup
|
||||
show="{{ show }}"
|
||||
overlay="{{ overlay }}"
|
||||
close-on-click-overlay="{{ closeOnClickOverlay }}"
|
||||
custom-class="van-action-sheet {{ title ? 'van-action-sheet--withtitle' : '' }}"
|
||||
position="bottom"
|
||||
overlay="{{ overlay }}"
|
||||
custom-class="van-action-sheet"
|
||||
close-on-click-overlay="{{ closeOnClickOverlay }}"
|
||||
bind:close="onClose"
|
||||
>
|
||||
<view wx:if="{{ title }}" class="van-hairline--top-bottom van-action-sheet__header">
|
||||
|
Loading…
x
Reference in New Issue
Block a user