Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
H
h5-front
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
yimu
h5-front
Commits
ad6d858d
Commit
ad6d858d
authored
Mar 07, 2022
by
zhuang_cong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
d0641c0c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
22 additions
and
12 deletions
+22
-12
index.vue
src/views/user-center/settings/settings/index.vue
+22
-12
No files found.
src/views/user-center/settings/settings/index.vue
View file @
ad6d858d
...
@@ -2,7 +2,7 @@
...
@@ -2,7 +2,7 @@
<div
class=
"bg-grey setup-con"
>
<div
class=
"bg-grey setup-con"
>
<div
class=
"setup-list"
>
<div
class=
"setup-list"
>
<!--
<item-info
label=
"登录密码"
icon
></item-info>
-->
<!--
<item-info
label=
"登录密码"
icon
></item-info>
-->
<item-info
label=
"支付密码"
icon
@
click
.
native=
"goTo
('update-pay-pwd')
"
/>
<item-info
label=
"支付密码"
icon
@
click
.
native=
"goTo
UpdatePwd
"
/>
<!--
<item-info
label=
"实名认证"
icon
@
click
.
native=
"goTo('authentication')"
/>
-->
<!--
<item-info
label=
"实名认证"
icon
@
click
.
native=
"goTo('authentication')"
/>
-->
<item-info
<item-info
v-if=
"isApp"
v-if=
"isApp"
...
@@ -13,7 +13,11 @@
...
@@ -13,7 +13,11 @@
/>
/>
<!--
<item-info
label=
"隐私协议"
icon
></item-info>
-->
<!--
<item-info
label=
"隐私协议"
icon
></item-info>
-->
<item-info
label=
"关于"
icon
@
click
.
native=
"goToAboutUs('about-us')"
></item-info>
<item-info
label=
"关于"
icon
@
click
.
native=
"goToAboutUs('about-us')"
></item-info>
</div>
</div>
<div
class=
"login-out"
@
click=
"handleLogout"
>
退出登录
</div>
<div
class=
"login-out"
@
click=
"handleLogout"
>
退出登录
</div>
</div>
</div>
...
@@ -28,27 +32,33 @@ export default {
...
@@ -28,27 +32,33 @@ export default {
return
{};
return
{};
},
},
computed
:
{
computed
:
{
...
mapState
([
"appVersion"
,
"accountInfo"
,
"appPlatform"
]),
...
mapState
([
"appVersion"
,
"accountInfo"
,
"appPlatform"
]),
isApp
()
{
isApp
()
{
return
this
.
appPlatform
===
'mall-ym'
return
this
.
appPlatform
===
"mall-ym"
;
}
}
,
},
},
methods
:
{
methods
:
{
...
mapMutations
([
"clearAccountInfo"
]),
...
mapMutations
([
"clearAccountInfo"
]),
handleLogout
()
{
handleLogout
()
{
this
.
clearAccountInfo
();
this
.
clearAccountInfo
();
this
.
goHome
();
this
.
goHome
();
},
},
goTo
(
name
)
{
goTo
(
name
)
{
this
.
$router
.
push
({
name
});
this
.
$router
.
push
({
name
});
},
},
goToAboutUs
(
name
)
{
goToAboutUs
(
name
)
{
this
.
$router
.
push
({
name
});
this
.
$router
.
push
({
name
});
},
},
appUpdateApp
()
{
appUpdateApp
()
{
this
.
updateApp
()
this
.
updateApp
();
}
},
goToUpdatePwd
()
{
let
query
=
{};
if
(
!
this
.
accountInfo
.
isPayPassword
)
{
query
=
{
first
:
true
,
setup
:
1
};
}
this
.
$router
.
push
({
name
:
"update-pay-pwd"
,
query
});
},
},
},
};
};
</
script
>
</
script
>
...
...
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