mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +08:00
fix(ShareSheet): the <button> should wrap the text
ShareSheet 分享面板 <button open-type="share"> 时没包围文本,导致点击到文本时弹框关闭但没触发用户转发
This commit is contained in:
parent
48d22b018a
commit
01795cacf6
@ -11,10 +11,10 @@
|
||||
>
|
||||
<button class="van-share-sheet__button" open-type="{{ item.openType }}">
|
||||
<image src="{{ computed.getIconURL(item.icon) }}" class="van-share-sheet__icon" />
|
||||
<view wx:if="{{ item.name }}" class="van-share-sheet__name">{{ item.name }}</view>
|
||||
<view wx:if="{{ item.description }}" class="van-share-sheet__option-description">
|
||||
{{ item.description }}
|
||||
</view>
|
||||
</button>
|
||||
<view wx:if="{{ item.name }}" class="van-share-sheet__name">{{ item.name }}</view>
|
||||
<view wx:if="{{ item.description }}" class="van-share-sheet__option-description">
|
||||
{{ item.description }}
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
|
Loading…
x
Reference in New Issue
Block a user