|
|
|
@ -393,6 +393,8 @@
|
|
|
|
|
orderId--;
|
|
|
|
|
$.cookie('order_id', orderId, { path: '/' });
|
|
|
|
|
getQuestionInfo();
|
|
|
|
|
} else {
|
|
|
|
|
mui.alert('已到第一题', '提示');
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
@ -439,12 +441,16 @@
|
|
|
|
|
// 获取选中的radio元素的值
|
|
|
|
|
var reply = $(this).val();
|
|
|
|
|
saveReply(orderId, reply);
|
|
|
|
|
if (orderId < queCount) {
|
|
|
|
|
setTimeout(function () {
|
|
|
|
|
orderId++;
|
|
|
|
|
console.log(orderId);
|
|
|
|
|
$.cookie('order_id', orderId, { path: '/' });
|
|
|
|
|
getQuestionInfo(orderId);
|
|
|
|
|
}, 500);
|
|
|
|
|
} else {
|
|
|
|
|
mui.alert('已到最后一题', '提示');
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
});
|
|
|
|
|
|
|
|
|
|