|
|
|
@ -79,10 +79,16 @@
|
|
|
|
|
color: #8F8F94;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.mui-content a.already {
|
|
|
|
|
.mui-content a.wrong {
|
|
|
|
|
color: #fff;
|
|
|
|
|
border: 1px solid #E73A30;
|
|
|
|
|
background-color: #E73A30;
|
|
|
|
|
border: 1px solid #e74c3c;
|
|
|
|
|
background-color: #e74c3c;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.mui-content a.right {
|
|
|
|
|
color: #fff;
|
|
|
|
|
border: 1px solid #27ae60;
|
|
|
|
|
background-color: #27ae60;
|
|
|
|
|
}
|
|
|
|
|
</style>
|
|
|
|
|
</head>
|
|
|
|
@ -92,21 +98,30 @@
|
|
|
|
|
<div class="mui-card">
|
|
|
|
|
<div class="mui-card-content">
|
|
|
|
|
<div class="mui-content-padded">
|
|
|
|
|
<p style="text-align: center;color: red;font-size: 16px;">本次成绩</p>
|
|
|
|
|
<p style="text-align: center;font-size: 16px;">得分:100分 用时:1小时36分05秒</p>
|
|
|
|
|
<p style="text-align: center;color: orange;font-size: 16px;">本次成绩</p>
|
|
|
|
|
<p style="text-align: center;font-size: 12px;">交卷时间:2023-05-06 13:45:10 </p>
|
|
|
|
|
<p style="text-align: center;font-size: 16px;">得分:<span style="color: red;">100</span> 分
|
|
|
|
|
     用时:<span style="color: red;">1小时36分05秒</span></p>
|
|
|
|
|
<div class="flex-container" id="answers"></div>
|
|
|
|
|
<script id="answersTemplate" type="text/x-jsrender">
|
|
|
|
|
{{for list}}
|
|
|
|
|
<a>{{:order_id}}</a>
|
|
|
|
|
{{if flag == 0}}
|
|
|
|
|
<a>{{:order_id}}</a>
|
|
|
|
|
{{else flag == 1}}
|
|
|
|
|
<a class="right">{{:order_id}}</a>
|
|
|
|
|
{{else }}
|
|
|
|
|
<a class="wrong">{{:order_id}}</a>
|
|
|
|
|
{{/if}}
|
|
|
|
|
|
|
|
|
|
{{/for}}
|
|
|
|
|
</script>
|
|
|
|
|
</div>
|
|
|
|
|
<!-- <div class="legend">
|
|
|
|
|
<div class="legend"><a class="already"></a><span>已做</span></div>
|
|
|
|
|
<div class="legend">
|
|
|
|
|
<div class="legend"><a></a><span>未做</span></div>
|
|
|
|
|
</div> -->
|
|
|
|
|
<p style="text-align: center;">开始时间:2023-05-06 13:45:10 </p>
|
|
|
|
|
<p style="text-align: center;">交卷时间:2023-05-06 13:45:10 </p>
|
|
|
|
|
<div class="legend"><a class="right"></a><span>正确</span></div>
|
|
|
|
|
<div class="legend"><a class="wrong"></a><span>错误</span></div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
@ -124,9 +139,9 @@
|
|
|
|
|
{{/for}}
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
<div class="mui-card-footer">
|
|
|
|
|
<span>考生答案:A</span><span class="mui-icon mui-icon-closeempty" style="color:red"></span>
|
|
|
|
|
<span>正确答案:B</span>
|
|
|
|
|
<div class="mui-card-footer" >
|
|
|
|
|
<span>考生答案:A</span><span class="mui-icon mui-icon-closeempty" style="color:red;"></span>
|
|
|
|
|
<span style="margin-left:50px">正确答案:B</span>
|
|
|
|
|
</div>
|
|
|
|
|
</script>
|
|
|
|
|
</div>
|
|
|
|
@ -144,23 +159,23 @@
|
|
|
|
|
orderId = $.cookie('order_id');
|
|
|
|
|
} else {
|
|
|
|
|
$.cookie('order_id', orderId, { path: '/' });
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//获取题的信息
|
|
|
|
|
getQuestionInfo(orderId);
|
|
|
|
|
|
|
|
|
|
//获取答题卡信息
|
|
|
|
|
getAnswerSheet();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
mui(".mui-content").on("tap", "a", function () {
|
|
|
|
|
console.log("123");
|
|
|
|
|
orderId = this.textContent;
|
|
|
|
|
getQuestionInfo(this.textContent);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -191,9 +206,9 @@
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|