index.wxml 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. <wxs src="../../../utils/filter.wxs" module="filters" />
  2. <view class="container">
  3. <view class="message">被邀请用户为首次登录的用户</view>
  4. <view class="total">
  5. <view class="box">
  6. <view class="label">统计日期</view>
  7. <picker mode="date" value="{{dateTime}}" fields="month" start="2023-09" end="2100-09"
  8. bindchange="bindDateChange">
  9. <view class="picker">
  10. {{dateTime}} >
  11. </view>
  12. </picker>
  13. </view>
  14. <view class="box">
  15. <view class="label">成功邀请</view>
  16. <view>{{totalSize}}人</view>
  17. </view>
  18. </view>
  19. <scroll-view class="historyList" scroll-y="true" enhanced show-scrollbar="{{false}}" scroll-top="{{scrollTop}}"
  20. bindscrolltolower='loadMore' wx:if="{{!nullList}}">
  21. <view class="user" wx:for="{{list}}" wx:key='index'>
  22. <image src="{{item.avatar}}" class="avatar" />
  23. <view class="info">
  24. <view class="nickName">{{item.nickName||item.eid}}</view>
  25. <view class="addTime">
  26. 加入时间 :{{filters.formatDate(item.gmtCreated,1)}}
  27. </view>
  28. </view>
  29. </view>
  30. </scroll-view>
  31. <view class="bottom">
  32. <button class="resetBtn btn" bindtap="openInvite">
  33. 邀请用户
  34. </button>
  35. </view>
  36. <emptyBg wx:if="{{nullList}}" message="暂无成功邀请记录"></emptyBg>
  37. <InvitePop id="InvitePop"></InvitePop>
  38. </view>