<script>
export default {
  name: "my-index",
  components: {},
  data() {
    return {};
  },
  mounted() {},
  methods: {
    goUrl() {
      uni.navigateTo({
      	url: 'pages/my/inner-page/all_profit'
      });
    }
  },
}
</script>

<template>
<div>
  <div class="align-items-center mb-32">
    <div class="h-80 b-rad-20 bg-one flex-1 flex-direction-column align-items-center flex-justify-center mr-20">
      <div class="fs-28 fc-f">余额</div>
      <div class="fs-30 fc-f fw-b">
        3
      </div>
    </div>
    <div class="h-80 b-rad-20 bg-two flex-1 flex-direction-column align-items-center flex-justify-center mr-20">
      <div class="fs-28 fc-f">贡献</div>
      <div class="fs-30 fc-f fw-b">
        3
      </div>
    </div>
    <div @click="goUrl" class="h-80 b-rad-20 bg-one flex-1 flex-direction-column align-items-center flex-justify-center">
      <div class="fs-28 fc-f">总收益</div>
      <div class="fs-30 fc-f fw-b">
        3
      </div>
    </div>
  </div>
  <div class="fs-34 fw-b mb-20">
    我的团队
  </div>
  <div class="bgc-f p-10 box-sizing-border b-rad-20">
    <div class="pb-10 border-bottom-e5e5e5 fs-28 mb-20">
      sdfddd
    </div>
    <div class="align-items-start flex-justify-space pb-10">
      <div class="flex-1 left-box">
          <div class="fs-28 mb-4">注册时间:2023/02/01</div>
          <div class="fs-28 mb-4">团队人数:50</div>
          <div class="fs-28">直推人数:22</div>
      </div>
      <div class="flex-1 pl-20 box-sizing-border">
        <div class="fs-28 mb-4">自身业绩:10000</div>
        <div class="fs-28">团队业绩: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: 160rpx;
}
.left-box{
  border-right: 2rpx solid #ccc;
}
</style>
