Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
J
jd-vx-app
Project
Project
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
jd-vx-app
Commits
6bcef66d
Commit
6bcef66d
authored
Apr 28, 2022
by
fwz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
发送验证码检验手机号
parent
6d3eee00
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
21 additions
and
14 deletions
+21
-14
active-form.vue
common/active-form/active-form.vue
+18
-12
moveCarDetail.vue
pagesB/pages/move-car/moveCarDetail.vue
+3
-0
scan.vue
pagesB/pages/move-car/scan.vue
+0
-2
No files found.
common/active-form/active-form.vue
View file @
6bcef66d
...
...
@@ -443,20 +443,26 @@ export default {
that
.
isSend
=
true
;
}
})
setTime
=
setInterval
(
function
()
{
that
.
wait
--
;
that
.
sendColor
=
"color:#999"
;
that
.
codeFont
=
"已发送("
+
that
.
wait
+
's)'
if
(
that
.
wait
==
0
)
{
clearInterval
(
setTime
);
that
.
codeFont
=
"发送验证码"
;
that
.
isSend
=
false
;
that
.
wait
=
60
;
that
.
sendColor
=
"color:#ff5b01"
;
}
},
1000
);
}
else
{
uni
.
showToast
({
title
:
'手机号不能为空'
,
icon
:
"error"
,
});
}
setTime
=
setInterval
(
function
()
{
that
.
wait
--
;
that
.
sendColor
=
"color:#999"
;
that
.
codeFont
=
"已发送("
+
that
.
wait
+
's)'
if
(
that
.
wait
==
0
)
{
clearInterval
(
setTime
);
that
.
codeFont
=
"发送验证码"
;
that
.
isSend
=
false
;
that
.
wait
=
60
;
that
.
sendColor
=
"color:#ff5b01"
;
}
},
1000
);
}
else
{
///app/smsCode/binding/{{phone}}
...
...
pagesB/pages/move-car/moveCarDetail.vue
View file @
6bcef66d
...
...
@@ -82,6 +82,9 @@ export default {
})
this
.
unbindShow
=
false
},
cancelModal
(){
this
.
unbindShow
=
false
},
},
onLoad
(
option
)
{
this
.
id
=
option
.
id
...
...
pagesB/pages/move-car/scan.vue
View file @
6bcef66d
...
...
@@ -133,7 +133,6 @@ export default {
}
else
{
this
.
moveCodeInfo
[
name
]
=
this
.
formData
[
i
].
rules
.
value
}
}
this
.
moveCodeInfo
.
carNo
=
this
.
model1
.
carInfo
.
carNo
this
.
moveCodeInfo
.
moveCode
=
this
.
moveCode
...
...
@@ -176,7 +175,6 @@ export default {
e
.
rules
.
value
=
this
.
model1
.
carInfo
.
carModel
}
})
console
.
log
(
this
.
formData
)
}
})
}
...
...
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