<script>
export default {
  name: "all-profit",
  components: {},
  data() {
    return {};
  },
  mounted() {
  },
  methods: {
    returnBut() {
      this.$router.back();
    }
  },
}
</script>

<template>
  <div class="flex-common-css box-sizing-border box-b">
    <div class="nav-box bgc-f box-sizing-border align-items-center">
      <i @click="returnBut" class="el-icon-arrow-left fw-b fs-20 mr-10"></i>
      <div class="fs-14 fw-b">总收益</div>
    </div>
    <div class="head-box flex-direction-column align-items-center flex-justify-center b-rad-10 mb-10">
      <div class="fs-14 fc-f mb-4">
        总收益
      </div>
      <div class="fs-18 fc-f fw-b mb-4">
        100
      </div>
      <div class="fs-14 fc-f text-align-center tx-box b-rad-20">
        提现
      </div>
    </div>
    <div class="fs-14 fw-b mb-10">
      历史明细
    </div>
    <div class="scroll-view-css b-rad-10">
      <div v-for="item in 18" :key="item.id" class="p-10 box-sizing-border bgc-f b-rad-10 align-items-center flex-justify-space">
        <div>
          <div class="fs-14 fw-b mb-4">
            静态释放
          </div>
          <div class="fs-12 fc-858585">
            2023-12-11 20:44:10
          </div>
        </div>
        <div class="fs-14 fw-b">
          0.4
        </div>
      </div>
      <div class="fs-14 text-align-center pt-10">
        ~暂无记录
      </div>
    </div>
  </div>
</template>

<style scoped lang="scss">
.box-b{
  padding: 60px 10px 10px;
}
.nav-box{
  width: 100%;
  height: 40px;
  line-height: 40px;
  position: absolute;
  top: 0;
  left: 0;
  padding-left: 10px;
}
.tx-box {
  width: 30%;
  height: 40px;
  background: #ff952d;
  line-height: 40px;
}

.head-box {
  padding: 30px 0;
  background-image: linear-gradient(270deg, #ffc62c, #ffa954);
}
</style>
