Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Sign in
Toggle navigation
X
xzf_uniapp-wechat-web
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
李智书
xzf_uniapp-wechat-web
Commits
163eac4b
Commit
163eac4b
authored
Mar 04, 2024
by
袁玲利
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
人脸识别
parent
19a6b901
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
22 deletions
+20
-22
src/pages/toAliPay/toAliPay.vue
src/pages/toAliPay/toAliPay.vue
+20
-22
No files found.
src/pages/toAliPay/toAliPay.vue
View file @
163eac4b
...
@@ -5,33 +5,31 @@
...
@@ -5,33 +5,31 @@
<
script
>
<
script
>
export
default
{
export
default
{
data
()
{
data
()
{
return
{};
return
{
faceType
:
""
,
};
},
},
onLoad
:
function
(
options
)
{
onLoad
:
function
(
options
)
{
console
.
log
(
options
);
console
.
log
(
options
);
this
.
faceType
=
options
.
faceType
||
""
;
console
.
log
(
"
准备跳转了哦1
"
);
console
.
log
(
"
准备跳转了哦1
"
);
if
(
options
.
faceType
)
{
if
(
options
.
faceType
==
"
OPEN_ACCOUNT
"
)
{
switch
(
options
.
faceType
)
{
my
.
navigateTo
({
// 开户
url
:
`/pages/BankModule/OpenAccount/OpenAccount?faceAuth=1`
,
case
"
OPEN_ACCOUNT
"
:
});
my
.
navigateTo
({
}
else
if
(
options
.
faceType
==
"
CHANGE_CARD
"
)
{
url
:
`/pages/BankModule/OpenAccount/OpenAccount?faceAuth=1`
,
// 换绑卡
});
my
.
navigateTo
({
break
;
url
:
`/pages/BankModule/ChangeBankPay/ChangeBankPay?faceAuth=1`
,
case
"
CHANGE_CARD
"
:
});
// 换绑卡
}
else
if
(
options
.
faceType
==
"
CANCEL_ACCOUNT
"
)
{
my
.
navigateTo
({
// 销户
url
:
`/pages/BankModule/ChangeBankPay/ChangeBankPay?faceAuth=1`
,
my
.
navigateTo
({
});
url
:
`/pages/BankModule/Recharge/Recharge?faceAuth=1`
,
break
;
});
case
'
CANCEL_ACCOUNT
'
:
// 销户
my
.
navigateTo
({
url
:
`/pages/BankModule/Recharge/Recharge?faceAuth=1`
,
});
break
;
}
}
}
console
.
log
(
"
跳呀
"
);
//faceAuth = 1 人脸活体检测成功
//faceAuth = 1 人脸活体检测成功
// my.navigateTo({
// my.navigateTo({
// url: `/pages/BankModule/OpenAccount/OpenAccount?faceAuth=1`,
// url: `/pages/BankModule/OpenAccount/OpenAccount?faceAuth=1`,
...
...
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