Commit 9543e856 by doszhang

dos

parent b210cbcd
......@@ -111,7 +111,7 @@ let canvasArr = [
let posterCanvas;
let posterCtx;
$('input[name=tel]').attr('type', 'tel');
// $('input[name=tel]').attr('type', 'tel');
$(document).ready(function () {
// $('.page').on('touchmove', function (e) {
// e.preventDefault();
......@@ -283,9 +283,9 @@ function submit() {
my_notify('请填写姓名');
submitStatus = true;
return false;
} else if (!tel.match(/^1\d{10}$/)) {
} else if (tel.match(/^\s*$/)) {
$('#notification_area').remove();
my_notify('电话填写有误');
my_notify('请填写电话号');
submitStatus = true;
return false;
}
......
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