Commit a1740655 authored by zhengke's avatar zhengke

修改

parent 71f3606c
......@@ -61,7 +61,7 @@
{{ item1.StundetAnswer }}
</view>
</view>
<view style="margin:20rpx 0;" v-if="item1.StudentScore">
<view style="margin:20rpx 0;" v-if="item1.StudentScore!=''||item1.StudentScore===0">
<text style="color:#8c8a94">您的得分:</text>
<text class="isTrueAnswer" v-if="item1.StudentScore>0">{{item1.StudentScore}}</text>
<text class="isNotAnswer" v-else>{{item1.StudentScore}}</text>
......
......@@ -61,7 +61,7 @@
</template>
</text>
</view>
<view style="margin:20rpx 0;" v-if="item1.AnswerList[index2].StudentScore">
<view style="margin:20rpx 0;" v-if="item1.AnswerList[index2].StudentScore!=''||item1.AnswerList[index2].StudentScore===0">
<text style="color:#8c8a94">您的得分:</text>
<text class="isTrueAnswer" v-if="item1.AnswerList[index2].StudentScore>0">{{item1.AnswerList[index2].StudentScore}}</text>
<text class="isNotAnswer" v-else>{{item1.AnswerList[index2].StudentScore}}</text>
......
......@@ -69,7 +69,7 @@
</view>
</template>
</view>
<view style="margin:20rpx 0;" v-if="item1.StudentScore">
<view style="margin:20rpx 0;" v-if="item1.StudentScore!=''||item1.StudentScore===0">
<text style="color:#8c8a94">您的得分:</text>
<text class="isTrueAnswer" v-if="item1.StudentScore>0">{{item1.StudentScore}}</text>
<text class="isNotAnswer" v-else>{{item1.StudentScore}}</text>
......
......@@ -69,7 +69,7 @@
</view>
</template>
</view>
<view style="margin:20rpx 0;" v-if="item1.StudentScore">
<view style="margin:20rpx 0;" v-if="item1.StudentScore!=''||item1.StudentScore===0">
<text style="color:#8c8a94">您的得分:</text>
<text class="isTrueAnswer" v-if="item1.StudentScore>0">{{item1.StudentScore}}</text>
<text class="isNotAnswer" v-else>{{item1.StudentScore}}</text>
......
......@@ -63,7 +63,7 @@
</view>
</template>
</view>
<view style="margin:25rpx 0;" v-if="item1.StudentScore">
<view style="margin:25rpx 0;" v-if="item1.StudentScore!=''||item1.StudentScore===0">
<text style="color:#8c8a94">您的得分:</text>
<text class="isTrueAnswer" v-if="item1.StudentScore>0">{{item1.StudentScore}}</text>
<text class="isNotAnswer" v-else>{{item1.StudentScore}}</text>
......
......@@ -218,7 +218,7 @@
</view>
<view
style="margin-top: 20rpx"
v-if="item1.AnswerList[index2].StudentScore"
v-if="item1.AnswerList[index2].StudentScore!=''||item1.AnswerList[index2].StudentScore===0"
>
<text style="color: #8c8a94">您的得分:</text>
<text
......
......@@ -87,7 +87,7 @@
</template>
</text>
</view>
<view style="margin: 20rpx 0" v-if="item1.StudentScore">
<view style="margin: 20rpx 0" v-if="item1.StudentScore!=''||item1.StudentScore===0">
<text style="color: #8c8a94">您的得分:</text>
<text class="isTrueAnswer" v-if="item1.StudentScore > 0">{{
item1.StudentScore
......
......@@ -49,7 +49,7 @@
</template>
</text>
</view>
<view style="margin:20rpx 0;" v-if="item1.StudentScore!=''">
<view style="margin:20rpx 0;" v-if="item1.StudentScore!=''||item1.StudentScore===0">
<text style="color:#8c8a94">您的得分:</text>
<text class="isTrueAnswer" v-if="item1.StudentScore>0">{{item1.StudentScore}}</text>
<text class="isNotAnswer" v-else>{{item1.StudentScore}}</text>
......
......@@ -66,7 +66,7 @@
</template>
</text>
</view>
<view style="margin:20rpx 0;" v-if="item1.StudentScore!=''">
<view style="margin:20rpx 0;" v-if="item1.StudentScore!=''||item1.StudentScore===0">
<text style="color:#8c8a94">您的得分:</text>
<text class="isTrueAnswer" v-if="item1.StudentScore>0">{{item1.StudentScore}}</text>
<text class="isNotAnswer" v-else>{{item1.StudentScore}}</text>
......
......@@ -55,6 +55,11 @@
</template>
</text>
</view>
<view style="margin:20rpx 0;" v-if="item1.StudentScore!=''||item1.StudentScore===0">
<text style="color:#8c8a94">您的得分:</text>
<text class="isTrueAnswer" v-if="item1.StudentScore>0">{{item1.StudentScore}}</text>
<text class="isNotAnswer" v-else>{{item1.StudentScore}}</text>
</view>
<view style="margin-top: 20rpx; word-wrap: break-word" class="flex" v-if="item1.AnswerParse">
<text style="color: #8c8a94;flex-shrink: 0;">解析:</text>
<view style="color: #000" v-html="item1.AnswerParse"></view>
......
......@@ -88,6 +88,11 @@
</template>
</text>
</view>
<view style="margin:20rpx 0;" v-if="item1.StudentScore!=''||item1.StudentScore===0">
<text style="color:#8c8a94">您的得分:</text>
<text class="isTrueAnswer" v-if="item1.StudentScore>0">{{item1.StudentScore}}</text>
<text class="isNotAnswer" v-else>{{item1.StudentScore}}</text>
</view>
<view
style="margin-top: 20rpx; word-wrap: break-word"
v-if="item1.AnswerParse" class="flex"
......
......@@ -103,7 +103,7 @@
</template>
</text>
</view>
<view style="margin:20rpx 0;" v-if="item1.StudentScore">
<view style="margin:20rpx 0;" v-if="item1.StudentScore!=''||item1.StudentScore===0">
<text style="color:#8c8a94">您的得分:</text>
<text class="isTrueAnswer" v-if="item1.StudentScore>0">{{item1.StudentScore}}</text>
<text class="isNotAnswer" v-else>{{item1.StudentScore}}</text>
......
......@@ -55,7 +55,7 @@
{{ item1.StundetAnswer }}
</view>
</view>
<view style="margin:20rpx 0;" v-if="item1.StudentScore">
<view style="margin:20rpx 0;" v-if="item1.StudentScore!=''||item1.StudentScore===0">
<text style="color:#8c8a94">您的得分:</text>
<text class="isTrueAnswer" v-if="item1.StudentScore>0">{{item1.StudentScore}}</text>
<text class="isNotAnswer" v-else>{{item1.StudentScore}}</text>
......
......@@ -159,7 +159,7 @@ export default {
icon: "none",
});
setTimeout(() => {
uni.navigateTo({
uni.switchTab({
url: "/pages/index/index",
});
}, 1000);
......
......@@ -61,7 +61,7 @@
{{ item1.StundetAnswer }}
</view>
</view>
<view style="margin:20rpx 0;" v-if="item1.StudentScore">
<view style="margin:20rpx 0;" v-if="item1.StudentScore!=''||item1.StudentScore===0">
<text style="color:#8c8a94">您的得分:</text>
<text class="isTrueAnswer" v-if="item1.StudentScore>0">{{item1.StudentScore}}</text>
<text class="isNotAnswer" v-else>{{item1.StudentScore}}</text>
......
......@@ -54,7 +54,7 @@
</template>
</text>
</view>
<view style="margin:20rpx 0;" v-if="item1.StudentScore">
<view style="margin:20rpx 0;" v-if="item1.StudentScore!=''||item1.StudentScore===0">
<text style="color:#8c8a94">您的得分:</text>
<text class="isTrueAnswer" v-if="item1.StudentScore>0">{{item1.StudentScore}}</text>
<text class="isNotAnswer" v-else>{{item1.StudentScore}}</text>
......
......@@ -59,7 +59,7 @@
{{ item1.StundetAnswer }}
</view>
</view>
<view style="margin:20rpx 0;" v-if="item1.StudentScore">
<view style="margin:20rpx 0;" v-if="item1.StudentScore!=''||item1.StudentScore===0">
<text style="color:#8c8a94">您的得分:</text>
<text class="isTrueAnswer" v-if="item1.StudentScore>0">{{item1.StudentScore}}</text>
<text class="isNotAnswer" v-else>{{item1.StudentScore}}</text>
......
......@@ -130,7 +130,7 @@
</template>
</text>
</view>
<view style="margin-top:20rpx;">
<view style="margin-top:20rpx;" v-if="item1.AnswerList[index2].StudentScore!=''||item1.AnswerList[index2].StudentScore===0">
<text style="color:#8c8a94">您的得分:</text>
<text class="isTrueAnswer" v-if="item1.AnswerList[index2].StudentScore>0">{{item1.AnswerList[index2].StudentScore}}</text>
<text class="isNotAnswer" v-else>{{item1.AnswerList[index2].StudentScore}}</text>
......
......@@ -58,7 +58,7 @@
{{ item1.StundetAnswer }}
</view>
</view>
<view style="margin:20rpx 0;" v-if="item1.StudentScore">
<view style="margin:20rpx 0;" v-if="item1.StudentScore!=''||item1.StudentScore===0">
<text style="color:#8c8a94">您的得分:</text>
<text class="isTrueAnswer" v-if="item1.StudentScore>0">{{item1.StudentScore}}</text>
<text class="isNotAnswer" v-else>{{item1.StudentScore}}</text>
......
......@@ -113,20 +113,36 @@ export default {
data.msg.pageIndex = 1;
methods.getList();
},
jumpPage(PaperId, Id, SId, ExamStatus) {
uni.navigateTo({
url:
"/pages/exam/examPaper?PaperId=" +
PaperId +
"&&Id=" +
Id +
"&&Exam_Student_Id=" +
SId +
"&&ExamStatus=" +
ExamStatus +
"&&GuestId=" +
this.msg.GuestId,
});
jumpPage(PaperId, Id, SId, ExamStatus) {
if (ExamStatus == 5) {
uni.navigateTo({
url:
"/pages/exam/examScore?PaperId=" +
PaperId +
"&&Id=" +
Id +
"&&Exam_Student_Id=" +
SId +
"&&ExamStatus=" +
ExamStatus +
"&&GuestId=" +
this.msg.GuestId,
});
}else{
uni.navigateTo({
url:
"/pages/exam/examPaper?PaperId=" +
PaperId +
"&&Id=" +
Id +
"&&Exam_Student_Id=" +
SId +
"&&ExamStatus=" +
ExamStatus +
"&&GuestId=" +
this.msg.GuestId,
});
}
},
lower(e) {
if (data.msg.pageIndex < data.PageCount) {
......
......@@ -292,7 +292,7 @@ export default {
`/pages/exam/examPaper?GuestId=${item.GuestId}&&PaperId=${item.PaperId}&&Id=${item.Id}&&Exam_Student_Id=${item.Exam_Student_Id}&&ExamStatus=${item.ExamStatus}`
);
}
},
}
};
onMounted(() => {
......@@ -312,6 +312,9 @@ export default {
...methods,
};
},
onShow() {
this.getIndexdata();
},
onLoad() {
uni.setNavigationBarTitle({
title: "首页",
......
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