Commit e1f61a14 by libai

测试

parent 4258b58a
......@@ -1011,7 +1011,7 @@ $(function(){
if(data.room.liveScope==3&&localStorage.uid!=sessionStorage.roomId){
TicketRoom(roomCId,roomRId)
}
if(data.room.newPayRegister){
else if(data.room.newPayRegister){
if(sessionStorage.newLogin==1&&localStorage.uid!=undefined){
sessionStorage.newLogin=0
newGift()
......
......@@ -830,10 +830,8 @@ $(function () {
});
}
}
else{
else if(data.room.newPayRegister){
$(".live-content-box-left-roombox").append("<img class='mc-out' src='"+langList[sessionStorage.lang].roomSrc4+"'>")
}
if(data.room.newPayRegister){
if(sessionStorage.newLogin==1&&localStorage.uid!=undefined){
sessionStorage.newLogin=0
newGift()
......@@ -886,6 +884,10 @@ $(function () {
},30000)
}
}
else{
$(".live-content-box-left-roombox").append("<img class='mc-out' src='"+langList[sessionStorage.lang].roomSrc4+"'>")
}
$(".hot-box >span").text(data.roomOtherInfo.popularNum)
$(".hot-box2 >span").text(data.roomOtherInfo.interacNum)
$(".rich-box >span").text(data.roomOtherInfo.charm)
......@@ -3297,30 +3299,30 @@ $(function () {
}
//充值完成通知
if (obj.cid == 8000){
// if(newGiftOk==false)return;
// newGiftOk=false;
// layer.closeAll()
// setTimeout(function() {
// layer.open({
// type: 1,
// title: false,
// shadeClose: false,
// skin: "yourclass5",
// area: ["328px","243px"],
// content: $(".layer-gift-box"),
// end: function () {
// $(".layui-layer-shade").hide()
// layer.closeAll()
// }
// })
// }, 500);
if(newGiftOk==false)return;
newGiftOk=false;
layer.closeAll()
setTimeout(function() {
layer.open({
type: 1,
title: false,
shadeClose: false,
skin: "yourclass5",
area: ["328px","243px"],
content: $(".layer-gift-box"),
end: function () {
$(".layui-layer-shade").hide()
layer.closeAll()
}
})
}, 500);
// $(".layer-gift-btn1").unbind("click").on("click",function(){
// layer.closeAll()
// })
// $(".layer-gift-btn2").unbind("click").on("click",function(){
// newGiftSend()
// })
$(".layer-gift-btn1").unbind("click").on("click",function(){
layer.closeAll()
})
$(".layer-gift-btn2").unbind("click").on("click",function(){
newGiftSend()
})
}
//刷獎送禮
if(obj.cid == 5300){
......
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