<!-- packageI/prizePool/prizePool.wxml -->
<view class="topbox">
  <view class="image">
    <text class="txt">平台周期利润</text>
    <view class="num">{{info.profit}}</view>
  </view>
  <view class="centenBox">
    <view class="left">
      <view class="price">{{info.total}}</view>
      <view class="text">平台周期营业额</view>
    </view>
    <view class="right">
      <view class="price">{{info.person_num}}</view>
      <view class="text">平台会员数</view>
    </view>
  </view>
</view>

<view class="bgBox">
  <canvas type="2d" id="myCanvas" style="width:{{canWidth}}px;height:{{canHeight}}px;"></canvas>
</view>
<view class="listBox">
  <view class="listTop">
    经销商等级周期分红
  </view>
  <view class="listConten">
    <view class="viewlist">权重</view>
    <view class="viewlistLive">
      <view style="width:100%;overflow: hidden;white-space: nowrap;text-overflow: ellipsis;">等级</view>
    </view>
    <view class="viewlist">分红比例</view>
    <view class="viewlist">分红金额</view>
  </view>
  <view class="listConten" wx:for="{{info.levels}}" wx:key="index">
    <view class="viewlist">{{item.level_weight}}</view>
    <view class="viewlistLive">
      <view style="width:100%;overflow: hidden;white-space: nowrap;text-overflow: ellipsis;">{{item.level_name}}</view>
    </view>
    <view class="viewlist">{{item.rate}}%</view>
    <view class="viewlist">{{item.total}}</view>
  </view>

</view>