diff --git a/packages/share-sheet/options.wxml b/packages/share-sheet/options.wxml index cad68377..2983ebbe 100644 --- a/packages/share-sheet/options.wxml +++ b/packages/share-sheet/options.wxml @@ -10,11 +10,11 @@ bindtap="onSelect" > <button class="van-share-sheet__button" open-type="{{ item.openType }}"> - <image src="{{ computed.getIconURL(item.icon) }}" class="van-share-sheet__icon" /> + <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>