68 lines
3.2 KiB
Plaintext
68 lines
3.2 KiB
Plaintext
<!-- 头部 -->
|
|
<nav-bar isBack="{{isBack}}" pageTitle="{{pageTitle}}" system="{{system}}"></nav-bar>
|
|
<!-- user/parIncome/parIncome.wxml -->
|
|
<view class="parIncome">
|
|
<view class="parIncome_title" style="top:{{system.statusHeight+system.titleHeight+'px'}}">
|
|
<view class="parIncome_img">
|
|
<view class="flex1">
|
|
<view class="par_title">
|
|
<span>积分合计</span>
|
|
</view>
|
|
<view class="par_num">{{userInfo.integral}} <navigator class="span" url="/user/couponExchange/couponExchange">兑换</navigator></view>
|
|
</view>
|
|
<view class="flex1">
|
|
<view class="par_title">
|
|
<span>佣金合计(元)</span>
|
|
</view>
|
|
<view class="par_num">{{userInfo.distribution_money}} <navigator class="span" url="/user/cashWithdrawal/cashWithdrawal">提现</navigator></view>
|
|
</view>
|
|
</view>
|
|
<view class="mt20">
|
|
<view class="tabs">
|
|
<view wx:for="{{tabs}}" wx:key="{{index}}" bind:tap="handleChange" data-index="{{index}}" class="tab {{current == index?'tabActiv':''}}">
|
|
{{item}}
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="data_con">
|
|
<scroll-view wx:if="{{ current == 0 }}" class="recommender">
|
|
<view wx:for="{{recommendList}}" wx:key="{{index}}" class="recom_list">
|
|
<view class="recom_list_row">
|
|
<image src="{{item.avatar}}" />
|
|
<span class="ml20">{{item.nickname}}</span>
|
|
</view>
|
|
<view class="recom_list_row recom_row_r">{{item.create_time}}</view>
|
|
</view>
|
|
<view wx:if="{{ !isPage }}" class="ending">没有更多了</view>
|
|
</scroll-view>
|
|
<scroll-view wx:if="{{ current == 1 }}" class="recommender">
|
|
<view wx:for="{{score}}" wx:key="{{index}}" class="recom_list">
|
|
<view class="recom_list_row">
|
|
<view>
|
|
<view class="mode">{{item.title}}</view>
|
|
<view class="mode_time mt10">{{item.create_time}}</view>
|
|
</view>
|
|
</view>
|
|
<view class="recom_list_row recom_row_r mode_num">{{item.intergral}}</view>
|
|
</view>
|
|
<view wx:if="{{ !isPage }}" class="ending">没有更多了</view>
|
|
</scroll-view>
|
|
<scroll-view wx:if="{{ current == 2 }}" class="recommender">
|
|
<view wx:for="{{commission}}" wx:key="{{index}}" class="recom_list">
|
|
<view class="recom_list_row">
|
|
<view>
|
|
<view class="mode">{{item.type == 1?'提现':'佣金收益'}}</view>
|
|
<view class="mode_time mt10">{{item.create_time}}</view>
|
|
</view>
|
|
</view>
|
|
<view class="recom_list_row recom_row_r mode_num">{{item.distribution_money}}</view>
|
|
</view>
|
|
<view wx:if="{{ !isPage }}" class="ending">没有更多了</view>
|
|
</scroll-view>
|
|
</view>
|
|
</view>
|
|
<!-- 加载动画 -->
|
|
<loading-prog isLoading="{{isLoading}}"></loading-prog>
|
|
<!-- toasta提示 -->
|
|
<i-toast id="toast" /> |