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
郭成尧
2016-12-19 11:26:51 +0800
Commit
0f3ec7d6e8b6d3ef39ff403e9dc15c1944985fba
2 parents
ce3df24d
50acfe88
Merge remote-tracking branch 'remotes/origin/master' into hotfix/gNmPrcs
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
4 deletions
package.json
public/js/activity/register.page.js
public/js/passport/login/international.js
public/js/passport/register/register.js
package.json
View file @
0f3ec7d
{
"name"
:
"m-yohobuy-node"
,
"version"
:
"5.2.2
0
"
,
"version"
:
"5.2.2
1
"
,
"private"
:
true
,
"description"
:
"A New Yohobuy Project With Express"
,
"repository"
:
{
...
...
public/js/activity/register.page.js
View file @
0f3ec7d
...
...
@@ -210,7 +210,7 @@ Filter.prototype = {
return
data
;
}
return
data
.
filter
(
function
(
item
)
{
regex
=
new
RegExp
(
'^'
+
key
,
'i'
);
regex
=
new
RegExp
(
key
,
'i'
);
return
regex
.
test
(
item
[
that
.
__feild__
]);
});
},
...
...
public/js/passport/login/international.js
View file @
0f3ec7d
...
...
@@ -75,7 +75,7 @@ $loginBtn.on('touchstart', function() {
$loginBtn
.
text
(
'正在登录...'
).
addClass
(
'disable'
);
if
(
api
.
phoneRegx
[
areaCode
].
test
(
pn
)
&&
api
.
pwdValidate
(
pwd
))
{
if
(
(
api
.
phoneRegx
[
areaCode
].
test
(
pn
)
||
areaCode
!==
'+86'
)
&&
api
.
pwdValidate
(
pwd
))
{
$
.
ajax
({
type
:
'POST'
,
url
:
'/passport/login/auth'
,
...
...
public/js/passport/register/register.js
View file @
0f3ec7d
...
...
@@ -86,7 +86,7 @@ $btnNext.on('touchstart', function() {
}
if
(
api
.
phoneRegx
[
areaCode
].
test
(
pn
))
{
if
(
api
.
phoneRegx
[
areaCode
].
test
(
pn
)
||
areaCode
!==
'+86'
)
{
requested
=
true
;
...
...
Please
register
or
login
to post a comment