<app-layout vue-id="908a6bd6-1" class="data-v-8c17d4fc" bind:__l="__l" vue-slots="{{['default']}}"><image class="bg data-v-8c17d4fc" src="{{region.detail}}"></image><view class="info data-v-8c17d4fc"><image class="avatar data-v-8c17d4fc" src="{{detail.avatar}}"></image><block wx:if="{{detail.level_up_log&&detail.level_up_log.status==1}}"><image class="success-img data-v-8c17d4fc" src="{{bonus.success}}"></image></block><block wx:if="{{detail.level_up_log&&detail.level_up_log.status==1}}"><view class="update main-between cross-center data-v-8c17d4fc"><text class="data-v-8c17d4fc">{{"恭喜您已升级成为"+detail.province_text+'的'}}<block wx:if="{{detail.level==1}}"><text class="data-v-8c17d4fc">省代理</text></block><block wx:if="{{detail.level==2}}"><text class="data-v-8c17d4fc">市代理</text></block></text></view></block><block wx:if="{{detail.is_up==1}}"><view class="update main-between cross-center data-v-8c17d4fc"><block wx:if="{{detail.level_up_log&&detail.level_up_log.status==0}}"><view class="data-v-8c17d4fc">{{"正在申请成为"+detail.province_text+"的"+detail.level_up.level_desc}}</view></block><block wx:else><view class="data-v-8c17d4fc">{{"可升级为"+detail.province_text+"的"+detail.level_up.level_desc}}</view></block><view data-event-opts="{{[['tap',[['toUpdate',['$event']]]]]}}" class="update-btn data-v-8c17d4fc" bindtap="__e">{{detail.level_up_log&&detail.level_up_log.status==0?'去查看':'去升级'}}</view></view></block><view class="title main-center cross-center data-v-8c17d4fc"><image src="./../image/title-left.png" class="data-v-8c17d4fc"></image><view class="data-v-8c17d4fc">代理级别</view><image src="./../image/title-right.png" class="data-v-8c17d4fc"></image></view><view class="level-info data-v-8c17d4fc"><block wx:if="{{detail.level==1}}"><text class="data-v-8c17d4fc">省代理</text></block><block wx:if="{{detail.level==2}}"><text class="data-v-8c17d4fc">市代理</text></block><block wx:if="{{detail.level==3}}"><text class="data-v-8c17d4fc">区/县代理</text></block><text class="placeholder data-v-8c17d4fc">|</text><block wx:if="{{detail.bonus_rate}}"><text class="data-v-8c17d4fc">{{(setting.form.rate?setting.form.rate:'分红比例')+detail.bonus_rate+"%"}}</text></block></view><view class="title main-center cross-center data-v-8c17d4fc"><image src="./../image/title-left.png" class="data-v-8c17d4fc"></image><view class="data-v-8c17d4fc">代理地区</view><image src="./../image/title-right.png" class="data-v-8c17d4fc"></image></view><view class="data-v-8c17d4fc"><text class="data-v-8c17d4fc">{{detail.province_text}}</text><block wx:if="{{detail.level>2&&detail.city_text}}"><text class="data-v-8c17d4fc"><text class="placeholder data-v-8c17d4fc">-</text>{{''+detail.city_text+''}}</text></block></view><block wx:if="{{detail.level>1&&!(detail.relation.length==1&&detail.relation[0].name==detail.province_text)}}"><view class="relation-list data-v-8c17d4fc"><block wx:for="{{detail.relation}}" wx:for-item="item" wx:for-index="index" wx:key="index"><text class="data-v-8c17d4fc"><block wx:if="{{index>0}}"><text class="placeholder data-v-8c17d4fc">/</text></block>{{''+item.name+''}}</text></block></view></block></view></app-layout>