Commit 8ef56730 by sunchao

四位验证码调整成6位

parent 8e7aba60
......@@ -56,7 +56,7 @@
</div>
<!--获取验证码 -->
<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 class="codeSection inputControl">
......@@ -91,7 +91,7 @@
</div>
<!--获取验证码 -->
<div class="codeSection inputControl">
<input id="loginCode" type="tel" maxlength="4" placeholder="短信验证码" />
<input id="loginCode" type="tel" maxlength="6" placeholder="短信验证码" />
</div>
<!--登录 -->
<button class="goBuyBtn commonBtn" id="loginIn">登录</button>
......
......@@ -285,7 +285,7 @@ $(function () {
//验证登录验证码
function checkLoginVerificationCode() {
$("#loginCode").keyup(function () {
if ($("#loginCode").val().length == 4) {
if ($("#loginCode").val().length == 6) {
const verificationCodeRequest = {
mobileNo: $("#loginPhone").val(),
verificationCode: $("#loginCode").val(),
......@@ -604,7 +604,7 @@ $(function () {
//验证验证码
function checkVerificationCode() {
$("#code").keyup(function () {
if ($("#code").val().length == 4) {
if ($("#code").val().length == 6) {
const verificationCodeRequest = {
mobileNo: $("#phone").val(),
verificationCode: $("#code").val(),
......
......@@ -62,7 +62,7 @@
</div>
<!--获取验证码 -->
<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()" />
</div>
<!--姓名-->
......
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 to comment