shareDialog.wxml 1.7 KB

1234567891011121314151617181920212223242526272829303132333435
  1. <view class="sharePopup" wx:if="{{showDialog}}">
  2. <view class="shareDialog">
  3. <image src="../../../image/share_bg.png" class="share_bg"></image>
  4. <image src="../../../image/close_icon.png" class="close_icon" bindtap="onCloseDialog"></image>
  5. <view class="shareInfo">
  6. <view class="shareInfo___top">{{tip_title}}</view>
  7. <view class="shareInfo___bottom">还有<text class="num">{{tip_num}}</text>位好友待邀请</view>
  8. </view>
  9. <view class="shareList">
  10. <block wx:for="{{5}}" wx:key="index">
  11. <view class="shareItem">
  12. <image src="{{invitess[index].avatar}}" class="user_placeholder" wx:if="{{invitess.length > index}}"></image>
  13. <image src="../../../image/user_placeholder.png" class="user_placeholder" wx:if="{{invitess.length <= index && policy.length > index}}"></image>
  14. <view class="shareName" wx:if="{{policy.length > index && policy[index].discount > 0}}">补{{policy[index].discount}}元</view>
  15. <view class="shareName" wx:if="{{policy.length <= index || policy[index].discount == 0}}"></view>
  16. </view>
  17. </block>
  18. </view>
  19. <view class="shareBtns">
  20. <button open-type="share" class="btn-rechargeNow" data-shareInfo="{{shareModel}}">
  21. <image src="/image/icons/wx.png"></image>
  22. <text>微信好友邀请</text>
  23. </button>
  24. <button open-type="share" class="btn-rechargeNow" data-shareInfo="{{shareModel}}">
  25. <image src="/image/icons/circle.png" style="height:28rpx"></image>
  26. <text>分享朋友圈</text>
  27. </button>
  28. </view>
  29. <view class="faceToFace">
  30. <image src="/image/icons/Group18@2x.png" style="width:26rpx; height:25rpx"></image>
  31. <text>面对面扫码邀请</text>
  32. <image src="/image/icons/Path@2x.png" style="width:12rpx; height:22rpx"></image>
  33. </view>
  34. </view>
  35. </view>