Commit 2b77dcb1 by libai

测试

parent cbff1dec
......@@ -514,7 +514,6 @@ $(function(){
newList+="]"
newList=JSON.parse(newList)
hotList=newList
console.log(newList)
var html=[];
if(type==1){
if($("body").width().toString().split("p")[0]>1440&&$("body").width().toString().split("p")[0]<2400) listNum=10
......
......@@ -419,6 +419,7 @@ $(function(){
}
})
$(".bottom-nav").css("height","1.8rem")
}
if(sessionStorage.pmt!=undefined&&sessionStorage.pmt!='undefined'){
......
......@@ -1797,3 +1797,15 @@
margin-top: -1rem;
z-index: 500;
}
.sound-tips {
width: 3.26rem;
height: 2.02rem;
background: url(../images/sound-tips.png) no-repeat;
background-size: 100% 100%;
position: absolute;
z-index: 1000;
bottom: 1rem;
left: 5.5rem;
pointer-events: none;
display: none;
}
......@@ -1852,3 +1852,15 @@
margin-top: -1rem;
z-index: 500;
}
.sound-tips{
width: 3.26rem;
height: 2.02rem;
background: url(../images/sound-tips.png) no-repeat;
background-size: 100% 100%;
position: absolute;
z-index: 1000;
bottom: 1rem;
left: 5.5rem;
pointer-events: none;
display: none;
}
\ No newline at end of file
......@@ -73,6 +73,7 @@
</style>
</head>
<body style="background: rgb(153, 156, 166);overflow: hidden;font-size: 12px;">
<div class="sound-tips"></div>
<div class="layer-ios">
<div class="layer-ios-close"></div>
</div>
......@@ -684,10 +685,11 @@ $(function(){
}else{
// html+='<video muted id="myVideo" autoplay webkit-playsinline="true" x-webkit-airplay="true" playsinline="true" x5-video-player-type="h5" x5-video-player-fullscreen="true" style="object-fit:cover;z-index: 10" poster="" src="'+data.pullFlowUrlHLS+'"></video>'
html+='<video muted id="myVideo" autoplay webkit-playsinline="true" x-webkit-airplay="true" playsinline="true" x5-video-player-type="h5" x5-video-player-fullscreen="true" style="object-fit:cover;z-index: 10" poster="" src=""></video>'
if(backGo==0)$(".sound-tips").show()
}
}else{
html+='<video muted id="myVideo" webkit-playsinline="true" x-webkit-airplay="true" playsinline="true" x5-video-player-type="h5" x5-video-player-fullscreen="true" style="object-fit:cover;z-index: 10" poster="" src="'+data.pullFlowUrlHLS+'"></video>'
if(backGo==0)$(".sound-tips").show()
}
var iosT=null;
$(".video-box").html(html)
......@@ -746,6 +748,7 @@ $(function(){
}, loadOutNum);
$(".sound-btn").unbind("click").on("click",function(){
$(".sound-tips").hide()
var _self=$(this)
if(_self.attr("data-type")==1){
_self.attr("data-type","0")
......@@ -763,6 +766,7 @@ $(function(){
$("body").on("click",function(){
if(soundOk==true)return;
soundOk=true
$(".sound-tips").hide()
$(".sound-btn").attr("data-type","1")
$(".sound-btn").attr("src","images/sound-yes.png")
$(".gift-btn").attr("src","images/gift-btn.png")
......@@ -1353,7 +1357,7 @@ $(function(){
}
if(data.code!=1){
$(".rich-list-top-text1 span").html('<span><img src="images/fire.png">--</span>')
$(".rich-list-top-text2 span").span('--')
$(".rich-list-top-text2 span").html('--')
return;
}
$(".rich-list-top-text1 span").html('<span><img src="images/fire.png">'+data.myscore+'</span>')
......@@ -1943,8 +1947,10 @@ $(function(){
//主播數據變更
if (obj.cid == 4200){
var list=JSON.parse(obj.content)
$(".room-hot-box >span").text(list.content.bonds)
$(".hot-list-box >i").text(list.content.hotnum)
// $(".room-hot-box >span").text(list.content.bonds)
// $(".hot-list-box >i").text(list.content.hotnum)
$(".hot-list-box >i").text(list.content.popularNum)
$(".interac-list-box >i").text(list.content.interacNum)
// $(".hot-box >span").text(list.content.hotnum)
// $(".rich-box >span").text(list.content.bonds)
// $(".rich-box").append('<div class="rich-add-box richAddShow-go">+'+list.content.changebonds+'</div>')
......
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