<view class="data-v-0c4cb7fe"><block wx:if="{{region.index}}"><view class="app-region-user data-v-0c4cb7fe" style="{{'background-image:'+('url('+region.index+')')+';'}}"><view class="dir-left-nowrap user-info data-v-0c4cb7fe"><image class="avatar data-v-0c4cb7fe" src="{{detail.avatar}}"></image><view class="data-v-0c4cb7fe"><view class="name data-v-0c4cb7fe">{{detail.nickname}}</view><view class="dir-left-nowrap cross-center data-v-0c4cb7fe"><view data-event-opts="{{[['tap',[['toUpdate',['$event']]]]]}}" class="level data-v-0c4cb7fe" bindtap="__e"><block wx:if="{{detail.level==1}}"><text class="data-v-0c4cb7fe">省代理</text></block><block wx:if="{{detail.level==2}}"><text class="data-v-0c4cb7fe">市代理</text></block><block wx:if="{{detail.level==3}}"><text class="data-v-0c4cb7fe">区/县代理</text></block><image class="right-arrow data-v-0c4cb7fe" src="/static/image/icon/arrow-right-white.png"></image><block wx:if="{{detail.is_up==1&&detail.level_up_log&&detail.level_up_log.status!=2}}"><image class="is-up data-v-0c4cb7fe" src="../image/up.png"></image></block><block wx:if="{{detail.is_up==1&&detail.level_up_log&&detail.level_up_log.status==2}}"><image class="is-up data-v-0c4cb7fe" src="../image/up-lose.png"></image></block><block wx:if="{{detail.is_up==0&&detail.level_up_log&&detail.level_up_log.status==1}}"><image class="is-up data-v-0c4cb7fe" src="../image/up-success.png"></image></block></view><view class="rate main-between cross-center data-v-0c4cb7fe"><view class="data-v-0c4cb7fe">{{(setting.form.rate?setting.form.rate:'分红比例')+detail.bonus_rate+"%"}}</view><view data-event-opts="{{[['tap',[['toAbout',['$event']]]]]}}" class="about dir-right-nowrap cross-center data-v-0c4cb7fe" bindtap="__e"><image src="/static/image/icon/question.png" class="data-v-0c4cb7fe"></image><text class="data-v-0c4cb7fe">说明</text></view></view></view></view></view><view class="price main-between cross-center data-v-0c4cb7fe"><view class="data-v-0c4cb7fe"><view class="price-detail data-v-0c4cb7fe">{{detail.total_bonus}}</view><view class="data-v-0c4cb7fe">{{(setting.form.total_bonus?setting.form.total_bonus:'可提现分红')+"(元)"}}</view></view><view data-event-opts="{{[['tap',[['toCash',['$event']]]]]}}" class="cash-btn data-v-0c4cb7fe" bindtap="__e">提现</view></view></view></block><view class="app-region-bonus main-between data-v-0c4cb7fe"><view class="bonus-item data-v-0c4cb7fe"><view class="data-v-0c4cb7fe">{{(setting.form.cash_bonus?setting.form.cash_bonus:'已提现分红')+"(元)"}}</view><view class="bonus-price data-v-0c4cb7fe">{{detail.cash_bonus}}</view></view><view class="bonus-item data-v-0c4cb7fe"><view class="data-v-0c4cb7fe">{{(setting.form.all_bonus?setting.form.all_bonus:'累计分红')+"(元)"}}</view><view class="bonus-price data-v-0c4cb7fe">{{detail.all_bonus}}</view></view></view><view class="app-region-menu main-center cross-center data-v-0c4cb7fe"><view data-event-opts="{{[['tap',[['toBonus',['$event']]]]]}}" class="menu-item dir-top-nowrap cross-center data-v-0c4cb7fe" bindtap="__e"><image class="menu-icon data-v-0c4cb7fe" src="{{region.bonus}}"></image><view class="data-v-0c4cb7fe">{{setting.form.region?setting.form.region:'代理分红'}}</view></view><view data-event-opts="{{[['tap',[['toDetail',['$event']]]]]}}" class="menu-item dir-top-nowrap cross-center data-v-0c4cb7fe" bindtap="__e"><image class="menu-icon data-v-0c4cb7fe" src="{{region.cash}}"></image><view class="data-v-0c4cb7fe">{{setting.form.cash_detail?setting.form.cash_detail:'提现明细'}}</view></view></view></view>