shareSheet.wxml 806 Bytes
<view class='container' catchtouchmove="onTouchMove">
  <view class='cover-view' catchtap='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>