zhongrj
2026-06-01 e06044d2db5e57dade2aec6a2ac398129f61d0f2
1
2
3
4
5
6
export function fontSize (size) {
    let clientHeight = window.screen.availHeight
    if (!clientHeight) return
    let fontSize = size / 1080 * clientHeight
    return fontSize
}