<template>
  <div id="writeMessage">
    <el-row>
      <el-col :span="24" class="info">
        <el-col :span="24" class="top">
          <NavBar v-show="navShow" :title="title" :isleftarrow="isleftarrow"> </NavBar>
        </el-col>
        <el-col :span="24" class="mess">
          <writeStu :form="form" @onSubmit="onSubmit"></writeStu>
        </el-col>
      </el-col>
    </el-row>
  </div>
</template>

<script>
import NavBar from '@/layout/common/topInfo.vue';
import writeStu from '@/layout/common/writeStu.vue';

export default {
  name: 'writeMessage',
  props: {},
  components: {
    NavBar, //底部信息
    writeStu, //填写学生绑定信息
  },
  data: () => ({
    form: {},
    title: '填写信息',
    isleftarrow: '',
    transitionName: 'fade',
    navShow: true,
  }),
  created() {},
  computed: {},
  methods: {
    onSubmit(form) {
      console.log(form);
    },
  },
};
</script>

<style lang="less" scoped></style>
