Commit b0e2a925 by doszhang

dos

parent c9aaf6c3
......@@ -83,7 +83,7 @@ $(document).ready(function () {
//奖品页返回城市选择页
$('.prize-page .btn-backtomap').on('click',backToMap);
//手机号被修改
$('input[name=tel]').on('change',changeTel);
$('input[name=tel]').on('input',changeTel);
//提交手机号
$('.prize-page .btn-submit').on('click',submitTel);
});
......@@ -108,6 +108,9 @@ function submitTel () {
{
$('#notification_area').remove();
my_notify('提交成功');
window.tel = tel;
$('input[name=tel]').val('');
}
}
})
......@@ -139,6 +142,7 @@ function videoEnd (event) {
$('.map-page').hide();
$('.prize-page').show();
showPrize(resp.prize_type);
window.type = resp.prize_type;
video.removeEventListener('ended', videoEnd);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment