Commit e1f61a14 by libai

测试

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