Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
libai
/
Static
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
f3f1415b
authored
Oct 15, 2019
by
dabai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
超级转盘
parent
45bdf9a9
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
37 additions
and
35 deletions
superTurn/css/index.css
superTurn/js/index.js
superTurn/js/lang.js
superTurn/css/index.css
View file @
f3f1415b
...
...
@@ -201,7 +201,7 @@ body{
width
:
7.6rem
;
}
.ticketDetail
{
background
:
url(
..
/img/unselected.png)
no-repeat
;
background
:
url(
https://app.ixiulive.com/static/superTurn
/img/unselected.png)
no-repeat
;
background-size
:
100%
100%
;
width
:
1.96rem
;
height
:
0.906rem
;
...
...
@@ -211,7 +211,7 @@ body{
margin-top
:
-.453rem
;
}
.ticketDetail.check
{
background
:
url(
..
/img/selected.png)
no-repeat
;
background
:
url(
https://app.ixiulive.com/static/superTurn
/img/selected.png)
no-repeat
;
background-size
:
100%
100%
;
}
.ticketDetail
span
{
...
...
superTurn/js/index.js
View file @
f3f1415b
...
...
@@ -4,6 +4,7 @@ var interval = null;
var
interval2
=
null
;
var
interval3
=
null
;
var
cdn
=
'https://zhibocdn.yabolive.net/comm'
;
var
cdn2
=
'https://app.ixiulive.com/static/superTurn/'
;
var
flag
=
true
;
var
flag2
=
true
;
var
flag3
=
true
;
...
...
@@ -181,7 +182,7 @@ function getTime(time,res){
iIndex
=
1
;
}
iIndex
++
;
$
(
'.light'
).
attr
(
'src'
,
'img/light_'
+
iIndex
+
'.png'
);
$
(
'.light'
).
attr
(
'src'
,
cdn2
+
'img/light_'
+
iIndex
+
'.png'
);
},
200
)
$
(
'.rotaryTitle'
).
html
(
langList
[
langType
].
super17
);
$
(
'.rotaryBtn'
).
hide
();
...
...
@@ -202,9 +203,9 @@ function getTime(time,res){
val
=
0
}
if
(
langType
==
1
){
$
(
'.rotaryTitle'
).
html
(
'<img src="img/'
+
res
.
odd
+
'_en.png"/>'
);
$
(
'.rotaryTitle'
).
html
(
'<img src="
'
+
cdn2
+
'
img/'
+
res
.
odd
+
'_en.png"/>'
);
}
else
{
$
(
'.rotaryTitle'
).
html
(
'<img src="img/'
+
res
.
odd
+
'.png"/>'
);
$
(
'.rotaryTitle'
).
html
(
'<img src="
'
+
cdn2
+
'
img/'
+
res
.
odd
+
'.png"/>'
);
}
$
(
'.rotaryBtn'
).
hide
();
...
...
@@ -236,9 +237,9 @@ function getTime(time,res){
val
=
0
}
if
(
langType
==
1
){
$
(
'.rotaryTitle'
).
html
(
'<img src="img/'
+
res
.
odd
+
'_en.png"/>'
);
$
(
'.rotaryTitle'
).
html
(
'<img src="
'
+
cdn2
+
'
img/'
+
res
.
odd
+
'_en.png"/>'
);
}
else
{
$
(
'.rotaryTitle'
).
html
(
'<img src="img/'
+
res
.
odd
+
'.png"/>'
);
$
(
'.rotaryTitle'
).
html
(
'<img src="
'
+
cdn2
+
'
img/'
+
res
.
odd
+
'.png"/>'
);
}
$
(
'.rotaryBtn2'
).
css
({
'transform'
:
'rotate('
+
(
9.6
*
index
+
val
)
+
'deg)'
,
'transformOrigin'
:
'50% 50%'
});
if
(
res
.
prizeamount
==
null
){
...
...
superTurn/js/lang.js
View file @
f3f1415b
var
superCdn
=
'https://app.ixiulive.com/static/superTurn/'
;
var
langList
=
[
//中文
{
'img1'
:
'img/2.png'
,
'img2'
:
'img/3.png'
,
'img3'
:
'img/7.png'
,
'img4'
:
'img/18.png'
,
'img5'
:
'img/history.png'
,
'img6'
:
'img/history_title.png'
,
'img7'
:
'img/ranking.png'
,
'img8'
:
'img/result.png'
,
'img9'
:
'img/rule_title.png'
,
'img10'
:
'img/victory.png'
,
'img11'
:
'img/xz.png?v=201909272107'
,
'img12'
:
'img/ranking_list_title.png'
,
'img13'
:
'img/rotarytable.png'
,
'img14'
:
'img/victory_bg.png'
,
'img1'
:
superCdn
+
'img/2.png'
,
'img2'
:
superCdn
+
'img/3.png'
,
'img3'
:
superCdn
+
'img/7.png'
,
'img4'
:
superCdn
+
'img/18.png'
,
'img5'
:
superCdn
+
'img/history.png'
,
'img6'
:
superCdn
+
'img/history_title.png'
,
'img7'
:
superCdn
+
'img/ranking.png'
,
'img8'
:
superCdn
+
'img/result.png'
,
'img9'
:
superCdn
+
'img/rule_title.png'
,
'img10'
:
superCdn
+
'img/victory.png'
,
'img11'
:
superCdn
+
'img/xz.png?v=201909272107'
,
'img12'
:
superCdn
+
'img/ranking_list_title.png'
,
'img13'
:
superCdn
+
'img/rotarytable.png'
,
'img14'
:
superCdn
+
'img/victory_bg.png'
,
'super1'
:
'2倍'
,
'super2'
:
'3倍'
,
'super3'
:
'7倍'
,
...
...
@@ -39,20 +40,20 @@ var langList = [
'super22'
:
'超級轉盤'
,
},
{
'img1'
:
'img/2_en.png'
,
'img2'
:
'img/3_en.png'
,
'img3'
:
'img/7_en.png'
,
'img4'
:
'img/18_en.png'
,
'img5'
:
'img/history_en.png'
,
'img6'
:
'img/history_title_en.png'
,
'img7'
:
'img/ranking_en.png'
,
'img8'
:
'img/result_en.png'
,
'img9'
:
'img/rule_title_en.png'
,
'img10'
:
'img/victory_en.png'
,
'img11'
:
'img/xz_en.png'
,
'img12'
:
'img/ranking_list_title_en.png'
,
'img13'
:
'img/rotarytable_en.png'
,
'img14'
:
'img/victory_bg_en.png?v=201910151540'
,
'img1'
:
superCdn
+
'img/2_en.png'
,
'img2'
:
superCdn
+
'img/3_en.png'
,
'img3'
:
superCdn
+
'img/7_en.png'
,
'img4'
:
superCdn
+
'img/18_en.png'
,
'img5'
:
superCdn
+
'img/history_en.png'
,
'img6'
:
superCdn
+
'img/history_title_en.png'
,
'img7'
:
superCdn
+
'img/ranking_en.png'
,
'img8'
:
superCdn
+
'img/result_en.png'
,
'img9'
:
superCdn
+
'img/rule_title_en.png'
,
'img10'
:
superCdn
+
'img/victory_en.png'
,
'img11'
:
superCdn
+
'img/xz_en.png'
,
'img12'
:
superCdn
+
'img/ranking_list_title_en.png'
,
'img13'
:
superCdn
+
'img/rotarytable_en.png'
,
'img14'
:
superCdn
+
'img/victory_bg_en.png?v=201910151540'
,
'super1'
:
'X2'
,
'super2'
:
'X3'
,
'super3'
:
'X7'
,
...
...
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