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
25d7c007
Commit
25d7c007
authored
Jul 04, 2024
by
袁玲利
Browse files
Options
Browse Files
Download
Plain Diff
交行二类户接入
parents
7a418579
5f961471
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
83 additions
and
45 deletions
+83
-45
src/pages/BankModule/Recharge/Recharge.vue
src/pages/BankModule/Recharge/Recharge.vue
+4
-3
src/pages/toAliPay/toAliPay.vue
src/pages/toAliPay/toAliPay.vue
+79
-42
No files found.
src/pages/BankModule/Recharge/Recharge.vue
View file @
25d7c007
...
...
@@ -418,7 +418,7 @@
>
</view>
</view>
<view
class=
"changeCard"
@
click=
"ChangeBankPay"
v-if=
"typeCode != 'BOCOM'"
>
我要换卡支付
</view>
<view
class=
"changeCard"
@
click=
"ChangeBankPay"
>
我要换卡支付
</view>
</view>
</view>
<!-- 银行卡列表
...
...
@@ -1608,8 +1608,8 @@ export default {
if
(
this_
.
typeCode
!=
"
BOHAI
"
)
{
this_
.
actions
=
this_
.
actions
.
filter
((
x
)
=>
x
.
text
!=
"
证件更新
"
);
}
if
(
this_
.
typeCode
!
=
"
BOCOM
"
)
{
this_
.
actions
=
this_
.
actions
.
filter
((
x
)
=>
x
.
text
!=
"
申请激活
"
);
if
(
this_
.
typeCode
=
=
"
BOCOM
"
)
{
this_
.
actions
=
this_
.
actions
.
filter
((
x
)
=>
x
.
text
!=
"
证件更新
"
);
}
bankInfo
.
sessionid
=
sessionID
;
this_
.
queryBankInfo
();
//查余额
...
...
@@ -2732,6 +2732,7 @@ page {
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: #000000;
line-height: 40rpx;
border-bottom: 1rpx solid #dddddd;
}
...
...
src/pages/toAliPay/toAliPay.vue
View file @
25d7c007
...
...
@@ -3,15 +3,17 @@
</
template
>
<
script
>
export
default
{
export
default
{
data
()
{
return
{
faceType
:
""
,
fromPage
:
""
};
},
onLoad
:
function
(
options
)
{
onLoad
:
function
(
options
)
{
console
.
log
(
options
);
this
.
faceType
=
options
.
faceType
||
""
;
this
.
fromPage
=
options
.
fromPage
||
""
;
console
.
log
(
"
准备跳转了哦1
"
);
//faceAuth = 1 人脸活体检测成功
// my.navigateTo({
...
...
@@ -19,7 +21,46 @@ export default {
// });
},
onShow
()
{
console
.
log
(
this
.
faceType
,
"
lalalallalala
"
);
console
.
log
(
this
.
faceType
,
"
lalalallalala
"
,
this
.
fromPage
);
if
(
this
.
fromPage
==
"
WECHAT
"
)
{
if
(
this
.
faceType
==
"
OPEN_ACCOUNT
"
)
{
// 开户
jWeixin
.
miniProgram
.
navigateTo
({
url
:
`/pages_subpack/pages/BankOpenAccount/BankOpenAccount?faceAuth=1`
,
success
:
function
(
res
)
{
// 跳转成功
},
fail
:
function
(
err
)
{
// 捕捉到错误,可以在这里处理错误
console
.
error
(
'
navigateTo failed:
'
,
err
);
}
});
}
else
if
(
this
.
faceType
==
"
CHANGE_CARD
"
)
{
// 换绑卡
jWeixin
.
miniProgram
.
navigateTo
({
url
:
`/pages/AssignAddCardInfo/main?faceAuth=1`
,
success
:
function
(
res
)
{
// 跳转成功
},
fail
:
function
(
err
)
{
// 捕捉到错误,可以在这里处理错误
console
.
error
(
'
navigateTo failed:
'
,
err
);
}
});
}
else
if
(
this
.
faceType
==
"
CANCEL_ACCOUNT
"
)
{
// 销户
jWeixin
.
miniProgram
.
navigateTo
({
url
:
`/pages/AssignCancelUserPhone/main?faceAuth=1`
,
success
:
function
(
res
)
{
// 跳转成功
},
fail
:
function
(
err
)
{
// 捕捉到错误,可以在这里处理错误
console
.
error
(
'
navigateTo failed:
'
,
err
);
}
});
}
}
else
{
if
(
this
.
faceType
==
"
OPEN_ACCOUNT
"
)
{
// 开户
my
.
navigateTo
({
...
...
@@ -36,13 +77,9 @@ export default {
url
:
`/pages/BankModule/Recharge/Recharge?faceAuth=1&faceType=
${
this
.
faceType
}
`
,
});
}
},
created
:
function
()
{
// console.log(this.$echarts);
},
methods
:
{},
mounted
:
function
()
{},
};
}
}
}
</
script
>
<
style
scoped
>
...
...
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