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
3a670de9
Commit
3a670de9
authored
Nov 15, 2019
by
华国豪
🙄
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
f0fee144
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
13 deletions
+20
-13
Rushbuy.html
html/Rushbuy.html
+20
-13
No files found.
html/Rushbuy.html
View file @
3a670de9
...
...
@@ -25,6 +25,10 @@
opacity
:
0
;
text-align
:
center
;
}
.main
.box.nomove
{
top
:
40%
;
opacity
:
1
;
}
.main
.box.move
{
top
:
40%
;
opacity
:
1
;
...
...
@@ -68,26 +72,29 @@
<script
type=
"text/javascript"
src=
"https://res.wx.qq.com/open/js/jweixin-1.3.2.js"
></script>
<script>
if
(
!
JSON
.
parse
(
localStorage
.
RushbuyTime
))
{
alert
(
'没有localStorage.RushbuyTime'
+
localStorage
.
RushbuyTime
)
let
buyIf
=
{}
if
(
localStorage
.
buyInfo
)
{
buyIf
=
JSON
.
parse
(
localStorage
.
buyInfo
)
}
else
{
window
.
location
.
href
=
'https://activity.oytour.com/html/GT_activities.html'
;
}
if
(
buyIf
.
platform
==
'app'
)
{
move
(
1
)
}
else
{
move
(
2
)
}
let
RushbuyTime
=
JSON
.
parse
(
localStorage
.
RushbuyTime
)
$
(
function
(){
let
RushbuyTime
=
localStorage
.
RushbuyTime
?
JSON
.
parse
(
localStorage
.
RushbuyTime
)
:
{
RushbuyTime
:
''
}
$
(
'#RushbuyTime'
).
html
(
`有效期截止:`
+
RushbuyTime
.
RushbuyTime
)
function
move
(
t
){
if
(
t
===
1
)
{
$
(
'.box'
).
addClass
(
'nomove'
)
}
else
{
setTimeout
(
function
(){
$
(
'.box'
).
addClass
(
'move'
)
},
500
)
}
)
let
buyIf
=
{}
if
(
localStorage
.
buyInfo
)
{
buyIf
=
JSON
.
parse
(
localStorage
.
buyInfo
)
}
else
{
window
.
location
.
href
=
'https://activity.oytour.com/html/GT_activities.html'
;
}
$
(
'.anniu'
).
click
(
function
()
{
var
loadingFlag
;
if
(
buyIf
.
platform
==
'app'
)
{
window
.
postMessage
(
JSON
.
stringify
({
'action'
:
'showHud'
,
'message'
:
'抢购中...'
}));
...
...
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