<template>
  <div class="flow">
    <div class="content">
      <div class="left">
        <div class="title"><span class="point"></span>客户信息</div>
        <div class="info">
          <div class="item">
            <span class="label">姓名：</span>
            <a-input readonly></a-input>
          </div>
          <div class="item">
            <span class="label">性别：</span> <a-input readonly></a-input>
          </div>
          <div class="item">
            <span class="label">身份证：</span>
            <a-input readonly>小京巴</a-input>
          </div>
          <div class="item">
            <span class="label">手机号码：</span>
            <a-input readonly>小京巴</a-input>
          </div>
          <div class="item">
            <span class="label">出生日期：</span>
            <a-input readonly>小京巴</a-input>
          </div>
        </div>
        <div class="reset">
          <a-button type="primary">点击修改</a-button>
        </div>
      </div>

      <div class="right">
        <Combos v-if="!next" />
        <Detail />
        <SelectInstitution v-if="false" />
      </div>
    </div>
    <div class="btn">
      <a-button type="primary" @click="nextStep" v-if="!next">下一步</a-button>
    </div>
  </div>
</template>

<script>
import SelectInstitution from "./selectInstitution.vue";
import Combos from "./components/combo.vue";
import Detail from "./components/detail.vue";

export default {
  name: "componentName",
  components: {
    Combos,
    Detail,
    SelectInstitution,
  },
  props: {},
  data() {
    return {
      next: true,
    };
  },

  methods: {
    nextStep() {},
  },
};
</script>

<style lang="less" scoped>
.flow {
  background: #fafafa;
  min-height: calc(100vh - 300px);
  .btn {
    text-align: center;
    position: relative;
    left: 360px;
    top: 20px;
  }
  .content {
    padding-top: 20px;
    .point {
      display: inline-block;
      border-radius: 5px;
      width: 6px;
      height: 6px;
      background-color: #3f7ffb;
      margin-right: 6px;
      position: relative;
      top: -1px;
    }
    display: flex;
    justify-content: center;
    .left {
      max-height: 350px;
      .reset {
        text-align: center;
        margin-top: 25px;
      }
      .info {
        margin-top: 24px;
        ::v-deep .ant-input {
          border: none;
          background-color: #fafafa;
        }
        .item {
          display: flex;
          margin-top: 10px;
          .label {
            display: inline-block;
            width: 102px;
            line-height: 32px;
            font-size: 14px;
            color: #aaaaaa;
            padding-left: 12px;
          }
        }
      }
    }
    .left,
    .right {
      background: white;
      box-shadow: 0px 7px 14px 1px rgba(223, 223, 219, 0.18);
      border-radius: 8px;
      padding: 19px 24px 30px 14px;
      margin-left: 24px;
    }
    .right {
      padding-left: 24px;
    }
    .right {
      margin-left: 30px;
    }
  }
}
</style>
