12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758 |
- <!--pages/partnerCommonRecord/partnerCommonRecord.wxml 普通用户 - 邀请记录-->
- <scroll-view class='container'>
- <view class='top_tab_wrap'>
- <view class='top_tab_cont clearfix'>
- <view class='each_tab {{tabId == 0 ? "each_tab_active" : ""}}' data-id="0" bindtap='tabChange'>邀请客户</view>
- <view class='each_tab {{tabId == 1 ? "each_tab_active" : ""}}' data-id="1" bindtap='tabChange'>收益记录</view>
- </view>
- </view>
- <!-- 内容 -->
- <scroll-view wx:if="{{scrollTrue ? 'scroll-y' : ''}}" class="scoll-h" bindscrolltolower="searchScrollLower">
- <view class='tab_content'>
- <view class='tab_content_list'>
-
- <!-- 邀请记录 -->
- <block wx:if="{{tabId == 0}}">
- <view class='tab_title clearfix'>
- <view class='tab_title_time'>时间</view>
- <view class='tab_title_name'>用户名</view>
- <view class='tab_title_type'>邀请类型</view>
- </view>
- <block wx:if="{{recordList}}" wx:for="{{recordList}}" wx:key="index" wx:for-index="{{i}}">
- <view class='each_tab_cont clearfix'>
- <view class='tab_cont_time'>{{item.createTime}}</view>
- <view class='tab_cont_name'>{{item.distributeSellUser}}</view>
- <view class='tab_cont_type'>{{item.shareUser}}</view>
- </view>
- </block>
- </block>
- <!-- 收益记录 -->
- <block wx:else>
- <view class='tab_title clearfix'>
- <view class='tab_title_time'>时间</view>
- <view class='tab_title_name'>用户名</view>
- <view class='tab_title_type'>收益记录</view>
- </view>
- <block wx:if="{{recordList}}" wx:for="{{recordList}}" wx:key="index" wx:for-index="{{i}}">
- <view class='each_tab_cont clearfix'>
- <view class='tab_cont_time'>{{item.createTime}}</view>
- <view class='tab_cont_name'>{{item.consumeUserName}}</view>
- <view class='tab_cont_type'>{{item.earn}}</view>
- </view>
- </block>
- </block>
- </view>
- </view>
- <view class="loading" hidden="{{!searchLoading}}">加载中...</view>
- <view class="loading complete" hidden="{{!searchLoadingComplete}}"></view>
- </scroll-view>
- </scroll-view>
|