<template>
  <div>
    <Dec :content="content" />
    <div class="testdetail">
      <div class="titlebox">
        <el-row>
          <el-col :span="18">
            <p><span class="bold">试卷名称：</span>【第六章-经济学人】测试试卷（中） </p>
            <p><span class="bold">班级：</span>三年二班</p>
          </el-col>
          <el-col :span="4" style="line-height:84px">
            <el-button type="primary" size="small">导出EXCEL</el-button>
          </el-col>
        </el-row>

      </div>
      <el-table
        :data="tableData"
        style="width: 100%"
      >
        <el-table-column label="题号">
          <el-table-column label="题型">
            <el-table-column label="正确答案">
              <el-table-column label="正确率" prop="student" />
            </el-table-column>
          </el-table-column>
        </el-table-column>
        <el-table-column label="第1题">
          <el-table-column label="单选">
            <el-table-column label="A">
              <el-table-column label="90%" prop="q1" />
            </el-table-column>
          </el-table-column>
        </el-table-column>
      </el-table>
    </div>
  </div>
</template>
<script>
import Dec from '@/components/Dec'
export default {
  name: 'Testdetail',
  components: {
    Dec
  },
  data() {
    return {
      content: '',
      tableData: [
        {
          student: '张三',
          q1: 'A'
        }
      ]
    }
  }
}
</script>
<style scoped>
.testdetail{
    max-width: 1100px;
    height:calc(100vh - 115px);
    margin:0 auto;
    background: #fff;
    margin-top:15px;
    padding:20px;
}
.bold{
    font-weight: bold
}
</style>
