<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">
         <component :is="'selectInstitution'"></component>
      </div>
    </div>
    <a-button type="primary" @click="onSubmit">下一步</a-button>
    <div class="btn"></div>
  </div>
</template>

<script>
import selectInstitution from './selectInstitution.vue';
export default {
  name: "componentName",
  components: {
    selectInstitution
  },
  props: {},
  data() {
    return {};
  },

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

<style lang="less" scoped>
.flow {
  background: #fafafa;
  .content {
    .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 {
      .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: 12px;
            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 12px;
    }
    .right {
      margin-left: 30px;
    }
  }
}
</style>
