collage-details.wxml 6.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  1. <!-- pages/groupPage/collage-details/collage-details.wxml -->
  2. <view class="collage-details">
  3. <!-- <view class="step">
  4. <image src="../../../static/groupImg/step.png"></image>
  5. <view class="txt">
  6. <text>1.支付成功</text>
  7. <text>2.邀请朋友参加</text>
  8. <text>3.去朗读</text>
  9. </view>
  10. </view> -->
  11. <view class="green-placerholder"></view>
  12. <image class="class-icon" src="{{groupPurchaseInfo.bgImg}}" />
  13. <view class="details-head">
  14. <!-- 剩余时间盒子 -->
  15. <view class="last-time-box" wx:if="{{!dataLoading}}">
  16. <view class="last-time">
  17. <image class="left-icon" src="../../../static/groupImg/right_icon.png" />
  18. <text class="last-time-end">距结束</text>
  19. <image class="right-icon" src="../../../static/groupImg/left_icon.png" />
  20. </view>
  21. <view class="last-text">{{timeLast}}</view>
  22. </view>
  23. <!-- 还剩几人参团 -->
  24. <view class="last-member" wx:if="{{!ifGroupSuccessed}}">
  25. <view class="group-regular-text" hidden="{{surplusNum == '0' || !stillGoing}}">
  26. 还剩
  27. <text class="red-text">{{surplusNum}}</text>
  28. 位好友{{groupOsType === 'IOS' ? '助力' : '参团'}}
  29. </view>
  30. <!-- 团长本人浏览话术 -->
  31. <view class="group-regular-text" wx:if="{{organizerUid === hosterUid}}">
  32. 即可获得本课程3年试用权
  33. </view>
  34. <!-- 其他人浏览 -->
  35. <view class="group-organizer group-regular-text" wx:if="{{organizerUid !== hosterUid}}">
  36. <!-- <view class="group-organizer group-regular-text" wx:if="{{colonelName}}"> -->
  37. <!-- ios分销团提示小红花 安卓分销团提示获得本课 -->
  38. <view wx:if="{{groupOsType === 'IOS'}}">
  39. 即可助力团长
  40. <text class="red-text">{{organizer.wechatName}}</text>
  41. 获得本课
  42. </view>
  43. <view wx:if="{{groupOsType === 'ANDROID'}}">即可拼团成功</view>
  44. <view wx:if="{{groupOsType === 'IOS' && colonelName}}">
  45. 即可获得300朵
  46. <image src="../../../static/image/flower_small.png" />
  47. </view>
  48. </view>
  49. <view class="group-regular-text" hidden="{{stillGoing}}">团购已超过时限</view>
  50. <view class="group-regular-text" hidden="{{surplusNum != '0'}}">
  51. {{groupOsType === 'IOS' ? '助力' : '团购'}}成功!快去朗读吧
  52. </view>
  53. </view>
  54. <view class="group-success" wx:if="{{ifGroupSuccessed}}">
  55. <!-- 助力团成功了 团长看到-->
  56. <view class="help-success" wx:if="{{groupOsType === 'IOS' && organizerUid === hosterUid}}">
  57. <view class="group-regular-text" >
  58. 恭喜,好强大的魅力
  59. </view>
  60. <view class="group-regular-text" >
  61. 您发起的助力团成功了
  62. </view>
  63. </view>
  64. <!-- 助力团成功了 团员看到 -->
  65. <view class="help-success" wx:if="{{groupOsType === 'IOS' && organizerUid !== hosterUid}}">
  66. <view class="group-regular-text" >
  67. 在你的帮助下,{{organizer.wechatName}}的助力团成功啦
  68. </view>
  69. <view class="group-regular-text" >
  70. 您获得了7天的本课程试用权哦
  71. </view>
  72. </view>
  73. <!-- 团购成功了 -->
  74. <view class="help-success" wx:if="{{groupOsType === 'ANDROID'}}">
  75. <view class="group-regular-text" >
  76. 拼团成功!
  77. </view>
  78. <view class="group-regular-text" >
  79. 你获得了本课3年试用权哦
  80. </view>
  81. </view>
  82. </view>
  83. <!-- 头像 -->
  84. <view class="headImg">
  85. <block wx:for="{{joinUserList}}" wx:key="{{index}}">
  86. <view class="headImg-item bg-boder">
  87. <view wx:if="{{organizerUid == item.uid}}" class="organizerIcon">团长</view>
  88. <image src="{{item.avatar}}"></image>
  89. </view>
  90. </block>
  91. <block wx:for="{{surplusList}}" wx:key="{{index}}">
  92. <view class="headImg-item">
  93. <image src="../../../static/groupImg/no_head.png"></image>
  94. </view>
  95. </block>
  96. </view>
  97. <view class="data-loading" wx:if="{{dataLoading}}">
  98. <view class="line1"></view>
  99. <view class="line2"></view>
  100. <view class="line3"></view>
  101. </view>
  102. <view class="invitation-btn" bindtap="openShare">
  103. <!-- <image src="../../../static/groupImg/Invitation.png"></image> -->
  104. <text>{{ifGroupSuccessed ? '开始你的表演' : '立即邀请好友助力'}}</text>
  105. </view>
  106. <view class="explain" wx:if="{{groupOsType === 'IOS' ? false : true}}">
  107. <view class="explain-title">拼团规则</view>
  108. <view class="explain-gut">转发给自己的朋友们,分享好课,追随您一起学习进步</view>
  109. <view class="explain-gut">您的魅力不是吹的</view>
  110. <view class="explain-gut">在限定时间内成功拼团,团长将得到{{rewardMoney}}元的奖励金</view>
  111. <view class="explain-gut">如果拼团失败</view>
  112. <view>您预付的课程费将在48小时内退回您的账户</view>
  113. </view>
  114. <view class="explain" wx:if="{{groupOsType === 'IOS' ? true : false}}">
  115. <view class="explain-title">助力规则</view>
  116. <view class="explain-gut">在限定时间内成功助力,团长将获得本课程3年试用权</view>
  117. <view class="explain-gut">继续发起,将获得300朵小红花</view>
  118. <view class="explain-gut">助力者将获得7天的试用权</view>
  119. <view class="explain-gut">据我们统计:分享到3个群,成功率高达98.2%</view>
  120. </view>
  121. </view>
  122. </view>
  123. <canvas canvas-id="myCanvas" style="width:600rpx; height: 1050rpx; position: absolute; left: -999rpx; top: -9999rpx;"></canvas>
  124. <shareDialog id="share-dialog" shareType='group' shareId="{{orderId}}" />
  125. <popup typeOf="sendSuccess" title="报告团长" headTextTwo='您发起的团购已经成立,订单号:{{orderId}}' content="{{content}}"></popup>
  126. <goBackHome id="goBackHome" shareType="{{goBackHome}}" wx:if="{{goBackHome}}" />