shuishen
2023-02-10 2b428bce856abe49c09e562456d92342e2b3e60c
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
}