<view class="container" data-theme="{{themeStyle}}"><view class="level-top color-base-bg"><view class="head-img-wrap"><view><view class="head-img"><image src="{{fenxiaoInfo.headimg?$root.g0:$root.g1.default_headimg}}" mode="aspectFill" data-event-opts="{{[['error',[['e0',['$event']]]]]}}" binderror="__e"></image></view><view class="head-bg color-base-text" style="{{'background-image:'+('url('+$root.g2+')')+';'}}">{{''+fenxiaoInfo.level_name+''}}</view></view><view class="level-info">{{fenxiaoInfo.nickname}}</view></view><view class="level-list"><view class="level-list-box"><block wx:for="{{levelList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><block><view class="level_list"><view class="level_list-top"><image src="{{$root.g3}}"></image><text>{{index+1}}</text></view><view class="font-son">{{item.level_name}}</view></view><block wx:if="{{index!=levelList.length-1}}"><view class="{{['xian',index<levelIndex?'active':'']}}"></view></block></block></block></view></view><view class="level-top-content"><view class="content-title-wrap"><view class="content-title color-base-text">当前等级佣金比率</view></view><view class="level-img-item"><block wx:if="{{$root.m0>0}}"><view class="level-img"><view class="level-img-wrap"><image src="{{$root.g4}}"></image></view><view class="level-img2-wrap"><view class="content-name">一级佣金</view></view><view class="level-fs">{{levelInfo.one_rate+"%"}}</view></view></block><block wx:if="{{$root.m1>1}}"><view class="level-img"><view class="level-img-wrap"><image src="{{$root.g5}}"></image></view><view class="level-img2-wrap"><view class="content-name">二级佣金</view></view><view class="level-fs">{{levelInfo.two_rate+"%"}}</view></view></block><block wx:if="{{$root.m2>2}}"><view class="level-img"><view class="level-img-wrap"><image src="{{$root.g6}}"></image></view><view class="level-img2-wrap"><view class="content-name">三级佣金</view></view><view class="level-fs">{{levelInfo.three_rate+"%"}}</view></view></block></view></view></view><block wx:if="{{fenxiaoInfo.condition.last_level}}"><view class="level-bottom"><view class="level-bottom-name">距离下一等级：<view class="level_img"><image src="{{$root.g7}}"></image><text>{{levelInfo.level_num}}</text></view></view><view class="level-bottom-title"><block wx:if="{{fenxiaoInfo.condition.last_level.upgrade_type==1}}"><block><text class="line-left color-base-bg"></text>满足以下任意条件<text class="line-right color-base-bg"></text></block></block><block wx:else><block><text class="line-left color-base-bg"></text>满足以下全部条件<text class="line-right color-base-bg"></text></block></block></view><view class="detail"><view class="detail-wrap"><view class="detail-title"><text>操作行为</text><text>操作进度</text></view><block wx:if="{{fenxiaoInfo.condition.last_level.one_fenxiao_order_num>0}}"><view class="detail-item "><view class="detail-item-name">一级分销订单总数</view><view class="detail-item-content"><text class="color-base-text">{{fenxiaoInfo.one_fenxiao_order_num}}</text>{{'/ '+fenxiaoInfo.condition.last_level.one_fenxiao_order_num+''}}</view></view></block><block wx:if="{{fenxiaoInfo.condition.last_level.one_fenxiao_order_money>0}}"><view class="detail-item"><view class="detail-item-name">一级分销订单总额</view><view class="detail-item-content"><text class="color-base-text">{{fenxiaoInfo.one_fenxiao_order_money?fenxiaoInfo.one_fenxiao_order_money:0}}</text>{{'/ '+fenxiaoInfo.condition.last_level.one_fenxiao_order_money+''}}</view></view></block><block wx:if="{{fenxiaoInfo.condition.last_level.order_num>0}}"><view class="detail-item "><view class="detail-item-name">自购订单总数</view><view class="detail-item-content"><text class="color-base-text">{{fenxiaoInfo.order_num?fenxiaoInfo.order_num:0}}</text>{{'/ '+fenxiaoInfo.condition.last_level.order_num+''}}</view></view></block><block wx:if="{{fenxiaoInfo.condition.last_level.order_money>0}}"><view class="detail-item"><view class="detail-item-name">自购订单总额</view><view class="detail-item-content"><text class="color-base-text">{{fenxiaoInfo.order_money?fenxiaoInfo.order_money:0}}</text>{{'/ '+fenxiaoInfo.condition.last_level.order_money+''}}</view></view></block><block wx:if="{{fenxiaoInfo.condition.last_level.child_num>0}}"><view class="detail-item"><view class="detail-item-name">一级下线人数</view><view class="detail-item-content"><text class="color-base-text">{{fenxiaoInfo.child_num?fenxiaoInfo.child_num:0}}</text>{{'/ '+fenxiaoInfo.condition.last_level.child_num+''}}</view></view></block><block wx:if="{{fenxiaoInfo.condition.last_level.child_fenxiao_num>0}}"><view class="detail-item"><view class="detail-item-name">一级下线分销商</view><view class="detail-item-content"><text class="color-base-text">{{fenxiaoInfo.child_fenxiao_num?fenxiaoInfo.child_fenxiao_num:0}}</text>{{'/ '+fenxiaoInfo.condition.last_level.child_fenxiao_num+''}}</view></view></block></view></view></view></block></view>