<!--compontents/share/share.wxml--> <view class="container" bindtap="hidePopup" hidden="{{flag}}"> <view class="share"> <view class="title">分享</view> <view class="share-img"> <view class="download"> <image src="../../pages/image/download.png"></image> <text>生成海报分享</text> </view> <button class='transmit' open-type="share" id="transmit" data-userId="{{userId}}" data-postId="{{postId}}"> <image src="../../pages/image/transmit.png"></image> <text>转发给好友</text> </button> </view> </view> </view>