Commit feeaf823 authored by 罗超's avatar 罗超

Merge branch 'master' of http://gitlab.oytour.com/xiangwei/educationstu into master

parents 99b0d95d f118bfd2
...@@ -125,20 +125,17 @@ ...@@ -125,20 +125,17 @@
}}</text> }}</text>
<text> <text>
您的答案: 您的答案:
<template v-if="item1.AnswerList && item1.AnswerList.length > 0"> <template v-if="item1.AnswerList[index2].SubAnswer!=''">
<text v-if=" <text v-if="item1.QuestionAnswerList[index2].SubAnswer == item1.AnswerList[index2].SubAnswer"class="isTrueAnswer">
item1.QuestionAnswerList[index2].SubAnswer ==
item1.AnswerList[index2].SubAnswer
" class="isTrueAnswer">
{{ item1.AnswerList[index2].SubAnswer }},回答正确 {{ item1.AnswerList[index2].SubAnswer }},回答正确
</text> </text>
<text v-else class="isNotAnswer"> <text v-else class="isNotAnswer">
<template v-if="item1.AnswerList[index2].SubAnswer != ''"> {{ item1.AnswerList[index2].SubAnswer }},回答错误
{{ item1.AnswerList[index2].SubAnswer }},回答错误
</template>
<template v-else> 未回答 </template>
</text> </text>
</template> </template>
<template v-else>
<text class="isNotAnswer">未回答</text>
</template>
</text> </text>
</view> </view>
<view style="margin-top: 20rpx" <view style="margin-top: 20rpx"
......
...@@ -123,14 +123,16 @@ ...@@ -123,14 +123,16 @@
<text <text
class="isTrueAnswer">{{item1.QuestionAnswerList[index2].SubAnswer}}</text> class="isTrueAnswer">{{item1.QuestionAnswerList[index2].SubAnswer}}</text>
<text>您的答案: <text>您的答案:
<template v-if="item1.AnswerList && item1.AnswerList.length>0"> <template v-if="item1.AnswerList[index2].SubAnswer!=''">
<text <text
v-if="item1.QuestionAnswerList[index2].SubAnswer == item1.AnswerList[index2].SubAnswer" v-if="item1.QuestionAnswerList[index2].SubAnswer == item1.AnswerList[index2].SubAnswer"
class="isTrueAnswer"> class="isTrueAnswer">
{{ item1.AnswerList[index2].SubAnswer }} {{ item1.AnswerList[index2].SubAnswer }}
</text> </text>
<text v-if="item1.AnswerList[index2].SubAnswer!=''" class="isNotAnswer">{{item1.AnswerList[index2].SubAnswer}},回答错误</text> <text v-else class="isNotAnswer">{{item1.AnswerList[index2].SubAnswer}},回答错误</text>
<text v-if="item1.AnswerList[index2].SubAnswer==''" class="isNotAnswer">未作答</text> </template>
<template v-else>
<text class="isNotAnswer">未作答</text>
</template> </template>
</text> </text>
</view> </view>
......
...@@ -66,7 +66,7 @@ ...@@ -66,7 +66,7 @@
</view> </view>
<view class="exam_Pingyu"> <view class="exam_Pingyu">
<view class="teacher_Say">老师评语</view> <view class="teacher_Say">老师评语</view>
<view class="teacher_Inner"> <view class="teacher_Inner" v-if="dataList.StuComment">
{{ dataList.StuComment }} {{ dataList.StuComment }}
</view> </view>
</view> </view>
......
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