zhongrj
2026-06-02 0299e41c6692684d943b4a206472a86ea84ea4b5
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
}