share.wxml 690 B

12345678910111213141516
  1. <!--compontents/share/share.wxml-->
  2. <view class="container" bindtap="hidePopup" hidden="{{flag}}">
  3. <view class="share">
  4. <view class="title">分享</view>
  5. <view class="share-img">
  6. <view class="download" catchtap="saveImage">
  7. <image src="../../pages/image/download.png"></image>
  8. <text>生成海报分享</text>
  9. </view>
  10. <button class='transmit' open-type="share" id="transmit" data-userId="{{userId}}" data-postId="{{postId}}">
  11. <image src="../../pages/image/transmit.png"></image>
  12. <text>转发给好友</text>
  13. </button>
  14. </view>
  15. </view>
  16. </view>