inviteUserDetail.wxml 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. <view class="subtitleColor-bg">
  2. <view class='account-head'>
  3. <image src='{{info.avatar}}' mode="aspectFill" lazy-load="true"></image>
  4. </view>
  5. <view class="center mTop10">{{info.realName ? info.realName: info.nickname}}</view>
  6. <view class="row-flex mTop20">
  7. <view class="col-8" wx:if="{{type == 1}}">
  8. <view class="font12"><text class="font18">{{info.inviteeNum || 0}}</text>人</view>
  9. <view class='label'>
  10. <text class="font12 white">邀请</text>
  11. </view>
  12. </view>
  13. <view class="{{type == 1 ? 'col-8' : 'col-12'}} line">
  14. <view class="font12"><text class="font18">{{info.arrivalAccount || '0.00'}}</text>元</view>
  15. <view class='label'>
  16. <text class="font12 white">已到账</text>
  17. </view>
  18. </view>
  19. <view class="col-8 link {{type == 1 ? 'col-8' : 'col-12'}}">
  20. <view class="font12"><text class="font18">{{info.unpaidAccount || '0.00'}}</text>元</view>
  21. <view class='label'>
  22. <text class="font12 white">即将入账</text>
  23. </view>
  24. </view>
  25. </view>
  26. </view>
  27. <view class="tab-bar white-bg">
  28. <view class="tab-item{{tabIndex == 0 ? ' active':''}}" wx:if="{{type == 1}}" data-index="0" bindtap="setTabbar">
  29. <view class="label">邀请会员</view>
  30. </view>
  31. <view class="tab-item{{tabIndex == 1 ? ' active':''}}" data-index="1" bindtap="setTabbar">
  32. <view class="label">已到账</view>
  33. </view>
  34. <view class="tab-item{{tabIndex == 2 ? ' active':''}}" data-index="2" bindtap="setTabbar">
  35. <view class="label">即将到账</view>
  36. </view>
  37. </view>
  38. <view wx:if="{{list.length > 0}}" class="white-bg">
  39. <view class="item" wx:for="{{list}}" wx:key="*this" >
  40. <view class="photo">
  41. <image wx:if="{{type == 1}}" class="growup-content-list-photo" src="{{item.avatar}}" lazy-load="true" binderror="binderror" data-index="{{index}}" mode="aspectFill"></image>
  42. <view>
  43. <view class="font14" wx:if="{{type == 1}}">
  44. {{item.nickname}}<view class="tag" wx:if="{{tabIndex == 2}}">{{item.deadlineEnd}}</view>
  45. <view class="font14" wx:if="{{tabIndex == 0}}">{{item.loginName}}</view>
  46. <view class="font12 gray" wx:else>{{item.remark}}</view>
  47. </view>
  48. <view class="font14" wx:if="{{type != 1}}">
  49. <view class="font14 gray">{{item.remark}}</view>
  50. <text class="gray font12">{{item.time}}</text>
  51. <text class="tag" wx:if="{{tabIndex == 2}}">{{item.deadlineEnd}}</text>
  52. </view>
  53. </view>
  54. </view>
  55. <view class="text-right">
  56. <view wx:if="{{type == 1}}">
  57. <view class="font12 gray" wx:if="{{tabIndex == 0}}">{{item.regtimeStr}}\n<view>最后访问时间</view></view>
  58. <view class="gray font12" wx:else><view class="font16 subtitleColor">+{{item.price}}</view>\n {{item.time}}</view>
  59. </view>
  60. <view class="font20 subtitleColor align" wx:else>+{{item.price}}</view>
  61. </view>
  62. </view>
  63. <view class="center mTop10 font14 growup-gray" wx:if="{{finished}}">{{finishedText}}</view>
  64. </view>
  65. <view class='noData' hidden='{{list.length > 0}}'><text class="icon icon-info"></text><text>~没有数据~</text></view>
  66. <view class='load-more' hidden="{{loadMore}}">下面没有了哦</view>