index.wxml 1.7 KB

1234567891011121314151617181920212223242526272829303132
  1. <wxs src="../../utils/filter.wxs" module="filters" />
  2. <view class="invite">
  3. <image src="/static/phb.png" class="ranking" bindtap="jumpRanking" />
  4. <image src="/static/yqgl.png" class="strategy"
  5. data-iconDetail="http://reader-wx.ai160.com/images/reader/v3/yxgl.jpg" bindtap="jumpIntro" />
  6. <view class="body">
  7. <view class="pennant" wx:for="{{list}}" wx:key="num" id="p{{item.num}}"
  8. style="top:{{item.top}}rpx;left:{{item.left}}rpx" data-num='{{item.num}}' bindtap="applyOr">
  9. <image src="{{filters.showPennant(count,item.num)}}" class='icon' />
  10. <view class="num">邀{{item.num}}人</view>
  11. </view>
  12. <image wx:for="{{treasureList}}" wx:key='id' src="{{item.id>count?item.close:item.open}}"
  13. style="top:{{item.top}}rpx;left:{{item.left}}rpx" class="treasure {{item.id<=count?'shake':''}}"
  14. bindtap="openTips" data-info="{{item}}" />
  15. <image src="{{60>count?'/static/always.png':'/static/always-2.png'}}" class="always {{60<=count?'shake':''}}"
  16. bindtap="openTips" data-info="{id:60}" />
  17. </view>
  18. </view>
  19. <view class="mediaBox" wx:if="{{state}}">
  20. <view class="media">
  21. <view class="body">
  22. <image src="/static/inviteH.png" class="inviteH" />
  23. <view class="title">{{modelInfo.title}}</view>
  24. <view class="tips">{{modelInfo.text}}</view>
  25. <view class="tips">{{modelInfo.text2}}</view>
  26. <button class="resetBtn shareBtn" open-type="share" bindtap="shareVideo">
  27. <image src="/static/forward.png" class="shareImg" />邀请我的同学朋友
  28. </button>
  29. </view>
  30. <image src="/static/lollipop.png" class="close" catchtap="closeMediaBox" />
  31. </view>
  32. </view>