<!--
 * @Author: jiangzaicheng jiangzaicheng_jzc@163.com
 * @Date: 2022-07-07 16:13:13
 * @LastEditors: jiangzaicheng jiangzaicheng_jzc@163.com
 * @LastEditTime: 2022-07-25 19:37:06
 * @FilePath: \mcep-h5\src\components\common\Bottom.vue
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
-->

<template>
  <div class="rarle">
    <van-row>
      <van-col span="9">
        <van-icon name="arrow-left" @click="retyen()" />
      </van-col>
      <van-col span="15">{{ tatleName }}</van-col>
    </van-row>
    <div class="card">
      <van-row type="flex" justify="center" class="integral">
        <van-col span="24" style="font-size: 24px;font-weight: 900; margin-top: 10%;">{{ number }}</van-col>
      </van-row>
      <van-row type="flex" justify="center" class="integrall">
        <van-col span="24">{{ growthName }}</van-col>
      </van-row>
      <van-row type="flex" class="layoutStep" gutter="2">
        <van-col span="24">
          <van-steps :active="2" :active-icon="img" :finish-icon="img" active-color=" #FFA121">
            <van-step></van-step>
            <van-step></van-step>
            <van-step></van-step>
            <van-step></van-step>
          </van-steps>
        </van-col>
      </van-row>
      <van-row type="flex" class="layoutDiv" gutter="2">
        <van-col span="24" class="layoutName">
          距离升级三星用户还差1468成长值
        </van-col>
      </van-row>
    </div>
    <div class="frist_type">
      <div class="layoutSeep" v-for="(item, index) in growthList" :key="index">
        <van-row type="flex" class="layoutDetils">
          <van-col span="12" class="repaymentName">
            <van-row type="flex">
              <van-col span="24" class="records">{{ item.records }}</van-col>
            </van-row>
            <van-row type="flex">
              <van-col span="24" class="time">{{ item.time }}</van-col>
            </van-row>
          </van-col>
          <van-col span="12" class="repaymentNumber">
            <van-col span="24" class="numberlive">{{ item.number }}</van-col>
          </van-col>
        </van-row>
      </div>
    </div>
  </div>
</template>

<script lang="ts">
import { Component, Vue, Prop, Watch, Emit } from "vue-property-decorator";
import 'ant-design-vue/dist/antd'
/*
* title
*/
@Component({
  name: "Growth"
})
export default class Growth extends Vue {
  number: string | undefined = "532"; //额度
  growthName: string | undefined = " 成长值";//额度大写
  tatleName = "成长值明细"
  img = require("@/assets/images/stars.png")
  //数据源growthList
  growthList = [{
    records: "转入10000元",
    time: "2021/02/21 03:14:12",
    number: "+10"
  }, {
    records: "转入10000元",
    time: "2021/02/21 03:14:12",
    number: "+10"
  }, {
    records: "转入10000元",
    time: "2021/02/21 03:14:12",
    number: "+10"
  }]




}
</script>
<style scoped lang="scss">
.card {
  //background-image: url("../../assets/images/mycard.png");
  margin: 0px auto;
  background-color: rgba(255, 255, 255, 1);
  position: absolute;
  box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.12156862745098);
  top: 13%;
  /* left: calc(100vh - -15px); */
  margin: 0px auto;
  right: 4%;
  width: 90%;
  height: 30%;
  /* margin: 2% auto; */
  border-radius: 5px;
  /* display: flex; */
  font-weight: 400;
  font-style: normal;
}

.layoutName {
  text-align: center;
  font-family: 'Arial Normal', 'Arial';
  font-weight: 400;
  font-style: normal;
  font-size: 10px;
  letter-spacing: normal;
  color: #333333;
}

.layoutStep {
  text-align: center;
}

.integral {
  //margin-top: 10%;
  /* margin-left: 20%; */
  text-align: center;
  width: 90%;
  height: 66px;
  margin: 0px auto;
  font-size: 36px;
  color: #FFA121;
}

.integrall {
  //margin-top: 10%;
  /* margin-left: 20%; */
  text-align: center;
  color: #FFA121;
  font-size: 12px;
}

.last {
  position: absolute;
  height: 100-20vh;
  background: #ffffff;
  overflow: visible;
}

// .frist_type {
//   // border: 1px solid;
//   width: 100%;
//   height: 100%;
//   border-radius: 70px 70px 0px 0px;
//   position: absolute;
//   top: 20%;
//   background-color: #fff;
// }
.frist_type {
  margin-top: 30%;
  background-image: url('../../assets/images/backageImg.png');
  background-size: 100% 100%;
  height: 85%;
}

.frist {
  margin-left: 6%;
  text-rendering: optimizelegibility;
  font-feature-settings: "kern";
  font-kerning: normal;
  font-size: 14px;
}

.second {
  //margin-left: 6%;
  width: 90%;
  margin: 0px auto;
}

.third {
  width: 90%;
  margin: 0px auto;
  // margin-left: 6%;
  font-size: 10px;
  color: rgba(0, 0, 0, 0.8);
  text-rendering: optimizelegibility;
  font-feature-settings: "kern";
  font-kerning: normal;
}

.img {
  width: 85%;
}

.van-col--9 {
  margin-top: 5%;
  font-size: 18px;
  color: #ffffff;
}

.van-col--15 {
  margin-top: 5%;
  font-size: 18px;
  color: #ffffff;
}

.rarle {
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, rgba(118, 190, 250, 1) 0%, rgba(54, 114, 241, 1) 99%);
}

.third-style {
  font-size: 10px;
  text-align: center;
  color: rgb(255, 193, 74)
}

.vanrowFlex {
  margin-top: 2%;
}

.lusspolid {
  color: #976401;
  font-size: 14px;
}

.vanclo {
  margin: 20% 0% 4% 6%;
  /* margin-left: 2%; */
  /* margin-top: 20%; */
  font-weight: 500;
  font-size: 14px;
  text-align: left;
}

.d-tattle {
  margin-top: 28%;
}

.priductName {
  padding-top: 2%;
}

.imglittle {
  padding-top: 2%;
}

.litterParam {
  width: 90%;
  margin: 0px auto;
  background-color: rgba(255, 255, 255, 1);
  border: none;
  border-radius: 4px;
  -moz-box-shadow: 0px 0px;
  box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
  height: 40px;

}

.vanrow {
  margin-top: 6%;
  margin-left: 2%;
}

.tatle {
  width: 100%;
  height: 100%;
}

.icon {
  width: 40px;
  height: 40px;
}

.live {
  font-size: 12px;
  color: #CE8B0B;
}
</style>
