diff --git a/WebRoot/html/dangjian/view/exam.html b/WebRoot/html/dangjian/view/exam.html
index c85f090..dd0181e 100644
--- a/WebRoot/html/dangjian/view/exam.html
+++ b/WebRoot/html/dangjian/view/exam.html
@@ -55,7 +55,7 @@
background-color: #fff;
border: 1px solid #ddd;
border-radius: 25px;
- background-clip: padding-box;
+ background-clip: padding-box;
}
.legend span {
@@ -218,8 +218,15 @@
submitBtn.innerText = '提交';
header.appendChild(submitBtn);
submitBtn.addEventListener('tap', function () {
- //提交的事件
- console.log("!23123");
+ var btnArray = ['取消', '确认'];
+ var aaa = "2";
+ mui.confirm("还有"+aaa+"道题未做,是否确认交卷?", '确认交卷', btnArray, function (e) {
+ if (e.index == 1) {
+ console.log("11111");
+ } else {
+ console.log("22222");
+ }
+ })
});
// 侧边栏对象