<template>
  <div class="verify-step g-flex-around">
    <!-- 信息录入 -->
    <div class="step g-flex-center">
      <i class="iconfont iconxinxiluru step-icon"></i>
      <div class="step-msg">
        <h3 class="step-active">信息录入</h3>
        <p>请输入统一社会信用代码或组织机构代码</p>
      </div>
    </div>
    <!-- 打款验证 -->
    <i class="iconfont iconyidong"></i>
    <div class="step g-flex-center">
      <i class="iconfont icondakuanyanzheng step-icon"></i>
      <div class="step-msg">
        <h3 :class="{ 'step-active': step >= 2 }">打款验证</h3>
        <p>请输入打款验证码</p>
      </div>
    </div>
    <!-- 验证成功 -->
    <i class="iconfont iconyidong"></i>
    <div class="step g-flex-center">
      <i class="iconfont iconyanzhengchenggong step-icon"></i>
      <div class="step-msg">
        <h3 :class="{ 'step-active': step === 3 }">认证成功</h3>
        <p>验证结果</p>
      </div>
    </div>
  </div>
</template>

<script lang="ts">
import { defineComponent } from "vue";
export default defineComponent({
  props: ["step"],
});
</script>
<style scoped>
* {
  margin: 0;
}
.g-flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}
.verify-step {
  padding: 0 20px;
}
.g-flex-around {
  display: flex;
  justify-content: space-around;
  align-items: center;
}
.step {
  width: 404px;
  height: 128px;
  background: rgba(255, 255, 255, 1);
  border-radius: 4px;
  border: 1px solid rgba(234, 234, 234, 1);
}
.iconyidong {
  font-size: 35px;
  color: #e6e6e6;
}
.step-icon {
  font-size: 45px;
  color: var(--sy-blue);
}
.step-msg {
  width: 250px;
  height: 55px;
  padding-left: 26px;
}
.step-msg p {
  font-size: 12px;
  color: var(--text-gray);
  line-height: 28px;
}
.step-msg h3 {
  color: #778ca2;
  font-weight: bold;
  line-height: 28px;
}
.step-active {
  color: var(--sy-blue) !important;
}
</style>
