2022-08-15 09:27:17 +00:00
|
|
|
<block wx:if="{{isLoading}}"><view class="pad-x150"><status-nav vue-id="30f7afbb-1" ifReturn="{{true}}" navBarTitle="分销中心" marginBottom="{{0}}" bind:__l="__l"></status-nav><view class="distribution border-box"><view class="distribution-msg radius30 pad-all40 border-box"><view class="distribution-txt border-box flex"><view class="txt"><view class="title font30 mar-x20">我的佣金</view><view class="price font60"><text class="font48">¥</text>{{commission}}</view></view><view data-event-opts="{{[['tap',[['openCode',['$event']]]]]}}" class="code-btn mar-s10" bindtap="__e"><image style="width:87rpx;height:87rpx;" src="/static/icon/icon-code.png" mode="widthFix"></image><view class="font24 mar-s10">查看分销码</view></view></view><view class="distribution-profit mar-s40 flex"><view class="item"><text class="font24">累计收益</text><view class="profit-price font36 mar-s10">{{"¥"+(cumulative_income>0?cumulative_income:'0')}}</view></view><view class="line"></view><view class="item"><text class="font24">累计提现</text><view class="profit-price font36 mar-s10">{{"¥"+(cumulative_withdrawal>0?cumulative_withdrawal:'0')}}</view></view><view class="line"></view><view class="item"><text class="font24">我的团队</text><view class="profit-price font36 mar-s10">{{my_team}}</view></view></view></view></view><view class="record-nav border-box pad-zy20 flex"><block wx:for="{{navList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['changeNav',[index]]]]]}}" class="{{['item','color-8c','radius20','border-box',index==navIndex?'cur':'']}}" bindtap="__e">{{item}}</view></block></view><view class="record-list border-box"><block wx:if="{{navIndex==1}}"><view class="team-nav mar-s30 flex"><block wx:for="{{teamNav}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['changeTeam',[index]]]]]}}" class="item" bindtap="__e"><view class="txt font30">{{''+item.title+''}}<text class="font28" style="margin-left:5rpx;">{{"("+item.num+")"}}</text></view><view class="{{['line','mar-s15',index==teamIndex?'background-orange':'']}}"></view></view></block></view></block><block wx:for="{{recordList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="record-item border-box pad-sx40 flex"><view class="left flex"><block wx:if="{{navIndex!==2}}"><view class="img radius30"><image src="{{item.cover==''?logoSrc:item.cover}}" mode="widthFix"></image></view></block><view class="txt"><view class="font36 mar-x10"><block wx:if="{{navIndex==2}}"><text class="font26">¥</text></block>{{item.name==''?'系统':item.name}}</view><view class="font24 color-99">{{item.created_at}}</view></view></view><view class="right"><block wx:if="{{navIndex==2}}"><view class="font24"><block wx:if="{{item.title=='待审批'}}"><text>{{item.title}}</text></block><block wx:if="{{item.title=='已驳回'}}"><text class="color-red">{{item.title}}</text></block><block wx:if="{{item.title=='已完成'}}"><text style="color:#7b7b7b;">{{item.title}}</text></block></view></block><block wx:else><view class="font24">{{item.title}}</view></block><block wx:if="{{item.price}}"><view class="font30 color-red mar-s10">{{item.price>0&&navIndex==0?'+'+item.price:item.price}}</view></block></view></view></block><block wx:if="{{noMore}}"><view class="no-more font24"><text>—— 到底啦 ——</text></view></block></view><view class="pull-btn border-box" style="background-color:#f5f5f5;padding-top:28rpx;"><view data-event-opts="{{[['tap',[['openWithdrawal',['$event']]]]]}}" class="btn background-orange font36 radius30 flex" bindtap="__e">立即提现</view></view><view hidden="{{!(isShow||withdrawal)}}" class="pull-bg" style="background-color:rgba(0,0,0,.3);"></view><block wx:if="{{isShow}}"><view class="vip-box-bg border-box"><view class="vip-box radius20 background-white font30"><view class="title">分销二维码</view><view class="vip-code flex"><image src="{{codeImg}}" mode="widthFix"></image></view><view data-event-opts="{{[['tap',[['shareImgEv',['$event']]]]]}}" class="submit-b
|