<view>
  <view class="header">
    <van-image width="100rpx" height="100rpx" round cover src="{{avatar_image}}" />
    <text class="nick-name">{{nickname}}</text>
  </view>
  <van-cell title="我的区域代理（{{agent_count}}人）" value="" url='/packageH/region/my_agency/my_agency' size="large" is-link />
  <van-cell title="累计分红金额：" size="large">
    <view slot="">
      <view class="price">￥{{grand_amount}}</view>
    </view>
  </van-cell>
  <view class="main">
    <van-tabs active="{{ active }}" bind:change="onChange">
      <van-tab title="分红记录">
        <van-cell wx:for="{{list}}" wx:key="{{item.id}}" title="{{item.order_sn}}" label="时间：{{item.created_at}}">
          <view class="item-price" slot="">
            <text>￥{{item.amount}}</text>
          </view>
        </van-cell>
      </van-tab>
    </van-tabs>
  </view>
</view>