Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
allCampaign
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
allCampaign
Commits
8ef56730
Commit
8ef56730
authored
Nov 04, 2021
by
sunchao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
四位验证码调整成6位
parent
8e7aba60
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
5 additions
and
5 deletions
+5
-5
consulting/index.html
+2
-2
consulting/js/base.js
+2
-2
questionnaire/src/app/live/live.component.html
+1
-1
No files found.
consulting/index.html
View file @
8ef56730
...
@@ -56,7 +56,7 @@
...
@@ -56,7 +56,7 @@
</div>
</div>
<!--获取验证码 -->
<!--获取验证码 -->
<div
class=
"codeSection inputControl"
>
<div
class=
"codeSection inputControl"
>
<input
style=
"width:100%"
id=
"code"
type=
"tel"
maxlength=
"
4
"
placeholder=
"短信验证码"
/>
<input
style=
"width:100%"
id=
"code"
type=
"tel"
maxlength=
"
6
"
placeholder=
"短信验证码"
/>
</div>
</div>
<!--姓名 -->
<!--姓名 -->
<div
class=
"codeSection inputControl"
>
<div
class=
"codeSection inputControl"
>
...
@@ -91,7 +91,7 @@
...
@@ -91,7 +91,7 @@
</div>
</div>
<!--获取验证码 -->
<!--获取验证码 -->
<div
class=
"codeSection inputControl"
>
<div
class=
"codeSection inputControl"
>
<input
id=
"loginCode"
type=
"tel"
maxlength=
"
4
"
placeholder=
"短信验证码"
/>
<input
id=
"loginCode"
type=
"tel"
maxlength=
"
6
"
placeholder=
"短信验证码"
/>
</div>
</div>
<!--登录 -->
<!--登录 -->
<button
class=
"goBuyBtn commonBtn"
id=
"loginIn"
>
登录
</button>
<button
class=
"goBuyBtn commonBtn"
id=
"loginIn"
>
登录
</button>
...
...
consulting/js/base.js
View file @
8ef56730
...
@@ -285,7 +285,7 @@ $(function () {
...
@@ -285,7 +285,7 @@ $(function () {
//验证登录验证码
//验证登录验证码
function
checkLoginVerificationCode
()
{
function
checkLoginVerificationCode
()
{
$
(
"#loginCode"
).
keyup
(
function
()
{
$
(
"#loginCode"
).
keyup
(
function
()
{
if
(
$
(
"#loginCode"
).
val
().
length
==
4
)
{
if
(
$
(
"#loginCode"
).
val
().
length
==
6
)
{
const
verificationCodeRequest
=
{
const
verificationCodeRequest
=
{
mobileNo
:
$
(
"#loginPhone"
).
val
(),
mobileNo
:
$
(
"#loginPhone"
).
val
(),
verificationCode
:
$
(
"#loginCode"
).
val
(),
verificationCode
:
$
(
"#loginCode"
).
val
(),
...
@@ -604,7 +604,7 @@ $(function () {
...
@@ -604,7 +604,7 @@ $(function () {
//验证验证码
//验证验证码
function
checkVerificationCode
()
{
function
checkVerificationCode
()
{
$
(
"#code"
).
keyup
(
function
()
{
$
(
"#code"
).
keyup
(
function
()
{
if
(
$
(
"#code"
).
val
().
length
==
4
)
{
if
(
$
(
"#code"
).
val
().
length
==
6
)
{
const
verificationCodeRequest
=
{
const
verificationCodeRequest
=
{
mobileNo
:
$
(
"#phone"
).
val
(),
mobileNo
:
$
(
"#phone"
).
val
(),
verificationCode
:
$
(
"#code"
).
val
(),
verificationCode
:
$
(
"#code"
).
val
(),
...
...
questionnaire/src/app/live/live.component.html
View file @
8ef56730
...
@@ -62,7 +62,7 @@
...
@@ -62,7 +62,7 @@
</div>
</div>
<!--获取验证码 -->
<!--获取验证码 -->
<div
class=
"codeSection inputControl"
>
<div
class=
"codeSection inputControl"
>
<input
type=
'tel'
maxlength=
"
4
"
name=
"code"
placeholder=
"短信验证码"
[(
ngModel
)]="
loginData
.
code
"
<input
type=
'tel'
maxlength=
"
6
"
name=
"code"
placeholder=
"短信验证码"
[(
ngModel
)]="
loginData
.
code
"
(
blur
)="
scrollTo
()"
/>
(
blur
)="
scrollTo
()"
/>
</div>
</div>
<!--姓名-->
<!--姓名-->
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment