index.wxml 1.6 KB

123456789101112131415161718192021222324
  1. <!--invitationCode/index.wxml-->
  2. <view class="main" style="background-image: url({{appAssetsUrl}}/images/invitationCode/bg.png);">
  3. <image mode="widthFix" src="{{appAssetsUrl}}/images/invitationCode/top-left.png" class="top-left"></image>
  4. <image mode="widthFix" src="{{appAssetsUrl}}/images/invitationCode/top-right.png" class="top-right"></image>
  5. <image mode="widthFix" src="{{appAssetsUrl}}/images/invitationCode/bottom-left.png" class="bottom-left" style="bottom: calc(113rpx + {{bottomLeft}}px);"></image>
  6. <image mode="widthFix" src="{{appAssetsUrl}}/images/invitationCode/bottom-right.png" class="bottom-right" style="bottom: calc(113rpx + {{bottomLeft}}px);"></image>
  7. <view class="qrcode-box" style="background-image: url({{appAssetsUrl}}/images/invitationCode/qrcode-bg.png);height: calc(78vh + {{bottomLeft}}px);">
  8. <image mode="aspectFill" src="{{memberphoto?memberphoto:(appAssetsUrl+'/images/bz1_nor.png')}}" class="head"></image>
  9. <view class="name">{{name==null?'--':name}}</view>
  10. <view class="code" bindtap="copyText">邀请码: {{inviteCode}} 复制</view>
  11. <view class="qr-box">
  12. <image src="{{invitationCodeImg}}"></image>
  13. </view>
  14. <view class="tip">邀请二维码</view>
  15. </view>
  16. <view class="bottom" style="height: calc(12vh + {{bottomLeft}}px);">
  17. <button class="btn1" bindtap="downloadQR">保存图片</button>
  18. <button class="btn2" open-type="share">分享</button>
  19. </view>
  20. </view>
  21. <!-- <button class="custCare" open-type="contact" session-from="sessionFrom">
  22. <image mode="aspectFill" src="{{appAssetsUrl}}/images/custCare.png"></image>
  23. </button> -->