index.wxml 3.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869
  1. <navbar parameter='{{parameter}}'></navbar>
  2. <view class="promoter-list">
  3. <view class='promoterHeader bg-color'>
  4. <view class='headerCon acea-row row-between-wrapper'>
  5. <view>
  6. <view class='name'>推广人数</view>
  7. <view><text class='num'>{{teamCount}}</text></view>
  8. </view>
  9. <view class='iconfont icon-tuandui'></view>
  10. </view>
  11. </view>
  12. <view class='nav acea-row row-around'>
  13. <view class="{{grade == 0 ? 'item on' : 'item'}}" bindtap='setType' data-grade='0'>一级({{total}})</view>
  14. <view class="{{grade == 1 ? 'item on' : 'item'}}" bindtap='setType' data-grade='1'>二级({{totalLevel}})</view>
  15. </view>
  16. <view class='search acea-row row-between-wrapper'>
  17. <view class='input'><input placeholder='点击搜索会员名称' placeholder-class='placeholder' value='{{keyword}}' bindblur='setKeyword'></input><text class='iconfont icon-guanbi'></text></view>
  18. <view class='iconfont icon-sousuo2' bindtap='setRecordList'></view>
  19. </view>
  20. <view class='list'>
  21. <view class="sortNav acea-row row-middle">
  22. <view class="sortItem" data-sort="childCount ASC" bindtap='setSort' wx:if="{{sort == 'childCount DESC'}}">团队排序
  23. <image src='/images/sort1.png'></image>
  24. </view>
  25. <view class="sortItem" data-sort="" bindtap='setSort' wx:elif="{{sort == 'childCount ASC'}}">团队排序
  26. <image src='/images/sort3.png'></image>
  27. </view>
  28. <view class="sortItem" data-sort="childCount DESC" bindtap='setSort' wx:else>团队排序
  29. <image src='/images/sort2.png'></image>
  30. </view>
  31. <view class="sortItem" data-sort="numberCount ASC" bindtap='setSort' wx:if="{{sort == 'numberCount DESC'}}">金额排序
  32. <image src='/images/sort1.png'></image>
  33. </view>
  34. <view class="sortItem" data-sort="" bindtap='setSort' wx:elif="{{sort == 'numberCount ASC'}}">金额排序
  35. <image src='/images/sort3.png'></image>
  36. </view>
  37. <view class="sortItem" data-sort="numberCount DESC" bindtap='setSort' wx:else>金额排序
  38. <image src='/images/sort2.png'></image>
  39. </view>
  40. <view class="sortItem" data-sort="orderCount ASC" bindtap='setSort' wx:if="{{sort == 'orderCount DESC'}}">订单排序
  41. <image src='/images/sort1.png'></image>
  42. </view>
  43. <view class="sortItem" data-sort="" bindtap='setSort' wx:elif="{{sort == 'orderCount ASC'}}">订单排序
  44. <image src='/images/sort3.png'></image>
  45. </view>
  46. <view class="sortItem" data-sort="orderCount DESC" bindtap='setSort' wx:else>订单排序
  47. <image src='/images/sort2.png'></image>
  48. </view>
  49. </view>
  50. <block wx:for="{{recordList}}" wx:key='index'>
  51. <view class='item acea-row row-between-wrapper'>
  52. <view class="picTxt acea-row row-between-wrapper">
  53. <view class='pictrue'><image src='{{item.avatar}}'></image></view>
  54. <view class='text'>
  55. <view class='name line1'>{{item.nickname}}</view>
  56. <view>加入时间: {{item.time}}</view>
  57. </view>
  58. </view>
  59. <view class="right">
  60. <view><text class='font-color'>{{item.childCount ? item.childCount : 0}}</text></view>
  61. <view>{{item.orderCount ? item.orderCount : 0}}</view>
  62. <view>{{item.numberCount ? item.numberCount : 0}}</view>
  63. </view>
  64. </view>
  65. </block>
  66. </view>
  67. </view>
  68. <authorize bind:onLoadFun='onLoadFun'></authorize>