index.wxml 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <navbar parameter='{{parameter}}'></navbar>
  2. <view class="PromoterRank">
  3. <view class="redBg bg-color">
  4. <view class="header">
  5. <view class="nav acea-row row-center-wrapper">
  6. <view
  7. class="item {{active == index ? 'font-color' : ''}}"
  8. wx:for="{{navList}}"
  9. wx:key='index'
  10. data-index="{{index}}"
  11. bindtap="switchTap"
  12. >
  13. {{ item }}
  14. </view>
  15. </view>
  16. <view class="rank acea-row row-bottom row-around">
  17. <view class="item" wx:if="{{Two.uid ? false : true}}">
  18. <view class="pictrue"><image src="{{Two.avatar}}"></image></view>
  19. <view class="name line1">{{Two.nickname}}</view>
  20. <view class="num">{{Two.count}}人</view>
  21. </view>
  22. <view class="item" wx:if="{{One.uid}}">
  23. <view class="pictrue"><image src="{{One.avatar}}"></image></view>
  24. <view class="name line1">{{One.nickname}}</view>
  25. <view class="num">{{One.count}}人</view>
  26. </view>
  27. <view class="item" wx:if="{{Three.uid}}">
  28. <view class="pictrue"><image src="{{Three.avatar}}"></image></view>
  29. <view class="name line1">{{Three.nickname}}</view>
  30. <view class="num">{{Three.count}}人</view>
  31. </view>
  32. </view>
  33. </view>
  34. </view>
  35. <view class="list" wx:if="{{rankList.length}}">
  36. <view class="item acea-row row-between-wrapper" wx:for="{{rankList}}" wx:key='index'>
  37. <view class="num">{{index+3}}</view>
  38. <view class="picTxt acea-row row-between-wrapper">
  39. <view class="pictrue"><image src="{{item.avatar}}"></image></view>
  40. <view class="text line1">{{item.nickname}}</view>
  41. </view>
  42. <view class="people font-color">{{item.count}}人</view>
  43. </view>
  44. </view>
  45. </view>
  46. <authorize bind:onLoadFun='onLoadFun'></authorize>