index.wxml 9.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179
  1. <view class="invite">
  2. <image src="http://reader-wx.ai160.com/images/reader/v3/learn/yxbg.png" class='headerBg' />
  3. <view class="progressBox">
  4. <!-- 第一关 -->
  5. <view>
  6. <view class="row ">
  7. <view class="line"></view>
  8. <view class="numBox" wx:for="{{2}}" wx:key="index">
  9. <view class="num">邀{{index+1}}人</view>
  10. <image src="{{count>=index+1?'/static/lock-2.png':'/static/lock-1.png'}}" class="icon" />
  11. <image src="/static/ct.png" class="current" wx:if='{{count==index+1}}' />
  12. </view>
  13. <view class="numBox {{count>2?'qualify':''}}">
  14. <view class="rewardNum">VIP7天</view>
  15. <view class="rewardN">第一关</view>
  16. <image src="{{count>=2?'/static/qb-2.png':'/static/qb-1.png'}}" class="reward" />
  17. </view>
  18. </view>
  19. <view class="btns" wx:if="{{count<2}}">
  20. <image src="/static/cjd.png" class="transcript" />
  21. <button class="resetBtn" open-type="share">
  22. <image src="/static/yqb.png" class="inviteBtn" />
  23. </button>
  24. </view>
  25. </view>
  26. <!-- 第二关 -->
  27. <view>
  28. <view class="row ">
  29. <view class="line"></view>
  30. <view class="numBox" wx:for="{{3}}" wx:key="index">
  31. <view class="num">邀{{index+3}}人</view>
  32. <image src="{{count>=index+3?'/static/lock-2.png':'/static/lock-1.png'}}" class="icon" />
  33. <image src="/static/ct.png" class="current" wx:if='{{count==index+3}}' />
  34. </view>
  35. <view class="numBox {{count>=5?'qualify':''}}">
  36. <view class="rewardNum">VIP15天</view>
  37. <view class="rewardN">第二关</view>
  38. <image src="{{count>=5?'/static/qb-2.png':'/static/qb-1.png'}}" class="reward" />
  39. </view>
  40. </view>
  41. <view class="btns" wx:if="{{count>=2&count<5}}">
  42. <image src="/static/cjd.png" class="transcript" />
  43. <button class="resetBtn" open-type="share">
  44. <image src="/static/yqb.png" class="inviteBtn" />
  45. </button>
  46. </view>
  47. </view>
  48. <!-- 第三关 -->
  49. <view>
  50. <view class="row ">
  51. <view class="line"></view>
  52. <view class="numBox" wx:for="{{5}}" wx:key="index">
  53. <view class="num">邀{{index+6}}人</view>
  54. <image src="{{count>=index+6?'/static/lock-2.png':'/static/lock-1.png'}}" class="icon" />
  55. <image src="/static/ct.png" class="current" wx:if='{{count==index+6}}' />
  56. </view>
  57. <view class="numBox {{count>=10?'qualify':''}}">
  58. <view class="rewardNum">VIP1个月</view>
  59. <view class="rewardN">第三关</view>
  60. <image src="{{count>=10?'/static/qb-2.png':'/static/qb-1.png'}}" class="reward" />
  61. </view>
  62. </view>
  63. <view class="btns" wx:if="{{count>=5&&count<10}}">
  64. <image src="/static/cjd.png" class="transcript" />
  65. <button class="resetBtn" open-type="share">
  66. <image src="/static/yqb.png" class="inviteBtn" />
  67. </button>
  68. </view>
  69. </view>
  70. <!-- 第四关 -->
  71. <view>
  72. <view class="row ">
  73. <view class="line"></view>
  74. <view class="numBox" wx:for="{{5}}" wx:key="index">
  75. <view class="num">邀{{index+11}}人</view>
  76. <image src="{{count>=index+11?'/static/lock-2.png':'/static/lock-1.png'}}" class="icon" />
  77. <image src="/static/ct.png" class="current" wx:if='{{count==index+11}}' />
  78. </view>
  79. </view>
  80. <view class="row ">
  81. <view class="line"></view>
  82. <view class="numBox" wx:for="{{5}}" wx:key="index">
  83. <view class="num">邀{{index+16}}人</view>
  84. <image src="{{count>=index+16?'/static/lock-2.png':'/static/lock-1.png'}}" class="icon" />
  85. <image src="/static/ct.png" class="current" wx:if='{{count==index+16}}' />
  86. </view>
  87. </view>
  88. <view class="row ">
  89. <view class="line"></view>
  90. <view class="numBox" wx:for="{{5}}" wx:key="index">
  91. <view class="num">邀{{index+21}}人</view>
  92. <image src="{{count>=index+21?'/static/lock-2.png':'/static/lock-1.png'}}" class="icon" />
  93. <image src="/static/ct.png" class="current" wx:if='{{count==index+21}}' />
  94. </view>
  95. </view>
  96. <view class="row ">
  97. <view class="line"></view>
  98. <view class="numBox" wx:for="{{5}}" wx:key="index">
  99. <view class="num">邀{{index+26}}人</view>
  100. <image src="{{count>=index+26?'/static/lock-2.png':'/static/lock-1.png'}}" class="icon" />
  101. <image src="/static/ct.png" class="current" wx:if='{{count==index+26}}' />
  102. </view>
  103. <view class="numBox {{count>=30?'qualify':''}}">
  104. <view class="rewardNum">VIP12个月</view>
  105. <view class="rewardN">第四关</view>
  106. <image src="{{count>=30?'/static/qb-2.png':'/static/qb-1.png'}}" class="reward" />
  107. </view>
  108. </view>
  109. <view class="btns" wx:if="{{count>=10&count<30}}">
  110. <image src="/static/cjd.png" class="transcript" />
  111. <button class="resetBtn" open-type="share">
  112. <image src="/static/yqb.png" class="inviteBtn" />
  113. </button>
  114. </view>
  115. </view>
  116. <!-- 第五关 -->
  117. <view>
  118. <view class="row ">
  119. <view class="line"></view>
  120. <view class="numBox" wx:for="{{5}}" wx:key="index">
  121. <view class="num">邀{{index+31}}人</view>
  122. <image src="{{count>=index+31?'/static/lock-2.png':'/static/lock-1.png'}}" class="icon" />
  123. <image src="/static/ct.png" class="current" wx:if='{{count==index+31}}' />
  124. </view>
  125. </view>
  126. <view class="row ">
  127. <view class="line"></view>
  128. <view class="numBox" wx:for="{{5}}" wx:key="index">
  129. <view class="num">邀{{index+36}}人</view>
  130. <image src="{{count>=index+36?'/static/lock-2.png':'/static/lock-1.png'}}" class="icon" />
  131. <image src="/static/ct.png" class="current" wx:if='{{count==index+36}}' />
  132. </view>
  133. </view>
  134. <view class="row ">
  135. <view class="line"></view>
  136. <view class="numBox" wx:for="{{5}}" wx:key="index">
  137. <view class="num">邀{{index+41}}人</view>
  138. <image src="{{count>=index+41?'/static/lock-2.png':'/static/lock-1.png'}}" class="icon" />
  139. <image src="/static/ct.png" class="current" wx:if='{{count==index+41}}' />
  140. </view>
  141. </view>
  142. <view class="row ">
  143. <view class="line"></view>
  144. <view class="numBox" wx:for="{{5}}" wx:key="index">
  145. <view class="num">邀{{index+46}}人</view>
  146. <image src="{{count>=index+46?'/static/lock-2.png':'/static/lock-1.png'}}" class="icon" />
  147. <image src="/static/ct.png" class="current" wx:if='{{count==index+46}}' />
  148. </view>
  149. </view>
  150. <view class="row ">
  151. <view class="line"></view>
  152. <view class="numBox" wx:for="{{5}}" wx:key="index">
  153. <view class="num">邀{{index+51}}人</view>
  154. <image src="{{count>=index+51?'/static/lock-2.png':'/static/lock-1.png'}}" class="icon" />
  155. <image src="/static/ct.png" class="current" wx:if='{{count==index+51}}' />
  156. </view>
  157. </view>
  158. <view class="row ">
  159. <view class="line"></view>
  160. <view class="numBox" wx:for="{{5}}" wx:key="index">
  161. <view class="num">邀{{index+56}}人</view>
  162. <image src="{{count>=index+56?'/static/lock-2.png':'/static/lock-1.png'}}" class="icon" />
  163. <image src="/static/ct.png" class="current" wx:if='{{count==index+56}}' />
  164. </view>
  165. <view class="numBox {{count>=60?'qualify':''}}">
  166. <view class="rewardNum">SVIP终身</view>
  167. <view class="rewardN">第五关</view>
  168. <image src="{{count>=60?'/static/qb-2.png':'/static/qb-1.png'}}" class="reward" />
  169. </view>
  170. </view>
  171. <view class="btns" wx:if="{{count>=30&count<60}}">
  172. <image src="/static/cjd.png" class="transcript" />
  173. <button class="resetBtn" open-type="share">
  174. <image src="/static/yqb.png" class="inviteBtn" />
  175. </button>
  176. </view>
  177. </view>
  178. </view>
  179. </view>