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
d212f7d6
Commit
d212f7d6
authored
Jan 12, 2023
by
肖健
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
图形验证码逻辑修复
parent
d5eeefbf
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
7 deletions
+11
-7
index.vue
pagesA/pages/mrAct/index.vue
+11
-7
No files found.
pagesA/pages/mrAct/index.vue
View file @
d212f7d6
...
...
@@ -132,7 +132,7 @@
<view
class=
"love_car_list"
>
<view
class=
"love_title"
>
输入图形验证码
<text
@
click
.
stop=
"inputCodeShow = false"
>
x
</text>
<text
@
click
.
stop=
"inputCodeShow = false
; verifyInfo.vi = null;verifyInfo.vc = null;
"
>
x
</text>
</view>
<view
style=
"width: 600rpx; margin: 0 auto;"
>
<u--form
labelPosition=
"left"
errorType=
"toast"
:labelStyle=
"
{'fontSize': '30rpx'}" labelWidth="150rpx" :model="verifyInfo" :rules="verifyRules" ref="form2">
...
...
@@ -171,8 +171,10 @@
<view
style=
"text-align: center;margin-top: 30rpx;"
>
<text
style=
"color:#620F0F;font-size: 36rpx;line-height: 36rpx;font-weight: 500;"
>
温馨提示
</text>
</view>
<view
style=
"margin: 23rpx auto 0 auto;width:380rpx;text-align: center;"
>
<text
style=
"font-weight: 400;color: #620F0F;font-size: 24rpx;"
>
{{
alreadyMsg
}}
</text>
<view
style=
"margin: 23rpx auto 0 auto;width:380rpx;"
v-if=
"alreadyMsg"
>
<text
style=
"font-weight: 400;color: #620F0F;font-size: 24rpx;"
space=
"emsp"
:decode=
"true"
>
{{
alreadyMsg
.
replace
(
/
\\
n/g
,
'
\
n'
).
replaceAll
(
'&'
,
'&'
)
}}
</text>
</view>
<view
style=
"position: absolute; bottom: 52rpx; width: 100%;"
>
<view
@
click=
"closeReceivedFail"
style=
"margin:0 auto;width: 398rpx; height: 108rpx;background: url('http://jdnc-oss.uzosp.com/2023/01/11/95802c8a6b594f648b826a93bf83d2c2.png') no-repeat; background-size: 100% 100%;"
>
...
...
@@ -357,7 +359,7 @@ export default {
return
}
if
(
that
.
$refs
.
uCode
.
canGetCode
)
{
that
.
checkCaptchaInfo
()
that
.
checkCaptchaInfo
(
true
)
}
else
{
//uni.$u.toast('倒计时结束后再发送');
}
...
...
@@ -450,11 +452,11 @@ export default {
}
else
{
that
.
disabledSubmit
=
false
}
that
.
alreadyMsg
=
res
.
alreadyMsg
.
replace
(
/
\n
/g
,
'
\
n'
)
that
.
alreadyMsg
=
res
.
alreadyMsg
})
},
//活动检查手机信息
async
checkCaptchaInfo
()
{
async
checkCaptchaInfo
(
show
)
{
let
that
=
this
await
that
.
$http
.
request
({
url
:
'/app/move/activity/c/m'
,
...
...
@@ -466,7 +468,9 @@ export default {
//为true的时候加载图形验证码
if
(
that
.
captcha
)
{
that
.
getCaptchaImage
()
if
(
show
)
{
this
.
inputCodeShow
=
true
}
}
else
{
that
.
sendSmsCode
()
}
...
...
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