<script>
export default {
  name: "my-index",
  components: {},
  data() {
    return {};
  },
  mounted() {},
  methods: {
    goUrl() {
      this.$router.push('/all_profit')
    }
  },
}
</script>

<template>
<div>
  <div class="align-items-center mb-32">
    <div class="h-80 b-rad-10 bg-one flex-1 flex-direction-column align-items-center flex-justify-center mr-20">
      <div class="fs-14 fc-f">余额</div>
      <div class="fs-15 fc-f fw-b">
        3
      </div>
    </div>
    <div class="h-80 b-rad-10 bg-two flex-1 flex-direction-column align-items-center flex-justify-center mr-20">
      <div class="fs-14 fc-f">贡献</div>
      <div class="fs-15 fc-f fw-b">
        3
      </div>
    </div>
    <div @click="goUrl" class="h-80 b-rad-10 bg-one flex-1 flex-direction-column align-items-center flex-justify-center">
      <div class="fs-14 fc-f">总收益</div>
      <div class="fs-15 fc-f fw-b">
        3
      </div>
    </div>
  </div>
  <div class="fs-17 fw-b mb-10">
    我的团队
  </div>
  <div class="bgc-f p-10 box-sizing-border b-rad-10">
    <div class="pb-10 border-bottom-e5e5e5 fs-14 mb-10">
      sdfddd
    </div>
    <div class="align-items-start flex-justify-space pb-10">
      <div class="flex-1 left-box">
          <div class="fs-14 mb-4">注册时间:2023/02/01</div>
          <div class="fs-14 mb-4">团队人数:50</div>
          <div class="fs-14">直推人数:22</div>
      </div>
      <div class="flex-1 pl-20 box-sizing-border">
        <div class="fs-14 mb-4">自身业绩:10000</div>
        <div class="fs-14">团队业绩:10000</div>
      </div>
    </div>
  </div>
  <div>

  </div>
</div>
</template>

<style scoped lang="scss">
.bg-one{
  background-image: linear-gradient(270deg, #2353db, #54c8ff);
}
.bg-two{
  background-image: linear-gradient(270deg, #ffc62c, #ffa954);
}
.h-80{
  height: 80px;
}
.left-box{
  border-right: 1px solid #ccc;
}
</style>
