Commit b3ad9ba6 by libai

测试

parent bc88bced
Showing with 26 additions and 25 deletions
......@@ -2796,6 +2796,32 @@ $(function(){
}
}
}
//充值完成通知
if (obj.cid == 8000){
layer.msg("收到了")
if(newGiftOk==false)return;
newGiftOk=false;
layer.closeAll()
layer.open({
type: 1,
title: false,
shadeClose: false,
skin: "yourclass5",
area: ["7.47rem","5.35rem"],
content: $(".layer-gift-box"),
end: function () {
$(".layui-layer-shade").hide()
layer.closeAll()
}
})
$(".layer-gift-btn1").unbind("click").on("click",function(){
layer.closeAll()
})
$(".layer-gift-btn2").unbind("click").on("click",function(){
newGiftSend()
})
}
//系統消息
if(JSON.parse(obj.content).content.roomid!=sessionStorage.roomId){
return;
......@@ -3037,31 +3063,6 @@ $(function(){
if (obj.cid == 2400){
window.location.reload()
}
//充值完成通知
if (obj.cid == 8000){
layer.msg("收到了")
if(newGiftOk==false)return;
newGiftOk=false;
layer.closeAll()
layer.open({
type: 1,
title: false,
shadeClose: false,
skin: "yourclass5",
area: ["7.47rem","5.35rem"],
content: $(".layer-gift-box"),
end: function () {
$(".layui-layer-shade").hide()
layer.closeAll()
}
})
$(".layer-gift-btn1").unbind("click").on("click",function(){
layer.closeAll()
})
$(".layer-gift-btn2").unbind("click").on("click",function(){
newGiftSend()
})
}
var ua = window.navigator.userAgent.toLowerCase();
if (/iphone|ipad|ipod/.test(ua)) {
if(myMsg){
......
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