<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"></mainForm>
        </el-col>
      </el-col>
    </el-row>
  </div>
</template>

<script>
import topInfo from '@/layout/public/top.vue';
import mainForm from '@/layout/news/mainForm.vue';
export default {
  name: 'detail',
  props: {},
  components: {
    topInfo, //头部标题
    mainForm, //新闻信息form
  },
  data: () => ({
    topTitle: '通知公告信息编辑',
    form: {},
  }),
  created() {},
  computed: {},
  methods: {},
};
</script>

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