index.wxml 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. <navbar parameter='{{parameter}}'></navbar>
  2. <view class="CommissionRank">
  3. <view class="header">
  4. <view class="rank" wx:if='{{position}}'>您目前的排名<text class="num">{{position}}</text>名</view>
  5. <view class="rank" wx:else>您目前暂无排名</view>
  6. </view>
  7. <view class="wrapper">
  8. <view class="nav acea-row row-around">
  9. <view
  10. class="item {{active == index ? 'font-color' : ''}}"
  11. wx:for="{{navList}}"
  12. data-index="{{index}}"
  13. bindtap="switchTap"
  14. wx:key='index'
  15. >
  16. {{ item }}
  17. </view>
  18. </view>
  19. <view class="list">
  20. <view class="item acea-row row-between-wrapper" wx:for='{{rankList}}' wx:key='index'>
  21. <view class="num" wx:if='{{index <= 2}}'>
  22. <image src="/images/medal0{{index+1}}.png"></image>
  23. </view>
  24. <view class="num" wx:else>
  25. {{index+1}}
  26. </view>
  27. <view class="picTxt acea-row row-between-wrapper">
  28. <view class="pictrue"><image src="{{item.avatar}}"></image></view>
  29. <view class="text line1">{{item.nickname}}</view>
  30. </view>
  31. <view class="people font-color">¥{{item.brokerage_price}}</view>
  32. </view>
  33. </view>
  34. </view>
  35. </view>
  36. <authorize bind:onLoadFun='onLoadFun'></authorize>