student.wxml 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. <view class="container">
  2. <!-- 背景遮罩颜色 -->
  3. <view class="shareImgBg" bindtap="closeImg" wx:if="{{showShareImg || showCodeImg}}"></view>
  4. <!-- end -->
  5. <!-- 海报 -->
  6. <view class="shareImg-view" wx:if="{{showShareImg}}">
  7. <image src="{{shareImg}}"></image>
  8. <image class="code-img" src="{{qrCodeImg}}"></image>
  9. <view class="shareImg-btn">
  10. <!-- <button open-type='share' class="edit-view shareBtn">
  11. <image src="https://app.schoolwisdoms.com/static/app/student/imgs/wechat.png"></image>
  12. <view>分享好友</view>
  13. </button> -->
  14. <view class="downloadBtn edit-view">
  15. <view>
  16. <poster id="poster" config="{{posterConfig}}" bind:success="onPosterSuccess">
  17. <image src="https://app.schoolwisdoms.com/static/app/student/imgs/download-to-images.png"></image>
  18. <view class="save-image">保存图片</view>
  19. </poster>
  20. </view>
  21. </view>
  22. </view>
  23. </view>
  24. <!-- end -->
  25. <!-- 二维码 -->
  26. <view class="shareCodeImg-view" wx:if="{{showCodeImg}}">
  27. <image src="{{qrCodeImg}}"></image>
  28. <view>邀请好友微信扫一扫</view>
  29. </view>
  30. <!-- end -->
  31. <image class="bgImg" mode="widthFix" src="https://app.schoolwisdoms.com/static/app/student/imgs/invitation_bg.png">
  32. </image>
  33. <view class="btn-view">
  34. <view class="left-radius"></view>
  35. <view class="right-radius"></view>
  36. <view class="btn-box">
  37. <view class="share-btn" bindtap="billShare">海报分享邀请好友</view>
  38. <view class="line"></view>
  39. <view class="other-btn">
  40. <!-- <view class="" bindtap="share">
  41. <image class="icon-img" mode="heightFix"
  42. src="https://app.schoolwisdoms.com/static/app/student/imgs/sm_link.png"></image>
  43. <text>链接邀请</text>
  44. </view> -->
  45. <button open-type='share' class="edit-view shareBtn">
  46. <image class="icon-img" mode="heightFix" src="https://app.schoolwisdoms.com/static/app/student/imgs/sm_link.png"></image>
  47. <view>链接邀请</view>
  48. </button>
  49. <view class="" bindtap="codeInvite">
  50. <image class="icon-img" mode="heightFix"
  51. src="https://app.schoolwisdoms.com/static/app/student/imgs/sm_code.png"></image>
  52. <text>面对面扫码</text>
  53. </view>
  54. </view>
  55. </view>
  56. </view>
  57. <image class="bgImg step-one" mode="widthFix"
  58. src="https://app.schoolwisdoms.com/static/app/student/imgs/invitation-c1.png"></image>
  59. <image class="bgImg step-two" mode="widthFix"
  60. src="https://app.schoolwisdoms.com/static/app/student/imgs/invitation-c2.png"></image>
  61. <view class="total-view">
  62. <view>
  63. {{count}}
  64. <text>已试听/人</text>
  65. </view>
  66. <view>
  67. {{enroll}}
  68. <text>已购课/人</text>
  69. </view>
  70. <view>
  71. {{coin}}
  72. <text>获得奖励</text>
  73. </view>
  74. </view>
  75. <image class="bgImg step-three" mode="widthFix"
  76. src="https://app.schoolwisdoms.com/static/app/student/imgs/invitation-c3.png"></image>
  77. <view class="total-view" wx:for="{{invitations}}" wx:key="index">
  78. <view>{{item.name}}</view>
  79. <view>{{item.subDate}}</view>
  80. <view>{{item.statusText}}</view>
  81. </view>
  82. </view>