<page-meta page-style="{{themeColor}}"></page-meta><view class="fenxiao-promote" style="{{'background-image:'+('url('+$root.g0+')')+';'}}"><view class="my-earnings"><view class="earnings-head-wrap"><view class="earnings-head"><image class="name" src="{{$root.g1}}" mode="aspectFit"></image><image class="money-bg" src="{{$root.g2}}" mode="aspectFill"></image><view class="content">累计收益<text class="money-text">{{detailData.total_commission}}</text>元</view></view></view><view class="earnings-body"><view class="earnings-tab"><text data-event-opts="{{[['tap',[['tabCut',[0]]]]]}}" class="{{[(tabIndex==0)?'active':'']}}" bindtap="__e">已邀请好友</text><text data-event-opts="{{[['tap',[['tabCut',[1]]]]]}}" class="{{[(tabIndex==1)?'active':'']}}" bindtap="__e">已下单好友</text></view><scroll-view class="earnings-content-wrap" scroll-y="true" data-event-opts="{{[['scrolltolower',[['getTeam']]]]}}" bindscrolltolower="__e"><block wx:if="{{$root.g3}}"><view class="earnings-list"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="earnings-item"><image class="item-img" src="{{item.$orig.headimg?item.g4:item.g5.head}}" mode="aspectFill" data-event-opts="{{[['error',[['e0',['$event']]]]]}}" data-event-params="{{({item:item.$orig})}}" binderror="__e"></image><view class="item-content"><view class="item-name multi-hidden">{{item.$orig.nickname}}</view></view></view></block></view></block><block wx:else><view class="earnings-empty">暂无已邀请好友，快去邀请吧</view></block></scroll-view></view></view><view class="activity-rules"><image class="rules-name" src="{{$root.g6}}" mode="aspectFit"></image><block wx:if="{{promoteContent.content}}"><view class="content"><rich-text nodes="{{promoteContent.content}}"></rich-text></view></block><block wx:else><view class="rules-empty">暂无活动规则</view></block></view><view class="active-btn"><button type="primary" data-event-opts="{{[['tap',[['toPoster']]]]}}" bindtap="__e">邀请好友</button></view><ns-copyright vue-id="a93f4c28-1" bind:__l="__l"></ns-copyright><ns-login class="vue-ref" vue-id="a93f4c28-2" data-ref="login" bind:__l="__l"></ns-login><loading-cover class="vue-ref" vue-id="a93f4c28-3" data-ref="loadingCover" bind:__l="__l"></loading-cover><privacy-popup class="vue-ref" vue-id="a93f4c28-4" data-ref="privacyPopup" bind:__l="__l"></privacy-popup></view>