Commit 795121e6 authored by 纪泽龙's avatar 纪泽龙

优化考试题查看按钮大小

parent 06059cb8
...@@ -132,12 +132,12 @@ ...@@ -132,12 +132,12 @@
width="180" width="180"
> >
<template v-slot="{ row: { topicNum, courseId, status } }"> <template v-slot="{ row: { topicNum, courseId, status } }">
<div @click="checkQuestion(courseId, status)" class="timuNum"> <span @click="checkQuestion(courseId, status)" class="timuNum">
<div v-if="topicNum > 0"> <span v-if="topicNum > 0">
{{ status == 0 ? `已录入${topicNum}题` : "查看" }} {{ status == 0 ? `已录入${topicNum}题` : "查看" }}
</div> </span>
<div v-else>未录入</div> <span v-else>未录入</span>
</div> </span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column
......
...@@ -83,12 +83,12 @@ ...@@ -83,12 +83,12 @@
width="180" width="180"
> >
<template v-slot="{ row: { topicNum, courseId, status } }"> <template v-slot="{ row: { topicNum, courseId, status } }">
<div class="timuNum" @click="checkQuestion(courseId, status)"> <span class="timuNum" @click="checkQuestion(courseId, status)">
<div v-if="topicNum > 0"> <span v-if="topicNum > 0">
{{ status == 0 ? `已录入${topicNum}题` : "查看" }} {{ status == 0 ? `已录入${topicNum}题` : "查看" }}
</div> </span>
<div v-else>未录入</div> <span v-else>未录入</span>
</div> </span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment