Commit 81bd283b authored by zhengke's avatar zhengke

修改

parent ecf87179
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
} }
.vClozeQuestion .clozeTest_question_tit { .vClozeQuestion .clozeTest_question_tit {
width: 100%; width: 50%;
height: 40px; height: 40px;
background: #F7F8FA; background: #F7F8FA;
padding: 0 20px; padding: 0 20px;
...@@ -53,7 +53,7 @@ ...@@ -53,7 +53,7 @@
<template> <template>
<div class="vClozeQuestion"> <div class="vClozeQuestion">
<template v-if="data&&data.QuestionContentObj&&data.QuestionContentObj.length>0"> <template v-if="data&&data.QuestionContentObj&&data.QuestionContentObj.length>0">
<table class="common_TiTable" v-for="(item,index) in data.QuestionContentObj" :key="index"> <table class="common_TiTable" style="margin-bottom:20px;" v-for="(item,index) in data.QuestionContentObj" :key="index">
<thead> <thead>
<tr> <tr>
<th colspan="2"> <th colspan="2">
...@@ -85,19 +85,19 @@ ...@@ -85,19 +85,19 @@
</tbody> </tbody>
<tfoot v-if="isShowAnswer"> <tfoot v-if="isShowAnswer">
<tr> <tr>
<td colspan="2" class="vClozeQuestionBold"> <td style="height:40px" colspan="2" class="vClozeQuestionBold">
答案: {{data.QuestionAnswerList[index].SubAnswer}} 答案: {{data.QuestionAnswerList[index].SubAnswer}}
</td> </td>
</tr> </tr>
<tr> <tr>
<td v-if="isShowStudentAnswer" colspan="2" class="vClozeQuestionBold" <td style="height:40px" v-if="isShowStudentAnswer" colspan="2" class="vClozeQuestionBold"
:style="{color:data.QuestionAnswerList[index].SubAnswer ==data.AnswerList[index].SubAnswer?'#67c23a':'red'}"> :style="{color:data.QuestionAnswerList[index].SubAnswer ==data.AnswerList[index].SubAnswer?'#67c23a':'red'}">
考生答案: {{data.AnswerList[index].SubAnswer}} 考生答案: {{data.AnswerList[index].SubAnswer}}
</td> </td>
</tr> </tr>
<tr v-if="isShowStudentAnswer"> <tr v-if="isShowStudentAnswer">
<td colspan="2"> <td colspan="2">
<q-input v-if="isEditStudentScore" standout="bg-primary text-white" <q-input v-if="isEditStudentScore" filled style="width:180px;"
v-model="data.AnswerList[index].StudentScore" label="得分:" maxlength="20" @input="getQuestionScore" /> v-model="data.AnswerList[index].StudentScore" label="得分:" maxlength="20" @input="getQuestionScore" />
<span v-else class="vClozeQuestionBold">考生得分:{{data.AnswerList[index].StudentScore}}</span> <span v-else class="vClozeQuestionBold">考生得分:{{data.AnswerList[index].StudentScore}}</span>
</td> </td>
...@@ -108,10 +108,13 @@ ...@@ -108,10 +108,13 @@
<tfoot> <tfoot>
<tr> <tr>
<td colspan="2"> <td colspan="2">
<span class="vClozeQuestionBold"> <div style="display:flex;align-items:center;">
解析: <span class="vClozeQuestionBold">
</span> 解析:
<span v-html="data.AnswerParse"></span></td> </span>
<span class="Fill_AnswerPaer" v-html="data.AnswerParse"></span>
</div>
</td>
</tr> </tr>
</tfoot> </tfoot>
</table> </table>
......
...@@ -13,7 +13,9 @@ ...@@ -13,7 +13,9 @@
text-align: center; text-align: center;
padding-top: 8px; padding-top: 8px;
} }
.Fill_AnswerPaer P{
margin: 0;
}
</style> </style>
<template> <template>
<div class="v_fillInQuestion"> <div class="v_fillInQuestion">
...@@ -81,10 +83,13 @@ ...@@ -81,10 +83,13 @@
</tr> </tr>
<tr> <tr>
<td colspan="2"> <td colspan="2">
<span class="v_fillInBold"> <div style="display:flex;align-items:center;">
解析: <span class="v_fillInBold">
</span> 解析:
<span v-html="data.AnswerParse"></span></td> </span>
<span class="Fill_AnswerPaer" v-html="data.AnswerParse"></span>
</div>
</td>
</tr> </tr>
</tfoot> </tfoot>
</table> </table>
......
...@@ -12,6 +12,12 @@ ...@@ -12,6 +12,12 @@
display: block; display: block;
line-height: 1em; line-height: 1em;
color: transparent; color: transparent;
}
.judgeTable tfoot:before{
content: "-";
display: block;
line-height: 1em;
color: transparent;
} }
</style> </style>
...@@ -55,10 +61,13 @@ ...@@ -55,10 +61,13 @@
</tr> </tr>
<tr> <tr>
<td colspan="2"> <td colspan="2">
<span class="v_judgeQuestionBold"> <div style="display:flex;align-items:center;">
解析: <span class="v_judgeQuestionBold">
</span> 解析:
<span v-html="data.AnswerParse"></span></td> </span>
<span class="Fill_AnswerPaer" v-html="data.AnswerParse"></span>
</div>
</td>
</tr> </tr>
</tfoot> </tfoot>
</table> </table>
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
.v_readingComprehensioQuestion .clozeTest_question_tit { .v_readingComprehensioQuestion .clozeTest_question_tit {
width: 100%; width: 50%;
height: 40px; height: 40px;
background: #F7F8FA; background: #F7F8FA;
padding: 0 20px; padding: 0 20px;
...@@ -102,7 +102,7 @@ ...@@ -102,7 +102,7 @@
</tr> </tr>
<tr v-if="isShowStudentAnswer"> <tr v-if="isShowStudentAnswer">
<td colspan="2"> <td colspan="2">
<q-input v-if="isEditStudentScore" standout="bg-primary text-white" <q-input v-if="isEditStudentScore" filled style="width:180px"
v-model="data.AnswerList[index].StudentScore" label="得分:" maxlength="20" @input="getQuestionScore" /> v-model="data.AnswerList[index].StudentScore" label="得分:" maxlength="20" @input="getQuestionScore" />
<span v-else class="v_readingComprehensioQuestionBold">考生得分:{{data.AnswerList[index].StudentScore}}</span> <span v-else class="v_readingComprehensioQuestionBold">考生得分:{{data.AnswerList[index].StudentScore}}</span>
</td> </td>
...@@ -132,7 +132,7 @@ ...@@ -132,7 +132,7 @@
</tr> </tr>
<tr v-if="isShowStudentAnswer"> <tr v-if="isShowStudentAnswer">
<td colspan="2"> <td colspan="2">
<q-input v-if="isEditStudentScore" standout="bg-primary text-white" <q-input v-if="isEditStudentScore" filled style="width:180px"
v-model="data.AnswerList[index].StudentScore" label="得分:" maxlength="20" @input="getQuestionScore" /> v-model="data.AnswerList[index].StudentScore" label="得分:" maxlength="20" @input="getQuestionScore" />
<span v-else class="v_readingComprehensioQuestionBold">考生得分:{{data.AnswerList[index].StudentScore}}</span> <span v-else class="v_readingComprehensioQuestionBold">考生得分:{{data.AnswerList[index].StudentScore}}</span>
</td> </td>
...@@ -176,7 +176,7 @@ ...@@ -176,7 +176,7 @@
</tr> </tr>
<tr v-if="isShowStudentAnswer"> <tr v-if="isShowStudentAnswer">
<td colspan="2" style="height:40px"> <td colspan="2" style="height:40px">
<q-input v-if="isEditStudentScore" standout="bg-primary text-white" <q-input v-if="isEditStudentScore" filled style="width:180px"
v-model="data.AnswerList[index].StudentScore" label="得分:" maxlength="20" @input="getQuestionScore" /> v-model="data.AnswerList[index].StudentScore" label="得分:" maxlength="20" @input="getQuestionScore" />
<span v-else class="v_readingComprehensioQuestionBold">考生得分:{{data.AnswerList[index].StudentScore}}</span> <span v-else class="v_readingComprehensioQuestionBold">考生得分:{{data.AnswerList[index].StudentScore}}</span>
</td> </td>
...@@ -203,7 +203,7 @@ ...@@ -203,7 +203,7 @@
</tr> </tr>
<tr v-if="isShowStudentAnswer"> <tr v-if="isShowStudentAnswer">
<td colspan="2"> <td colspan="2">
<q-input v-if="isEditStudentScore" standout="bg-primary text-white" <q-input v-if="isEditStudentScore" filled style="width:180px"
v-model="data.AnswerList[index].StudentScore" label="得分:" maxlength="20" @input="getQuestionScore" /> v-model="data.AnswerList[index].StudentScore" label="得分:" maxlength="20" @input="getQuestionScore" />
<span v-else class="v_readingComprehensioQuestionBold">考生得分:{{data.AnswerList[index].StudentScore}}</span> <span v-else class="v_readingComprehensioQuestionBold">考生得分:{{data.AnswerList[index].StudentScore}}</span>
</td> </td>
......
...@@ -19,8 +19,8 @@ ...@@ -19,8 +19,8 @@
<div style="display:flex;" v-if="isOperate"> <div style="display:flex;" v-if="isOperate">
<el-input v-model="data.Answer" placeholder="请填写问题答案"> </el-input> <el-input v-model="data.Answer" placeholder="请填写问题答案"> </el-input>
</div> </div>
<div v-if="isShowStudentAnswer" style="display:flex;"> <div v-if="isShowStudentAnswer" style="display:flex;align-items:center;">
<div class="v_shortAnswerQuestionBold" style="margin:20px 0">考生答案:</div> <div class="v_shortAnswerQuestionBold" style="margin:10px 0">考生答案:</div>
<div v-html="data.StundetAnswer"></div> <div v-html="data.StundetAnswer"></div>
</div> </div>
<div v-if="isShowStudentAnswer" style="display:flex;;margin-bottom:20px;"> <div v-if="isShowStudentAnswer" style="display:flex;;margin-bottom:20px;">
......
...@@ -7,6 +7,9 @@ ...@@ -7,6 +7,9 @@
font-weight: bold; font-weight: bold;
height:40px; height:40px;
} }
.Fill_AnswerPaer P{
margin: 0;
}
</style> </style>
<!--单选题查看--> <!--单选题查看-->
...@@ -49,12 +52,12 @@ ...@@ -49,12 +52,12 @@
</td> </td>
</tr> </tr>
<tr> <tr>
<td colspan="2"> <td colspan="2" style="height:40px;">
<div style="display:flex;"> <div style="display:flex;align-items:center;">
<span class="v_singleQuestionBold"> <span class="v_singleQuestionBold">
解析: 解析:
</span> </span>
<span v-html="data.AnswerParse"></span> <span style="height:40px;" class="Fill_AnswerPaer" v-html="data.AnswerParse"></span>
</div> </div>
</td> </td>
</tr> </tr>
......
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