Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
yohobuy-node
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
1
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
hongweigao
8 years ago
Commit
8f70eae5bfd6f38d4ee9ec72e207290af0d6c4d8
1 parent
085fb06b
手机验证+图形验证码
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletions
apps/home/views/partial/validate.hbs
public/js/home/validate.page.js
apps/home/views/partial/validate.hbs
View file @
8f70eae
...
...
@@ -41,6 +41,10 @@
</li>
{{/
each
}}
{{#if
mobileCode
}}
<li
class=
"user-form-li captcha-li"
>
<div
class=
"safe-form-l"
>
图形验证码:
</div>
<div
class=
"captcha-safe-form-r"
></div>
</li>
<li
class=
"user-form-li"
>
<div
class=
"safe-form-l"
>
手机验证码:
</div>
<div
class=
"safe-form-r"
>
...
...
public/js/home/validate.page.js
View file @
8f70eae
...
...
@@ -457,7 +457,9 @@ $(function() {
});
$
(
'#send-mobile-code'
).
on
(
'click'
,
function
()
{
sendcode
();
captcha
.
check
().
then
(
function
()
{
sendcode
();
});
});
if
(
$
(
'#newPwd'
).
length
>
0
)
{
...
...
Please
register
or
login
to post a comment