Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
libai
/
guodong
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
63d84a69
authored
Mar 24, 2021
by
libai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
测试
parent
1909b772
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
21 deletions
css/phone.css
css/phone.less
images/banner2.png
share.html
css/phone.css
View file @
63d84a69
...
...
@@ -16,7 +16,7 @@
.banner2
{
width
:
10rem
;
height
:
15.98rem
;
background
:
url(../images/banner2.png)
no-repeat
;
background
:
url(../images/banner2.png
?v=20210324
)
no-repeat
;
background-size
:
100%
100%
;
position
:
relative
;
margin
:
0
auto
;
...
...
css/phone.less
View file @
63d84a69
...
...
@@ -16,7 +16,7 @@
.banner2{
width: 10rem;
height: 15.98rem;
background:url(../images/banner2.png)no-repeat;
background:url(../images/banner2.png
?v=20210324
)no-repeat;
background-size: 100% 100%;
position: relative;
margin: 0 auto;
...
...
images/banner2.png
View file @
63d84a69
189 KB
|
W:
|
H:
184 KB
|
W:
|
H:
2-up
Swipe
Onion skin
share.html
View file @
63d84a69
...
...
@@ -15,7 +15,7 @@
<script
src=
"lib/fsize.js"
></script>
<link
rel=
"stylesheet"
href=
"css/base.css"
>
<!-- <link rel="stylesheet" href="css/layer.css"> -->
<link
rel=
"stylesheet"
href=
"css/phone.css"
>
<link
rel=
"stylesheet"
href=
"css/phone.css
?v=20210324
"
>
<style>
...
...
@@ -43,8 +43,8 @@
}
</style>
</head>
<body
style=
"background: #
fff
"
>
<div
style=
"display: none;"
class=
"banner banner2"
>
<body
style=
"background: #
FEF09D;
"
>
<div
class=
"banner banner2"
>
<!-- <a href="login.html"><span class="Recharge">充值<span style="font-weight: 700;font-family:'黑体'">>></span></span></a> -->
<div
id=
"downloadButton"
class=
"btn"
></div>
</div>
...
...
@@ -79,25 +79,10 @@
/*在app已安装的情况尝试拉起app*/
m
.
schemeWakeup
();
/*用户点击某个按钮时(假定按钮id为downloadButton),安装app*/
if
(
sessionStorage
.
type
==
3
){
$
(
".banner"
).
show
()
$
(
"body"
).
css
(
"background"
,
"#FEF09D"
)
setTimeout
(
function
(){
m
.
wakeupOrInstall
();
return
false
;
},
1500
)
button
.
onclick
=
function
()
{
m
.
wakeupOrInstall
();
return
false
;
}
}
else
{
$
(
".banner"
).
show
()
$
(
"body"
).
css
(
"background"
,
"#FEF09D"
)
button
.
onclick
=
function
()
{
button
.
onclick
=
function
()
{
m
.
wakeupOrInstall
();
return
false
;
}
}
}
},
data
);
...
...
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