From 049f488f8c7824fde813362fc7dde60dcdefd5ee Mon Sep 17 00:00:00 2001 From: kgdxpr Date: Sat, 6 May 2023 13:50:54 +0800 Subject: [PATCH] 'commit' --- WebRoot/html/dangjian/view/exam.html | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) 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"); + } + }) }); // 侧边栏对象