Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
app_whsx
Overview
Overview
Details
Activity
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
王君
app_whsx
Commits
0ace1c7b
Commit
0ace1c7b
authored
Aug 25, 2021
by
王君
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update files
parent
32f99a15
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
142 additions
and
2 deletions
+142
-2
setting_main.html
html/my/setting_main.html
+25
-0
privacy_policy.html
html/privacy_policy.html
+1
-1
privacy_policy_2.html
html/privacy_policy_2.html
+115
-0
index.html
index.html
+1
-1
privacy_policy.png
res/btn/my/privacy_policy.png
+0
-0
No files found.
html/my/setting_main.html
View file @
0ace1c7b
...
...
@@ -28,6 +28,12 @@
height
:
1.5em
;
object-fit
:
fill
;
}
.aui-list-item-arrow
::before
{
border
:
1px
solid
#858585
!important
;
border-top
:
none
!important
;
border-right
:
none
!important
;
}
</style>
<body>
...
...
@@ -56,6 +62,15 @@
</div>
</div>
</div>
<div
class=
"aui-list-item aui-list-item-arrow"
tapmode
onclick=
"show_privacy_policy()"
>
<div
class=
"aui-list-item-label-icon"
>
<img
class=
"leftbtn"
src=
"../../res/btn/my/privacy_policy.png"
/>
</div>
<div
class=
"aui-list-item-inner"
>
<div
class=
"aui-list-item-title aui-font-size-14"
>
隐私协议
</div>
<div
class=
"aui-list-item-right"
>
</div>
</div>
</div>
<!--<div class="aui-list-item" tapmode onclick="open_test()">
<div class="aui-list-item-label-icon">
...
...
@@ -235,6 +250,16 @@
console
.
log
(
'mylist'
,
ret
);
});
}
function
show_privacy_policy
(){
//打开隐私协议界面
//var url = '/home/page/showPage?pageName=privacy_policy_2';
api
.
openFrame
({
name
:
'privacy_policy_2'
,
url
:
'../privacy_policy_2.html'
,
bounces
:
false
,
reload
:
true
});
}
</script>
</html>
html/privacy_policy.html
View file @
0ace1c7b
...
...
@@ -30,7 +30,7 @@
padding-bottom
:
6em
;
}
#header
{
background-color
:
#
3D60F6
;
background-color
:
#
4491FF
;
height
:
2em
;
}
.buttons
{
...
...
html/privacy_policy_2.html
0 → 100644
View file @
0ace1c7b
<!DOCTYPE html>
<html
lang=
"en"
>
<head>
<meta
charset=
"UTF-8"
>
<meta
http-equiv=
"X-UA-Compatible"
content=
"IE=edge"
>
<meta
name=
"viewport"
content=
"width=device-width, initial-scale=1.0"
>
<title>
隐私协议
</title>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"../css/aui.2.0.css"
/>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"../css/vant.css"
>
<style>
body
{
padding
:
0px
;
margin
:
0px
;
background-color
:
#fff
;
}
.content
{
overflow-x
:
hidden
;
overflow-y
:
auto
;
padding-left
:
1em
;
padding-right
:
1em
;
background
:
#fff
;
}
.content_text
{
padding-bottom
:
6em
;
}
#header
{
background-color
:
#4491FF
;
height
:
2em
;
}
.loading
{
margin-top
:
50%
;
}
.header_img
{
width
:
100%
;
height
:
4em
;
}
.title
{
text-align
:
center
;
color
:
#262626
;
background
:
#fff
;
font-size
:
16px
;
padding-top
:
1em
;
padding-bottom
:
1em
;
}
.van-nav-bar__title
{
color
:
#262626
!important
;
}
.van-nav-bar
.van-icon
{
color
:
#858585
!important
;
}
[
v-cloak
]
{
display
:
none
;
}
</style>
</head>
<body>
<div
id=
"privacy_policy"
v-cloak
>
<van-sticky
offset-top=
"0"
id=
"header_div"
>
<header
id=
"header"
></header>
<van-nav-bar
title=
"隐私协议"
left-text=
""
left-arrow
@
click-left=
"back"
/>
</van-sticky>
<van-loading
v-if=
"isLoading"
size=
"24px"
vertical
class=
"loading"
>
加载中...
</van-loading>
<div
class=
"content"
id=
"content"
>
<div
v-if=
"!isLoading"
>
<div
v-html=
"content"
class=
"content_text"
></div>
</div>
</div>
</div>
<script
type=
"text/javascript"
src=
"../script/vue.min.js"
></script>
<script
type=
"text/javascript"
src=
"../script/vant.min.js"
></script>
<script
type=
"text/javascript"
src=
"../script/api.js"
></script>
<script
type=
"text/javascript"
src=
"../script/common.js"
></script>
<script
type=
"text/javascript"
src=
"../script/jquery.min.js"
></script>
<script>
apiready
=
function
()
{
var
app
=
new
Vue
({
el
:
"#privacy_policy"
,
data
:{
content
:
''
,
title
:
''
,
isLoading
:
true
,
headerHeight
:
0
},
watch
:{
isLoading
:
function
(
newQuestion
,
oldQuestion
)
{
if
(
!
newQuestion
){
}
}
},
methods
:{
init
(){
},
back
(){
api
.
closeFrame
({});
},
setContent
(){
var
url
=
window
.
config
.
dev_path
+
"api/page/detail?id=17"
;
$api
.
post
(
url
,{},
function
(
ret
){
if
(
1
==
ret
.
status
){
Vue
.
set
(
app
,
'content'
,
ret
.
data
.
content
);
Vue
.
set
(
app
,
'title'
,
ret
.
data
.
title
);
Vue
.
set
(
app
,
'isLoading'
,
false
);
}
},
'json'
);
}
}
})
app
.
init
();
app
.
setContent
();
}
</script>
</body>
</html>
\ No newline at end of file
index.html
View file @
0ace1c7b
...
...
@@ -55,7 +55,7 @@
<script
type=
"text/javascript"
src=
"./script/api.js"
></script>
<script
type=
"text/javascript"
>
apiready
=
function
(){
$api
.
setStorage
(
'first_run'
,
1
);
//
$api.setStorage('first_run',1);
var
first_run
=
$api
.
getStorage
(
'first_run'
);
if
(
first_run
!=
500
){
api
.
openFrame
({
...
...
res/btn/my/privacy_policy.png
0 → 100644
View file @
0ace1c7b
1.62 KB
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