collage-details.wxml 8.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  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}}" hidden="{{ifGroupSuccessed || !stillGoing}}">
  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 && !colonelName}}">
  32. 即可获得本课程3年使用权
  33. </view>
  34. <!-- 安卓推广团团长看到 -->
  35. <view class="group-regular-text" wx:if="{{groupOsType === 'ANDROID' && organizerUid === hosterUid && colonelName}}">
  36. 即可获得{{rewardMoney}}元奖学金和100朵小红花
  37. </view>
  38. <view class="group-regular-text" wx:if="{{groupOsType === 'IOS' && organizerUid === hosterUid && colonelName}}">
  39. 即可获得10朵小红花
  40. </view>
  41. <!-- 团员看到的分享助力团 -->
  42. <view class="group-regular-text" wx:if="{{groupOsType === 'IOS' && organizerUid !== hosterUid && colonelName}}">
  43. 即可助力团长<text class="red-text">{{organizer.wechatName}}</text>获得10朵小红花
  44. </view>
  45. <!-- 其他人浏览 -->
  46. <view class="group-organizer group-regular-text" wx:if="{{organizerUid !== hosterUid}}">
  47. <!-- <view class="group-organizer group-regular-text" wx:if="{{colonelName}}"> -->
  48. <!-- ios分销团提示小红花 安卓分销团提示获得本课 -->
  49. <view wx:if="{{groupOsType === 'IOS' && !colonelName}}">
  50. 即可助力团长<text class="red-text">{{organizer.wechatName}}</text>获得本课
  51. </view>
  52. <view wx:if="{{groupOsType === 'ANDROID'}}">即可拼团成功</view>
  53. <!-- <view wx:if="{{groupOsType === 'IOS' && colonelName}}">
  54. 即可获得300朵
  55. <image src="../../../static/image/flower_small.png" />
  56. </view> -->
  57. </view>
  58. <view class="group-regular-text" hidden="{{stillGoing}}">
  59. {{groupOsType === 'IOS' ? '助力' : '团购'}}已超过时限
  60. </view>
  61. <view class="group-regular-text" hidden="{{surplusNum != '0'}}">
  62. {{groupOsType === 'IOS' ? '助力' : '团购'}}成功!快去朗读吧
  63. </view>
  64. </view>
  65. <view class="group-success" wx:if="{{ifGroupSuccessed}}">
  66. <!-- 助力团成功了 团长看到 -->
  67. <view class="help-success" wx:if="{{groupOsType === 'IOS' && organizerUid === hosterUid}}">
  68. <view class="group-regular-text">恭喜,好强大的魅力</view>
  69. <view class="group-regular-text">您发起的助力团成功了</view>
  70. </view>
  71. <!-- 助力团成功了 团员看到 -->
  72. <view class="help-success" wx:if="{{groupOsType === 'IOS' && organizerUid !== hosterUid}}">
  73. <view class="group-regular-text">在你的帮助下,{{organizer.wechatName}}的助力团成功啦</view>
  74. <view class="group-regular-text">您获得了7天的本课程试用权哦</view>
  75. </view>
  76. <!-- 团购成功了 -->
  77. <view class="help-success" wx:if="{{groupOsType === 'ANDROID' && !colonelName}}">
  78. <view class="group-regular-text">拼团成功</view>
  79. <view class="group-regular-text">你获得了本课3年使用权哦</view>
  80. </view>
  81. <!-- 推广团成功了 团员看到 -->
  82. <view class="help-success" wx:if="{{groupOsType === 'ANDROID' && organizerUid !== hosterUid && colonelName}}">
  83. <view class="group-regular-text">拼团成功</view>
  84. <view class="group-regular-text">你获得了本课3年使用权哦</view>
  85. </view>
  86. <!-- 团购成功并且是团长看到并且是推广团 -->
  87. <view class="help-success" wx:if="{{groupOsType === 'ANDROID' && organizerUid === hosterUid && colonelName}}">
  88. <view class="group-regular-text">拼团成功</view>
  89. <view class="group-regular-text">你获得了{{rewardMoney}}元奖学金和100朵小红花</view>
  90. </view>
  91. </view>
  92. <!-- 头像 -->
  93. <view class="headImg">
  94. <block wx:for="{{joinUserList}}" wx:key="{{index}}">
  95. <view class="headImg-item bg-boder">
  96. <view wx:if="{{organizerUid == item.uid}}" class="organizerIcon">团长</view>
  97. <image src="{{item.avatar}}"></image>
  98. </view>
  99. </block>
  100. <block wx:for="{{surplusList}}" wx:key="{{index}}">
  101. <view class="headImg-item">
  102. <image src="../../../static/groupImg/no_head.png"></image>
  103. </view>
  104. </block>
  105. </view>
  106. <view class="data-loading" wx:if="{{dataLoading}}">
  107. <view class="line1"></view>
  108. <view class="line2"></view>
  109. <view class="line3"></view>
  110. </view>
  111. <view class="invitation-btn" bindtap="openShare">
  112. <!-- <image src="../../../static/groupImg/Invitation.png"></image> -->
  113. <text>{{ifGroupSuccessed ? '开始你的表演' : groupOsType === 'IOS' ? '立即邀请好友助力' : '立即邀请好友参团'}}</text>
  114. </view>
  115. <view class="explain" wx:if="{{groupOsType === 'IOS' ? false : true}}">
  116. <view class="explain-title">拼团规则</view>
  117. <view class="explain-gut">转发给自己的朋友们,分享好课,追随您一起学习进步</view>
  118. <view class="explain-gut">您的魅力不是吹的</view>
  119. <view class="explain-gut">在限定时间内成功拼团,团长将得到{{rewardMoney}}元的奖励金和100朵小红花</view>
  120. <view class="explain-gut">如果拼团失败</view>
  121. <view>您预付的课程费将在48小时内退回您的账户</view>
  122. </view>
  123. <view class="explain" wx:if="{{groupOsType === 'IOS' ? true : false}}">
  124. <view class="explain-title">助力规则</view>
  125. <view class="explain-gut">在限定时间内成功助力,团长将获得本课程3年试用权</view>
  126. <view class="explain-gut">继续发起,将获得10朵小红花</view>
  127. <view class="explain-gut">助力者将获得7天的试用权</view>
  128. <view class="explain-gut">据我们统计:分享到3个群,成功率高达98.2%</view>
  129. </view>
  130. </view>
  131. </view>
  132. <canvas canvas-id="myCanvas" style="width:300px; height: 525px; position: absolute; left: -999rpx; top: -9999rpx;"></canvas>
  133. <shareDialog id="share-dialog" shareType='group' shareId="{{orderId}}" />
  134. <popup typeOf="sendSuccess" title="报告团长" headTextTwo='您发起的团购已经成立,订单号:{{orderId}}' content="{{content}}"></popup>
  135. <goBackHome id="goBackHome" shareType="{{goBackHome}}" wx:if="{{goBackHome}}" />