master
parent
2d04076f19
commit
ee9bc4ec21
|
@ -255,6 +255,7 @@ body{
|
||||||
color: #FFFFFF;
|
color: #FFFFFF;
|
||||||
margin: -78px auto 0;
|
margin: -78px auto 0;
|
||||||
display: none;
|
display: none;
|
||||||
|
min-width: 100px;
|
||||||
}
|
}
|
||||||
.speak.speak-pink::after{
|
.speak.speak-pink::after{
|
||||||
background: url(../image/icon_03.png) no-repeat;
|
background: url(../image/icon_03.png) no-repeat;
|
||||||
|
|
|
@ -216,6 +216,8 @@ function dancerRandom(){
|
||||||
if(haveDan){
|
if(haveDan){
|
||||||
$(`.leading-dancer`).removeClass(item);
|
$(`.leading-dancer`).removeClass(item);
|
||||||
$(`.leading-dancer`).addClass(actionArr[Math.floor(Math.random()*actionArr.length)]);
|
$(`.leading-dancer`).addClass(actionArr[Math.floor(Math.random()*actionArr.length)]);
|
||||||
|
} else {
|
||||||
|
$(`.leading-dancer`).addClass(actionArr[Math.floor(Math.random()*actionArr.length)]);
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
},4000)
|
},4000)
|
||||||
|
|
|
@ -6,14 +6,14 @@ var musicList = []
|
||||||
let leaderTime = 15*60
|
let leaderTime = 15*60
|
||||||
|
|
||||||
// 事件列表-中文
|
// 事件列表-中文
|
||||||
let eventTextList = ['切歌', '跳跃', '向左', '向右', '左抖腿', '右抖腿', '抖动', '一起喊', '镜头']
|
let eventTextList = ['切歌', '跳', '向左', '向右', '左抖腿', '右抖腿', '抖动', '一起喊', '镜头']
|
||||||
let allEventList = ['切歌', '一起跳跃', '一起向左', '一起向右', '一起左抖腿', '一起右抖腿', '一起抖动', '一起喊', '镜头']
|
let allEventList = ['切歌', '一起跳', '一起向左', '一起向右', '一起左抖腿', '一起右抖腿', '一起抖动', '一起喊', '镜头']
|
||||||
let list = ['scale-left', 'scale-right', 'scale-bottom-left', 'scale-bottom-right']
|
let list = ['scale-left', 'scale-right', 'scale-bottom-left', 'scale-bottom-right']
|
||||||
// 根据事件文字 获取事件名
|
// 根据事件文字 获取事件名
|
||||||
function getEvent(name) {
|
function getEvent(name) {
|
||||||
let map = {
|
let map = {
|
||||||
'切歌' : 'change_song',
|
'切歌' : 'change_song',
|
||||||
'跳跃' : 'dancing-down',
|
'跳' : 'dancing-down',
|
||||||
'向左' : 'dancing-left',
|
'向左' : 'dancing-left',
|
||||||
'向右' : 'dancing-right',
|
'向右' : 'dancing-right',
|
||||||
'左抖腿' : 'dancing-wobble',
|
'左抖腿' : 'dancing-wobble',
|
||||||
|
|
Loading…
Reference in New Issue