master
chen 2021-11-23 22:04:00 +08:00
parent 2d04076f19
commit ee9bc4ec21
3 changed files with 6 additions and 3 deletions

View File

@ -255,6 +255,7 @@ body{
color: #FFFFFF;
margin: -78px auto 0;
display: none;
min-width: 100px;
}
.speak.speak-pink::after{
background: url(../image/icon_03.png) no-repeat;

View File

@ -216,6 +216,8 @@ function dancerRandom(){
if(haveDan){
$(`.leading-dancer`).removeClass(item);
$(`.leading-dancer`).addClass(actionArr[Math.floor(Math.random()*actionArr.length)]);
} else {
$(`.leading-dancer`).addClass(actionArr[Math.floor(Math.random()*actionArr.length)]);
}
})
},4000)

View File

@ -6,14 +6,14 @@ var musicList = []
let leaderTime = 15*60
// 事件列表-中文
let eventTextList = ['切歌', '跳', '向左', '向右', '左抖腿', '右抖腿', '抖动', '一起喊', '镜头']
let allEventList = ['切歌', '一起跳', '一起向左', '一起向右', '一起左抖腿', '一起右抖腿', '一起抖动', '一起喊', '镜头']
let eventTextList = ['切歌', '跳', '向左', '向右', '左抖腿', '右抖腿', '抖动', '一起喊', '镜头']
let allEventList = ['切歌', '一起跳', '一起向左', '一起向右', '一起左抖腿', '一起右抖腿', '一起抖动', '一起喊', '镜头']
let list = ['scale-left', 'scale-right', 'scale-bottom-left', 'scale-bottom-right']
// 根据事件文字 获取事件名
function getEvent(name) {
let map = {
'切歌' : 'change_song',
'跳' : 'dancing-down',
'跳' : 'dancing-down',
'向左' : 'dancing-left',
'向右' : 'dancing-right',
'左抖腿' : 'dancing-wobble',