Commit 7bf1e583 authored by zhengke's avatar zhengke

修改

parent 024b61da
......@@ -6,12 +6,19 @@
.v_multipleQuestionBold {
font-weight: bold;
height:40px;
}
.mutiTable tfoot:before{
content: "-";
display: block;
line-height: 1em;
color: transparent;
}
</style>
<template>
<div class="v_multipleQuestion">
<table v-if="data&&data.QuestionContentObj&&data.QuestionContentObj.length>0" class="common_TiTable">
<table v-if="data&&data.QuestionContentObj&&data.QuestionContentObj.length>0" class="common_TiTable mutiTable">
<tbody v-for="(item,index) in data.QuestionContentObj" :key="index">
<tr>
<td style="width:40px;text-align:center;">
......@@ -27,7 +34,7 @@
</div>
</template>
</td>
<td>
<td style="height:40px;">
<div class="InpDIV" style="border:0;" v-html="item.Content"></div>
</td>
</tr>
......@@ -41,7 +48,7 @@
:style="{color:data.Answer ==data.StundetAnswer?'#67c23a':'red'}">考生答案:{{data.StundetAnswer}}</td>
</tr>
<tr v-if="isShowStudentAnswer">
<td colspan="2">
<td colspan="2" style="height:40px;">
<q-input v-if="isEditStudentScore" standout="bg-primary text-white" v-model="data.StudentScore" label="得分:"
maxlength="20" @input="getQuestionScore" />
<span v-else class="v_multipleQuestionBold">考生得分:{{data.StudentScore}}</span>
......@@ -49,10 +56,13 @@
</tr>
<tr>
<td colspan="2">
<span class="v_multipleQuestionBold">
解析:
</span>
<span v-html="data.AnswerParse"></span></td>
<div style="display:flex;">
<span class="v_multipleQuestionBold">
解析:
</span>
<span v-html="data.AnswerParse"></span>
</div>
</td>
</tr>
</tfoot>
</table>
......
......@@ -26,6 +26,7 @@
.v_readingComprehensioQuestionBold {
font-weight: bold;
height:40px;
}
</style>
......@@ -164,17 +165,17 @@
</tr>
</template>
<tr v-if="isShowAnswer">
<td colspan="2" class="v_readingComprehensioQuestionBold">
<td colspan="2" style="height:40px" class="v_readingComprehensioQuestionBold">
答案: {{data.QuestionAnswerList[index].SubAnswer}}
</td>
</tr>
<tr v-if="isShowStudentAnswer">
<td colspan="2" class="v_readingComprehensioQuestionBold" :style="{color:data.QuestionAnswerList[index].SubAnswer ==data.AnswerList[index].SubAnswer?'#67c23a':'red'}">
<td colspan="2" style="height:40px" class="v_readingComprehensioQuestionBold" :style="{color:data.QuestionAnswerList[index].SubAnswer ==data.AnswerList[index].SubAnswer?'#67c23a':'red'}">
学生答案: {{data.AnswerList[index].SubAnswer}}
</td>
</tr>
<tr v-if="isShowStudentAnswer">
<td colspan="2">
<td colspan="2" style="height:40px">
<q-input v-if="isEditStudentScore" standout="bg-primary text-white"
v-model="data.AnswerList[index].StudentScore" label="得分:" maxlength="20" @input="getQuestionScore" />
<span v-else class="v_readingComprehensioQuestionBold">考生得分:{{data.AnswerList[index].StudentScore}}</span>
......
......@@ -5,6 +5,7 @@
.v_singleQuestionBold {
font-weight: bold;
height:40px;
}
</style>
......@@ -41,7 +42,7 @@
:style="{color:data.Answer ==data.StundetAnswer?'#67c23a':'red'}">考生答案:{{data.StundetAnswer}}</td>
</tr>
<tr v-if="isShowStudentAnswer">
<td colspan="2">
<td colspan="2" style="height:40px;">
<q-input v-if="isEditStudentScore" standout="bg-primary text-white" v-model="data.StudentScore" label="得分:"
maxlength="20" @input="getQuestionScore" />
<span v-else class="v_singleQuestionBold">考生得分:{{data.StudentScore}}</span>
......@@ -49,10 +50,13 @@
</tr>
<tr>
<td colspan="2">
<span class="v_singleQuestionBold">
解析:
</span>
<span v-html="data.AnswerParse"></span></td>
<div style="display:flex;">
<span class="v_singleQuestionBold">
解析:
</span>
<span v-html="data.AnswerParse"></span>
</div>
</td>
</tr>
</tfoot>
</table>
......
......@@ -241,7 +241,7 @@
.examPaperInfo_Top .vClozeQuestion .clozeTest_question_tit {
margin: 15px 0;
}
.Exam_PaperName{
.Exam_PaperNameV2{
font-size:20px;
font-weight: bold;
margin-bottom:5px;
......@@ -252,7 +252,7 @@
<div class="examPaperInfo_Top">
<div>
<div>
<div class="Exam_PaperName">{{DataObj.PaperName}}</div>
<div class="Exam_PaperNameV2">{{DataObj.PaperName}}</div>
<div>题量:{{examNum}} &nbsp;&nbsp;&nbsp; 满分:{{examScore}}</div>
</div>
</div>
......
<style>
.examPaperInfo_Top {
height: 83px;
min-height: 83px;
border-bottom: 1px solid #d9d9d9;
display: flex;
align-items: center;
justify-content: space-between;
margin: 0 100px;
padding-bottom:15px;
}
.Exam-main {
......@@ -241,7 +241,14 @@
.examPaperInfo_Top .vClozeQuestion .clozeTest_question_tit {
margin: 15px 0;
}
.Exam_PaperNameV2{
font-size:20px;
font-weight: bold;
margin-bottom:5px;
}
.pGNameDiv:first-child{
margin-top:0;
}
</style>
<!--阅卷-->
<template>
......@@ -249,14 +256,15 @@
<div class="examPaperInfo_Top">
<div>
<div>
{{DataObj.PaperName}} <br />
题量:{{examNum}} &nbsp;&nbsp;&nbsp; 满分:{{examScore}}
<br />
学生总得分:{{studentScore}}<br />
<div class="Exam_PaperNameV2">{{DataObj.PaperName}}</div>
<div>
<span>题量:{{examNum}} &nbsp;&nbsp;&nbsp; 满分:{{examScore}} </span>
<span style="margin-left:30px;">学生总得分:{{studentScore}}</span>
</div>
评语:{{DataObj.StuComment}} <br/>
</div>
</div>
<div style="width:20%;text-align:right;">
<div style="width:20%;text-align:right;flex-shrink:0;">
<q-btn color="accent" size="sm" class="q-mr-md" @click="goBack()" label="返回" />
</div>
</div>
......
......@@ -21,7 +21,7 @@
border-radius: 3px;
border: 1px solid #d9d9d9;
background: #f0f0f0;
padding-top: 20px;
padding-top: 10px;
padding-bottom: 0px;
}
......@@ -41,7 +41,7 @@
.Left-ptitel {
font-size: 14px;
color: #777;
padding-left: 18px;
padding-left: 5px;
}
.Left-ptitel span {
......@@ -124,7 +124,7 @@
background: #fdfdfd;
font-size: 14px;
line-height: 40px;
padding-left: 10px;
/* padding-left: 10px; */
}
.List-bt i {
......@@ -251,6 +251,7 @@
overflow: hidden;
text-overflow: ellipsis;
margin-right: 5px;
cursor: pointer;
}
.paperEdit_Top {
......@@ -263,7 +264,9 @@
color: #555;
font-weight: normal;
}
.checkedExam{
background: #9cf!important;
}
</style>
<template>
<div class="examPaper page-body">
......@@ -294,27 +297,31 @@
</div>
<div class="Exam-main">
<div class="Exam-left f1">
<p class="Left-ptitel">
<span>题量:<i>{{examNum}}</i></span>
<span>  总分:<i>{{examScore.toFixed(2)}}</i></span>
<q-btn-dropdown color="primary" label="添加分类">
<q-list>
<q-item clickable v-close-popup @click="onCategoryItemClick(item)"
v-for="(item,index) in newQuestionCategoryList" :key="index">
<q-item-section>
<q-item-label>{{item.Name}}</q-item-label>
</q-item-section>
</q-item>
</q-list>
</q-btn-dropdown>
</p>
<div style="display:flex;justify-content:space-between;align-items:center;padding:0 10px 10px 5px">
<div class="Left-ptitel">
<span>题量:<i>{{examNum}}</i></span>
<span>总分:<i>{{examScore.toFixed(2)}}</i></span>
</div>
<div>
<q-btn-dropdown color="primary" label="添加分类" size="sm">
<q-list>
<q-item clickable v-close-popup @click="onCategoryItemClick(item)"
v-for="(item,index) in newQuestionCategoryList" :key="index">
<q-item-section>
<q-item-label>{{item.Name}}</q-item-label>
</q-item-section>
</q-item>
</q-list>
</q-btn-dropdown>
</div>
</div>
<div class="Left-list">
<template v-if="DataObj&&DataObj.GroupList&&DataObj.GroupList.length>0">
<div class="List-con1" v-for="(gItem,gIndex) in DataObj.GroupList" :key="gIndex">
<div class="List-bt">
<div class="paperEdit_Top">
<div class="paperEdit_Top" :class="{'checkedExam':clickIndex==gIndex}">
<template v-if="!gItem.isShowEdit">
<div @click="GetGroupItem(gItem)">
<div @click="GetGroupItem(gItem,gIndex)" style="display:flex;padding-left:5px;">
<div>{{gIndex+1}}</div>&nbsp;
<div class="paper_GroupName" :title="gItem.GroupName">{{gItem.GroupName}}</div>
<div>(共{{ gItem.DetailsList?gItem.DetailsList.length:0 }}题,{{gItem.GScore}}分)</div>
......@@ -614,6 +621,7 @@
savePaperLoading: false,
isShowPoint: false, //选择知识点
clickGroupItem: null, //选择的分组
clickIndex:-1
}
},
computed: {
......@@ -657,7 +665,8 @@
}
},
methods: {
GetGroupItem(gItem) {
GetGroupItem(gItem,gIndex) {
this.clickIndex = gIndex;
this.clickGroupItem = gItem;
},
//添加分类
......
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