Toggle navigation
Toggle navigation
This project
Loading...
Sign in
fe
/
xianyu-ufo-app-web
·
Commits
Go to a project
GitLab
Go to group
Project
Activity
Files
Commits
Pipelines
0
Builds
0
Graphs
Milestones
Issues
0
Merge Requests
0
Members
Labels
Wiki
Forks
Network
Create a new issue
Download as
Email Patches
Plain Diff
Browse Files
Authored by
baoss
5 years ago
Commit
8e81fbca900882bea990017efcdb869a95f076fa
1 parent
28d1f0b2
修复已绑定支付宝账户显示
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
apps/pages/home/tradeIncome/components/payAccount.vue
apps/store/home/bindAccount.js
apps/pages/home/tradeIncome/components/payAccount.vue
View file @
8e81fbc
...
...
@@ -3,7 +3,7 @@
<div v-if="validStatus === 1">
<div class="account">
<p class="account-tip">支付宝账号</p>
<p class="account-name">{{alipayAccount}}</p>
<p class="account-name">{{alipayAccount
?alipayAccount:nickName
}}</p>
</div>
<p class="tip"><i class="cubeic-warn"></i><span>已绑定的支付宝账号暂无法提供系统换绑和解除,如
需要帮助可致电<a class="phone" href="tel:400-8890-9646"> 400-8890-9646 </a>联系电话客服</span></p>
...
...
@@ -26,7 +26,7 @@ export default {
this.fetchUserAliPayAccount()
},
computed: {
...mapState(['alipayAccount','certName', 'validStatus'])
...mapState(['alipayAccount','certName', 'validStatus'
,'nickName'
])
},
methods: {
...mapActions(['fetchUserAliPayAccount']),
...
...
apps/store/home/bindAccount.js
View file @
8e81fbc
...
...
@@ -5,6 +5,7 @@ export default function() {
state
:
{
alipayAccount
:
''
,
certName
:
''
,
nickName
:
''
,
validStatus
:
0
},
mutations
:
{
...
...
@@ -12,10 +13,12 @@ export default function() {
let
{
alipayAccount
,
certName
,
nickName
,
validStatus
}
=
data
;
state
.
alipayAccount
=
maskAccount
(
alipayAccount
);
state
.
nickName
=
nickName
||
''
;
state
.
certName
=
certName
;
state
.
validStatus
=
validStatus
;
}
...
...
Please
register
or
login
to post a comment