<template>
  <div id="detail">
    <el-row>
      <el-col :span="24" class="info">
        <el-col :span="24" class="top">
          <topInfo :topTitle="topTitle"></topInfo>
        </el-col>
        <el-col :span="24" class="main">
          <mainForm :form="form" @submitDate="updateDate"></mainForm>
        </el-col>
      </el-col>
    </el-row>
  </div>
</template>

<script>
import topInfo from '@/layout/public/top.vue';
import mainForm from '@/layout/user/mainForm.vue';
export default {
  name: 'detail',
  props: {},
  components: {
    topInfo, //头部标题
    mainForm, //用户添加管理
  },
  data: () => ({
    topTitle: '用户添加',
    form: {},
  }),
  created() {},
  computed: {},
  methods: {},
};
</script>

<style lang="less" scoped>
.top {
  height: 40px;
  background-color: #f5f5f5;
}
.main {
  width: 97%;
  margin: 0 15px;
}
</style>
