Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SURPRISED
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
华国豪
SURPRISED
Commits
87d68864
Commit
87d68864
authored
Nov 14, 2019
by
华国豪
🙄
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
607e9dcb
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
20 additions
and
9 deletions
+20
-9
Rushbuy.html
html/Rushbuy.html
+19
-8
mian.js
js/mian.js
+1
-1
No files found.
html/Rushbuy.html
View file @
87d68864
...
...
@@ -31,20 +31,30 @@
transition
:
all
linear
.5s
;
}
.main
.box
.hongbao
{
width
:
75
%
;
width
:
80
%
;
}
.main
.box
.anniu
{
width
:
64%
;
position
:
absolute
;
left
:
21
%
;
left
:
18
%
;
bottom
:
15%
;
}
#RushbuyTime
{
font-size
:
0.13rem
;
color
:
#e03234
;
height
:
0.2rem
;
position
:
absolute
;
width
:
100%
;
right
:
-18.5%
;
top
:
26%
;
}
</style>
</head>
<body>
<div
class=
"main"
>
<div
class=
"box"
>
<img
class=
"hongbao"
src=
"../images/gongxi1.png"
>
<span
id=
"RushbuyTime"
></span>
<img
class=
"anniu"
src=
"../images/gongxi2.png"
>
</div>
</div>
...
...
@@ -53,20 +63,21 @@
<script
type=
"text/javascript"
src=
"../js/layer/layer.js"
></script>
<script
type=
"text/javascript"
src=
"../js/mian.js"
></script>
<script>
$
(
function
(){
$
(
'#RushbuyTime'
).
html
(
`有效期截止:`
+
RushbuyTime
)
setTimeout
(
function
(){
$
(
'.box'
).
addClass
(
'move'
)
},
500
)
}
)
let
buyIf
=
{}
if
(
localStorage
.
buyInfo
)
{
buyIf
=
localStorage
.
buyInfo
}
else
{
window
.
location
.
href
=
'https://activity.oytour.com/html/GT_activities.html'
;
}
// if (localStorage.buyInfo) {
// buyIf = localStorage.buyInfo
// }else {
// window.location.href = 'https://activity.oytour.com/html/GT_activities.html';
// }
</script>
</body>
...
...
js/mian.js
View file @
87d68864
let
locationName
=
window
.
location
.
hostname
;
let
RushbuyTime
=
''
;
let
RushbuyTime
=
'
2019-11-14
'
;
function
getApiUrl
()
{
let
url
=
{
urlPost
:
"https://reborn.oytour.com/api/common/post"
,
...
...
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