修改样式

This commit is contained in:
浅念
2025-06-16 17:42:59 +08:00
parent 36f44e2716
commit cf78092197
2 changed files with 12 additions and 3 deletions
+1 -1
View File
@@ -54,7 +54,7 @@ body {
top: 115px; top: 115px;
left: 23%; left: 23%;
width: 54%; width: 54%;
min-width: 1050px; min-width: 850px;
background: url(../img/shiplistbg.png); background: url(../img/shiplistbg.png);
background-repeat: no-repeat; background-repeat: no-repeat;
background-size: 100% 100%; background-size: 100% 100%;
+11 -2
View File
@@ -225,9 +225,18 @@ function locationfn(lang,status){
}); });
$(".shipListdatas").html(shipListdatashtml) $(".shipListdatas").html(shipListdatashtml)
$(".navigatedatas").html(navigatedatashtml) $(".navigatedatas").html(navigatedatashtml)
if(navigatedatas.length>4||shipListdatas.length>4){ // console.log($('.centers').outerWidth())
$('.mores').show() // console.log($(window).width())
if($(window).width()<1650){
if(navigatedatas.length>3||shipListdatas.length>3){
$('.mores').show()
}
}else{
if(navigatedatas.length>4||shipListdatas.length>4){
$('.mores').show()
}
} }
} }
}); });
$.ajax({ $.ajax({