<script>
         var width=document.documentElement.clientWidth;
         var height=document.documentElement.clientHeight;
         console.log(width)
         console.log(height)
         var sacle=width/1920>height/1080?height/1080:width/1920;
         document.getElementsByTagName('body')[0].style.zoom=sacle;
</script>

相关文章:

  • 2022-12-23
  • 2021-09-07
  • 2021-09-17
  • 2021-04-08
  • 2022-12-23
  • 2021-12-20
猜你喜欢
  • 2022-02-12
  • 2022-12-23
  • 2022-12-23
  • 2021-08-18
  • 2022-12-23
  • 2022-01-29
  • 2021-11-28
相关资源
相似解决方案