ShareAction.wxml 1.1 KB
<!--pages/crowdfunding/components/ShareAction/ShareAction.wxml-->
<view class="action isFullSucreen flex" wx:if="{{showBtn}}">
  <view class="action-item" bindtap="handlePyq">
    <glsx-image src="crowdfunding/icon-pyq.webp"></glsx-image>
    <view class="text">分享朋友圈</view>
  </view>
  <button class="action-item share-btn" bindtap="handleFriend" open-type="share">
    <glsx-image src="crowdfunding/icon-share.webp"></glsx-image>
    <view class="text">分享好友</view>
  </button>
</view>
<view class="mask" wx:else bindtap="showOrHideBtn" style="padding-top: {{navHeight}}px;">
  <view class="arrow">
    <glsx-image class="icon-arrow" src="crowdfunding/share-arrow.webp"></glsx-image>
  </view>
  <view class="row">第一步:点击右上“<glsx-image class="icon-point" src="crowdfunding/share-point.webp"></glsx-image>”,选择「分享到朋友圈」<glsx-image class="icon-pyq" src="crowdfunding/share-pyq.webp"></glsx-image>
  </view>
  <view class="row">第二步:长按粘贴文案内容,发表朋友圈</view>
  <glsx-image class="share-bg" src="crowdfunding/share-bg.webp"></glsx-image>
</view>