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
41dc0b10
Commit
41dc0b10
authored
Nov 14, 2019
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
s
parent
4034e10b
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
8 deletions
+9
-8
GT_activities.css
css/GT_activities.css
+2
-1
GT_activities.html
html/GT_activities.html
+7
-7
No files found.
css/GT_activities.css
View file @
41dc0b10
...
@@ -396,7 +396,7 @@ p{
...
@@ -396,7 +396,7 @@ p{
color
:
#fff
;
color
:
#fff
;
width
:
auto
;
width
:
auto
;
float
:
left
;
float
:
left
;
padding
:
0
0.2rem
;
padding
:
0
0.2rem
0
0.05rem
;
height
:
0.3rem
;
height
:
0.3rem
;
text-decoration
:
none
;
text-decoration
:
none
;
margin-right
:
0.1rem
;
margin-right
:
0.1rem
;
...
@@ -410,6 +410,7 @@ p{
...
@@ -410,6 +410,7 @@ p{
vertical-align
:
middle
;
vertical-align
:
middle
;
position
:
relative
;
position
:
relative
;
top
:
-0.02rem
;
top
:
-0.02rem
;
border-radius
:
50%
;
}
}
.Noticewarp
a
:last-child
{
.Noticewarp
a
:last-child
{
margin-right
:
0
;
margin-right
:
0
;
...
...
html/GT_activities.html
View file @
41dc0b10
...
@@ -28,9 +28,9 @@
...
@@ -28,9 +28,9 @@
</div>
</div>
<div
id=
"demo2"
></div>
<div
id=
"demo2"
></div>
</div>
</div>
<div
class=
"wx_bg"
>
<
!-- <
div class="wx_bg">
<img src="../images/qsywx.png" alt="" />
<img src="../images/qsywx.png" alt="" />
</div>
</div>
-->
<div
class=
"box_title"
>
<div
class=
"box_title"
>
<img
src=
"../images/G@3x.png"
alt=
""
class=
"G_img"
>
<img
src=
"../images/G@3x.png"
alt=
""
class=
"G_img"
>
<h5>
<h5>
...
@@ -186,13 +186,13 @@
...
@@ -186,13 +186,13 @@
function
Marquee
()
{
function
Marquee
()
{
if
(
demo
.
scrollLeft
-
demo2
.
offsetWidth
>=
0
)
{
if
(
demo
.
scrollLeft
-
demo2
.
offsetWidth
>=
0
)
{
demo
.
scrollLeft
-=
demo1
.
offsetWidth
;
//demo.scrollLeft -= demo1.offsetWidth;
clearInterval
(
myvar
);
}
else
{
}
else
{
demo
.
scrollLeft
++
;
demo
.
scrollLeft
++
;
}
}
}
}
var
myvar
=
setInterval
(
Marquee
,
50
);
var
myvar
=
setInterval
(
Marquee
,
25
);
function
getTicketList
(
couponId
){
function
getTicketList
(
couponId
){
let
minTimer
=
1
*
60
*
1000
;
let
minTimer
=
1
*
60
*
1000
;
let
maxTimer
=
5
*
60
*
1000
;
let
maxTimer
=
5
*
60
*
1000
;
...
@@ -202,7 +202,7 @@
...
@@ -202,7 +202,7 @@
}
}
let
msg
=
{
let
msg
=
{
selectTime
:
selectTime
,
selectTime
:
selectTime
,
CouponId
:
couponId
CouponId
:
300
}
}
$
.
ajax
({
$
.
ajax
({
type
:
"POST"
,
type
:
"POST"
,
...
@@ -214,7 +214,7 @@
...
@@ -214,7 +214,7 @@
if
(
res
.
resultCode
===
1
)
{
if
(
res
.
resultCode
===
1
)
{
let
dataList
=
res
.
data
;
let
dataList
=
res
.
data
;
let
CountLen
=
dataList
.
length
;
let
CountLen
=
dataList
.
length
;
var
TotalSecond
=
CountLen
*
16
*
1000
;
var
TotalSecond
=
CountLen
*
8
*
1000
;
if
(
TotalSecond
>
maxTimer
){
if
(
TotalSecond
>
maxTimer
){
TotalSecond
=
maxTimer
;
TotalSecond
=
maxTimer
;
}
else
if
(
TotalSecond
<
minTimer
){
}
else
if
(
TotalSecond
<
minTimer
){
...
...
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