shuishen
2023-04-01 23d464d4e6469a3628572026d5fda7fc56946b4e
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
}