index.wxml 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  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-center">
  17. <view class="item" wx:if="{{Two.uid}}">
  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 class='loadingicon acea-row row-center-wrapper'>
  45. <text class='loading iconfont icon-jiazai' hidden='{{loading==false}}'></text>{{loadTitle}}
  46. </view>
  47. </view>
  48. </view>
  49. <authorize bind:onLoadFun='onLoadFun'></authorize>