Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuywap-node
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Plain Diff
Browse Files
Authored by
毕凯
2017-07-18 10:30:07 +0800
Commit
b3400b2cd4c3c81890b438e71edf0625282b121a
2 parents
73f3f0ec
7d02aa52
Merge branch 'feature/ticketRecode' into 'release/5.9.2'
手机正则 See merge request
!730
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
public/js/cart/order-ensure.js
public/js/cart/order-ensure.js
View file @
b3400b2
...
...
@@ -506,7 +506,7 @@ function ticketsConfirm() {
// 校验手机号
$ticketsMobile
.
blur
(
function
()
{
let
reg
=
/^
[
0123456789
]{1,30
}
$/
;
let
reg
=
/^
1
[
34578
]\d{9
}
$/
;
let
mobile
=
$ticketsMobile
.
val
();
if
(
!
reg
.
test
(
mobile
))
{
...
...
Please
register
or
login
to post a comment