Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hls-xcmg-vue-app
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
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
xugong
hls-xcmg-vue-app
Commits
01c4794d
Commit
01c4794d
authored
Jan 13, 2020
by
linxin
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add
parent
b9aa9eeb
Pipeline
#4603
canceled with stages
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
3 deletions
+17
-3
PrivacyPolicy.vue
src/pages/myInfo/PrivacyPolicy.vue
+9
-2
my-info.vue
src/pages/myInfo/my-info.vue
+8
-1
No files found.
src/pages/myInfo/PrivacyPolicy.vue
View file @
01c4794d
...
...
@@ -2,7 +2,7 @@
<h-view
class=
"privacy public-style"
>
<h-header
:proportion=
"[5,1,1]"
class=
"bar-custom"
>
<div
slot=
"left"
class=
"h-header-btn"
@
click=
"$routeGo()"
>
<img
src=
"@/assets/userBind/arrow.png"
@
click=
"$routeGo()"
>
<img
src=
"@/assets/userBind/arrow.png"
>
<span>
隐私政策
</span>
</div>
</h-header>
...
...
@@ -155,7 +155,7 @@
</p>
</h-content>
<bottom-tab
v-if=
"buttonFlag"
>
<tab-button
@
click
.
native=
"
$routeG
o"
>
不同意
</tab-button>
<tab-button
@
click
.
native=
"
privacyN
o"
>
不同意
</tab-button>
<tab-button
class=
"agreeBtn"
@
click
.
native=
"privacyAgree"
>
同意
</tab-button>
</bottom-tab>
</h-view>
...
...
@@ -169,7 +169,14 @@ export default {
buttonFlag
:
this
.
$route
.
params
.
button
,
}
},
activated
()
{
this
.
buttonFlag
=
this
.
$route
.
params
.
button
},
methods
:
{
privacyNo
()
{
window
.
localStorage
.
setItem
(
'isReadPolicy'
,
false
)
this
.
$routeGo
()
},
privacyAgree
()
{
window
.
localStorage
.
setItem
(
'isReadPolicy'
,
true
)
this
.
$routeGo
()
...
...
src/pages/myInfo/my-info.vue
View file @
01c4794d
...
...
@@ -538,7 +538,14 @@ export default {
if
(
index
===
1
)
{
let
width
=
window
.
localStorage
.
getItem
(
'width'
)
let
height
=
window
.
localStorage
.
getItem
(
'height'
)
if
(
window
.
localStorage
.
isReadPolicy
===
'false'
)
{
window
.
localStorage
.
clear
()
}
else
if
(
window
.
localStorage
.
isReadPolicy
===
'true'
)
{
window
.
localStorage
.
clear
()
window
.
localStorage
.
setItem
(
'isReadPolicy'
,
true
)
}
else
{
window
.
localStorage
.
clear
()
}
window
.
localStorage
.
setItem
(
'width'
,
width
)
window
.
localStorage
.
setItem
(
'height'
,
height
)
vm
.
$router
.
push
(
'/login'
)
...
...
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