shareSheet.wxml
767 Bytes
<view class='container'>
<view class='cover-view' bindtap='onCancel'></view>
<view class='main-view'>
<view class='share-view'>
<button class='item left' bindtap='onShare' open-type="share" hover-class="none" plain='true' data-type="friends">
<image class='icon' src='../../assets/images/wechat_friend@3x.png'></image>
<text class='title'>微信好友</text>
</button>
<button class='item right' bindtap='onShare' hover-class="none" plain='true' data-type="moments">
<image class='icon' src='../../assets/images/wechat@3x.png'></image>
<text class='title'>朋友圈</text>
</button>
</view>
<view class='line'></view>
<view class='cancel' bindtap='onCancel'>取消</view>
</view>
</view>