<template>
  <div id="userInfo">
    <el-row>
      <el-col :span="24" class="userInfo">
        <el-col :span="24" class="top">
          <span>基本信息</span>
        </el-col>
        <el-col :span="24" class="info">
          <p>名称：{{ userInfos.name }}</p>
          <p>身份证号：{{ userInfos.cardnumber }}</p>
          <p>联系地址：{{ userInfos.addr }}</p>
        </el-col>
      </el-col>
    </el-row>
  </div>
</template>

<script>
export default {
  name: 'userInfo',
  props: {
    userInfos: null,
  },
  components: {},
  data: () => ({}),
  created() {},
  computed: {},
  methods: {},
};
</script>

<style lang="less" scoped>
.top {
  height: 60px;
  border-bottom: 1px solid #215299;
  line-height: 60px;
}
.top span {
  display: inline-block;
  width: 130px;
  height: 60px;
  text-align: center;
  line-height: 60px;
  background-color: #215299;
  color: #fff;
}
.info {
  padding: 20px;
}
.info p {
  font-size: 16px;
  color: #666;
}
</style>
