<!-- 推广客户 -->
<view class="container user-container bg-white">
  <view class="title">推广客户</view>
  <view class="base-content oh tc">
    <view class="item fl">
      <view class="name cr-666">已推广用户总数</view>
      <view class="value single-text">
        <text class="golden">{{user_total.user_count || 0}}</text>
        <text class="cr-888">人</text>
      </view>
    </view>
    <view class="item fl">
      <view class="name cr-666">已消费用户总数</view>
      <view class="value single-text">
        <text class="green">{{user_total.valid_user_count || 0}}</text>
        <text class="cr-888">人</text>
      </view>
    </view>
  </view>
</view>

<!-- 返利概况 -->
<view class="container profit-container bg-white spacing-mt">
  <view class="title">返利概况</view>
  <view class="base-content oh tc">
    <view class="item fl">
      <view class="name cr-666">返佣总额</view>
      <view class="value single-text">
        <text class="golden">{{currency_symbol}}{{user_profit_total_price || '0.00'}}</text>
      </view>
    </view>
    <view class="item fl">
      <view class="name cr-666">待生效</view>
      <view class="value single-text">
        <text class="yellow">{{currency_symbol}}{{user_profit_stay_price || '0.00'}}</text>
      </view>
    </view>
    <view class="item fl">
      <view class="name cr-666">待结算</view>
      <view class="value single-text">
        <text class="blue">{{currency_symbol}}{{user_profit_vaild_price || '0.00'}}</text>
      </view>
    </view>
    <view class="item fl">
      <view class="name cr-666">已结算</view>
      <view class="value single-text">
        <text class="green">{{currency_symbol}}{{user_profit_already_price || '0.00'}}</text>
      </view>
    </view>
  </view>
</view>

<!-- 近15日收益走势 -->
<view class="container chart-container bg-white oh spacing-mt">
  <view class="title">近15日收益走势</view>
  <chart s-if="(profit_data || null) != null" option="{{ profit_chart }}"></chart>
  <view s-else class="cr-888 tc chart-not-data">{{data_list_loding_msg || '暂无数据'}}</view>
</view>

<!-- 近15日推广用户数 -->
<view class="container chart-container bg-white oh spacing-mt">
  <view class="title">近15日推广用户数</view>
  <chart s-if="(user_data || null) != null" option="{{ user_chart }}"></chart>
  <view s-else class="cr-888 tc chart-not-data">{{data_list_loding_msg || '暂无数据'}}</view>
</view>

<import src="/pages/common/bottom_line.swan" />
<template is="bottom_line" data="{{{status: true}}}"></template>