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
8bcce077
Commit
8bcce077
authored
Jun 24, 2024
by
袁玲利
Browse files
Options
Browse Files
Download
Plain Diff
交行二类户接入微信
parents
7d855126
d864a406
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
53 additions
and
42 deletions
+53
-42
src/pages/toAliPay/toAliPay.vue
src/pages/toAliPay/toAliPay.vue
+53
-42
No files found.
src/pages/toAliPay/toAliPay.vue
View file @
8bcce077
<
template
>
<view
class=
"container"
></view>
<view
class=
"container"
></view>
</
template
>
<
script
>
export
default
{
data
()
{
return
{
faceType
:
""
,
};
},
onLoad
:
function
(
options
)
{
console
.
log
(
options
);
this
.
faceType
=
options
.
faceType
||
""
;
console
.
log
(
"
准备跳转了哦1
"
);
//faceAuth = 1 人脸活体检测成功
// my.navigateTo({
// url: `/pages/BankModule/OpenAccount/OpenAccount?faceAuth=1`,
// });
},
onShow
()
{
console
.
log
(
this
.
faceType
,
"
lalalallalala
"
);
if
(
this
.
faceType
==
"
OPEN_ACCOUNT
"
)
{
// 开户
my
.
navigateTo
({
url
:
`/pages/BankModule/OpenAccount/OpenAccount?faceAuth=1`
,
});
}
else
if
(
this
.
faceType
==
"
CHANGE_CARD
"
)
{
// 换绑卡
my
.
navigateTo
({
url
:
`/pages/BankModule/ChangeBankPay/ChangeBankPay?faceAuth=1`
,
});
}
else
if
(
this
.
faceType
==
"
CANCEL_ACCOUNT
"
||
this
.
faceType
==
"
ACTIVE_ACCOUNT
"
)
{
// 销户、不动户激活
my
.
navigateTo
({
url
:
`/pages/BankModule/Recharge/Recharge?faceAuth=1&faceType=
${
this
.
faceType
}
`
,
});
}
},
created
:
function
()
{
// console.log(this.$echarts);
},
methods
:
{},
mounted
:
function
()
{},
};
export
default
{
data
()
{
return
{
faceType
:
""
,
fromPage
:
""
};
},
onLoad
:
function
(
options
)
{
console
.
log
(
options
);
this
.
faceType
=
options
.
faceType
||
""
;
this
.
fromPage
=
options
.
fromPage
||
""
;
console
.
log
(
"
准备跳转了哦1
"
);
//faceAuth = 1 人脸活体检测成功
// my.navigateTo({
// url: `/pages/BankModule/OpenAccount/OpenAccount?faceAuth=1`,
// });
},
onShow
()
{
console
.
log
(
this
.
faceType
,
"
lalalallalala
"
);
if
(
this
.
fromPage
==
"
WECHAT
"
)
{
if
(
this
.
faceType
==
"
OPEN_ACCOUNT
"
)
{
// 开户
my
.
navigateTo
({
url
:
`/pages_subpack/pages/BankOpenAccount/BankOpenAccount?faceAuth=1`
,
});
}
}
else
{
if
(
this
.
faceType
==
"
OPEN_ACCOUNT
"
)
{
// 开户
my
.
navigateTo
({
url
:
`/pages/BankModule/OpenAccount/OpenAccount?faceAuth=1`
,
});
}
else
if
(
this
.
faceType
==
"
CHANGE_CARD
"
)
{
// 换绑卡
my
.
navigateTo
({
url
:
`/pages/BankModule/ChangeBankPay/ChangeBankPay?faceAuth=1`
,
});
}
else
if
(
this
.
faceType
==
"
CANCEL_ACCOUNT
"
||
this
.
faceType
==
"
ACTIVE_ACCOUNT
"
)
{
// 销户、不动户激活
my
.
navigateTo
({
url
:
`/pages/BankModule/Recharge/Recharge?faceAuth=1&faceType=
${
this
.
faceType
}
`
,
});
}
}
},
created
:
function
()
{
// console.log(this.$echarts);
},
methods
:
{},
mounted
:
function
()
{},
};
</
script
>
<
style
scoped
>
</
style
>
</
style
>
\ No newline at end of file
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