刘海屏 刘海的高度计算 JS

何为刘海屏 计算刘海屏的大致思路 屏幕的可用高度:屏幕的可用宽度 = 16:9 刘海高度 = window.screen.availHeight - window.screen.availWidth * 16 / 9
相关文章
相关标签/搜索