Commit f3f1415b by dabai

超级转盘

parent 45bdf9a9
...@@ -201,7 +201,7 @@ body{ ...@@ -201,7 +201,7 @@ body{
width: 7.6rem; width: 7.6rem;
} }
.ticketDetail{ .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%; background-size: 100% 100%;
width: 1.96rem; width: 1.96rem;
height: 0.906rem; height: 0.906rem;
...@@ -211,7 +211,7 @@ body{ ...@@ -211,7 +211,7 @@ body{
margin-top: -.453rem; margin-top: -.453rem;
} }
.ticketDetail.check{ .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%; background-size: 100% 100%;
} }
.ticketDetail span{ .ticketDetail span{
......
...@@ -4,6 +4,7 @@ var interval = null; ...@@ -4,6 +4,7 @@ var interval = null;
var interval2 = null; var interval2 = null;
var interval3 = null; var interval3 = null;
var cdn = 'https://zhibocdn.yabolive.net/comm'; var cdn = 'https://zhibocdn.yabolive.net/comm';
var cdn2 = 'https://app.ixiulive.com/static/superTurn/';
var flag = true; var flag = true;
var flag2 = true; var flag2 = true;
var flag3 = true; var flag3 = true;
...@@ -181,7 +182,7 @@ function getTime(time,res){ ...@@ -181,7 +182,7 @@ function getTime(time,res){
iIndex=1; iIndex=1;
} }
iIndex++; iIndex++;
$('.light').attr('src','img/light_'+iIndex+'.png'); $('.light').attr('src',cdn2+'img/light_'+iIndex+'.png');
},200) },200)
$('.rotaryTitle').html(langList[langType].super17); $('.rotaryTitle').html(langList[langType].super17);
$('.rotaryBtn').hide(); $('.rotaryBtn').hide();
...@@ -202,9 +203,9 @@ function getTime(time,res){ ...@@ -202,9 +203,9 @@ function getTime(time,res){
val = 0 val = 0
} }
if(langType == 1){ if(langType == 1){
$('.rotaryTitle').html('<img src="img/'+res.odd+'_en.png"/>'); $('.rotaryTitle').html('<img src="'+cdn2+'img/'+res.odd+'_en.png"/>');
} else { } else {
$('.rotaryTitle').html('<img src="img/'+res.odd+'.png"/>'); $('.rotaryTitle').html('<img src="'+cdn2+'img/'+res.odd+'.png"/>');
} }
$('.rotaryBtn').hide(); $('.rotaryBtn').hide();
...@@ -236,9 +237,9 @@ function getTime(time,res){ ...@@ -236,9 +237,9 @@ function getTime(time,res){
val = 0 val = 0
} }
if(langType == 1){ if(langType == 1){
$('.rotaryTitle').html('<img src="img/'+res.odd+'_en.png"/>'); $('.rotaryTitle').html('<img src="'+cdn2+'img/'+res.odd+'_en.png"/>');
} else { } 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%'}); $('.rotaryBtn2').css({'transform':'rotate('+(9.6*index+val)+'deg)','transformOrigin':'50% 50%'});
if(res.prizeamount == null){ if(res.prizeamount == null){
......
var superCdn = 'https://app.ixiulive.com/static/superTurn/';
var langList = [ var langList = [
//中文 //中文
{ {
'img1':'img/2.png', 'img1':superCdn+'img/2.png',
'img2':'img/3.png', 'img2':superCdn+'img/3.png',
'img3':'img/7.png', 'img3':superCdn+'img/7.png',
'img4':'img/18.png', 'img4':superCdn+'img/18.png',
'img5':'img/history.png', 'img5':superCdn+'img/history.png',
'img6':'img/history_title.png', 'img6':superCdn+'img/history_title.png',
'img7':'img/ranking.png', 'img7':superCdn+'img/ranking.png',
'img8':'img/result.png', 'img8':superCdn+'img/result.png',
'img9':'img/rule_title.png', 'img9':superCdn+'img/rule_title.png',
'img10':'img/victory.png', 'img10':superCdn+'img/victory.png',
'img11':'img/xz.png?v=201909272107', 'img11':superCdn+'img/xz.png?v=201909272107',
'img12':'img/ranking_list_title.png', 'img12':superCdn+'img/ranking_list_title.png',
'img13':'img/rotarytable.png', 'img13':superCdn+'img/rotarytable.png',
'img14':'img/victory_bg.png', 'img14':superCdn+'img/victory_bg.png',
'super1':'2倍', 'super1':'2倍',
'super2':'3倍', 'super2':'3倍',
'super3':'7倍', 'super3':'7倍',
...@@ -39,20 +40,20 @@ var langList = [ ...@@ -39,20 +40,20 @@ var langList = [
'super22':'超級轉盤', 'super22':'超級轉盤',
}, },
{ {
'img1':'img/2_en.png', 'img1':superCdn+'img/2_en.png',
'img2':'img/3_en.png', 'img2':superCdn+'img/3_en.png',
'img3':'img/7_en.png', 'img3':superCdn+'img/7_en.png',
'img4':'img/18_en.png', 'img4':superCdn+'img/18_en.png',
'img5':'img/history_en.png', 'img5':superCdn+'img/history_en.png',
'img6':'img/history_title_en.png', 'img6':superCdn+'img/history_title_en.png',
'img7':'img/ranking_en.png', 'img7':superCdn+'img/ranking_en.png',
'img8':'img/result_en.png', 'img8':superCdn+'img/result_en.png',
'img9':'img/rule_title_en.png', 'img9':superCdn+'img/rule_title_en.png',
'img10':'img/victory_en.png', 'img10':superCdn+'img/victory_en.png',
'img11':'img/xz_en.png', 'img11':superCdn+'img/xz_en.png',
'img12':'img/ranking_list_title_en.png', 'img12':superCdn+'img/ranking_list_title_en.png',
'img13':'img/rotarytable_en.png', 'img13':superCdn+'img/rotarytable_en.png',
'img14':'img/victory_bg_en.png?v=201910151540', 'img14':superCdn+'img/victory_bg_en.png?v=201910151540',
'super1':'X2', 'super1':'X2',
'super2':'X3', 'super2':'X3',
'super3':'X7', 'super3':'X7',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment