<!--packageH/rightsInterests/rightsInterests.wxml-->
<view id="rightsInterests">
  <view class="top">
    <view class="img">
      <image src="{{datas.avatar}}" alt=""></image>
    </view>
    <view class="user">
      <view class="name">{{ datas.nickname }}</view>
      <view class="leave" wx:if="{{datas.level_name}}">{{ datas.level_name }}</view>
    </view>
  </view>
  <view class="contenLis">
    <view class="leftLis">
      <view class="rightLis">
        <view style="font-size: 1rem; color: #f15353">{{ datas.equity?datas.equity:'0' }}个</view>
        <view style="font-size: 0.88rem; color: #8c8c8c">权益值</view>
      </view>
      <view class="rightLis">
        <view style="font-size: 1rem; color: #f15353">￥{{ datas.equity_amount?datas.equity_amount:'0' }}</view>
        <view style="font-size: 0.88rem; color: #8c8c8c">权益价值</view>
      </view>
    </view>
    <view class="leftLis">
      <view class="rightLis">
        <view style="font-size: 1rem; color: #f15353">{{ datas.expect_amount?datas.expect_amount:'0' }}元</view>
        <view style="font-size: 0.88rem; color: #8c8c8c">预计奖励金额</view>
      </view>
      <view class="rightLis">
        <view style="font-size: 1rem; color: #f15353">{{ datas.total_amount?datas.total_amount:'0' }}元</view>
        <view style="font-size: 0.88rem; color: #8c8c8c">已结算金额</view>
      </view>
    </view>
  </view>
  <view style="width: 23.41rem; height: 0.63rem; background-color: #ebebeb"></view>
  <van-tabs v-model="{{active}}" title-active-color="#ee2e2b">
    <van-tab title="奖励记录页"></van-tab>
  </van-tabs>
  <view class="lis">
    <view class="lisbox" wx:for="{{dividend}}" wx:key="index" >
      <view class="lisLeft">
        <view class="idlis">
          <view style="font-size: 25.92rpx; color: #333333; margin-bottom: 16rpx">奖励 ID:{{ item.id }}</view>
          <view style="font-size: 24rpx; color: #8c8c8c">时间：{{ item.created_at }}</view>
        </view>
      </view>
      <view class="lisRight" style="font-size: 1rem; color: #f15353; display: flex; align-items: center">
        {{ item.dividend_amount }}元
      </view>
    </view>
    <view wx:if="{{dividend.length == 0}}" style="text-align: center;line-height: 60px;height: 120rpx;color: #999999;">
      暂无数据</view>
  </view>
</view>