|
|
@ -7,9 +7,7 @@ |
|
|
{{ title }} |
|
|
{{ title }} |
|
|
<van-icon name="close" custom-class="van-action-sheet__close" bind:click="onClose" /> |
|
|
<van-icon name="close" custom-class="van-action-sheet__close" bind:click="onClose" /> |
|
|
</view> |
|
|
</view> |
|
|
<view wx:if="{{ description }}" class="van-action-sheet__description"> |
|
|
|
|
|
{{ description }} |
|
|
|
|
|
</view> |
|
|
|
|
|
|
|
|
<view wx:if="{{ description }}" class="van-action-sheet__description">{{ description }}</view> |
|
|
<view wx:if="{{ actions && actions.length }}"> |
|
|
<view wx:if="{{ actions && actions.length }}"> |
|
|
<!-- button外包一层view,防止actions动态变化,导致渲染时button被打散 --> |
|
|
<!-- button外包一层view,防止actions动态变化,导致渲染时button被打散 --> |
|
|
<button wx:for="{{ actions }}" wx:key="index" open-type="{{ item.openType }}" |
|
|
<button wx:for="{{ actions }}" wx:key="index" open-type="{{ item.openType }}" |
|
|
|