<template>
  <div id="detail">
    <el-row>
      <el-col :span="24" class="info">
        <el-col :span="24" class="top">
          <topInfo :topTitle="pageTitle"></topInfo>
        </el-col>
        <el-col :span="24" class="main">
          <mainForm></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: () => ({}),
  created() {},
  methods: {},
  computed: {
    pageTitle() {
      return `${this.$route.meta.title}`;
    },
  },
  metaInfo() {
    return { title: this.$route.meta.title };
  },
};
</script>

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