main
kgdxpr 2 years ago
parent 9439fbfb4f
commit 049f488f8c

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

Loading…
Cancel
Save