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
90e8345c
Commit
90e8345c
authored
Nov 15, 2019
by
Mac
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/huaguohao/surprised
parents
7597127a
22f0189c
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
27 additions
and
15 deletions
+27
-15
Rushbuy.html
html/Rushbuy.html
+27
-15
No files found.
html/Rushbuy.html
View file @
90e8345c
...
@@ -25,10 +25,17 @@
...
@@ -25,10 +25,17 @@
opacity
:
0
;
opacity
:
0
;
text-align
:
center
;
text-align
:
center
;
}
}
.main
.box.nomove
{
top
:
40%
;
opacity
:
1
;
}
.main
.box.move
{
.main
.box.move
{
top
:
40%
;
top
:
40%
;
opacity
:
1
;
opacity
:
1
;
transition
:
all
linear
.5s
;
transition
:
all
linear
.5s
;
-moz-transition
:
all
linear
.5s
;
/* Firefox 4 */
-webkit-transition
:
all
linear
.5s
;
/* Safari and Chrome */
-o-transition
:
all
linear
.5s
;
/* Opera */
}
}
.main
.box
.hongbao
{
.main
.box
.hongbao
{
width
:
80%
;
width
:
80%
;
...
@@ -65,24 +72,29 @@
...
@@ -65,24 +72,29 @@
<script
type=
"text/javascript"
src=
"https://res.wx.qq.com/open/js/jweixin-1.3.2.js"
></script>
<script
type=
"text/javascript"
src=
"https://res.wx.qq.com/open/js/jweixin-1.3.2.js"
></script>
<script>
<script>
let
buyIf
=
{}
let
RushbuyTime
=
JSON
.
parse
(
localStorage
.
RushbuyTime
)
if
(
localStorage
.
buyInfo
)
{
$
(
buyIf
=
JSON
.
parse
(
localStorage
.
buyInfo
)
function
(){
}
else
{
history
.
go
(
-
1
)
}
if
(
buyIf
.
platform
==
'app'
)
{
move
(
1
)
}
else
{
move
(
2
)
}
let
RushbuyTime
=
localStorage
.
RushbuyTime
?
JSON
.
parse
(
localStorage
.
RushbuyTime
)
:
{
RushbuyTime
:
''
}
$
(
'#RushbuyTime'
).
html
(
`有效期截止:`
+
RushbuyTime
.
RushbuyTime
)
$
(
'#RushbuyTime'
).
html
(
`有效期截止:`
+
RushbuyTime
.
RushbuyTime
)
function
move
(
t
){
if
(
t
===
1
)
{
$
(
'.box'
).
addClass
(
'nomove'
)
}
else
{
setTimeout
(
function
(){
setTimeout
(
function
(){
$
(
'.box'
).
addClass
(
'move'
)
$
(
'.box'
).
addClass
(
'move'
)
},
500
)
},
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
()
{
$
(
'.anniu'
).
click
(
function
()
{
var
loadingFlag
;
var
loadingFlag
;
if
(
buyIf
.
platform
==
'app'
)
{
if
(
buyIf
.
platform
==
'app'
)
{
window
.
postMessage
(
JSON
.
stringify
({
'action'
:
'showHud'
,
'message'
:
'抢购中...'
}));
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