dashboard
repositories
filestore
activity
search
login
main
/
composite_h5-main
6.19阿A外汇交易所开发
summary
reflog
commits
tree
docs
forks
compare
blame
|
history
|
raw
翻译
lxf
2025-07-15
d8b6cbc8e3bcea3f83f2b056122fa803a299c4f3
[composite_h5-main.git]
/
src
/
assets
/
remNew.js
1
2
3
4
5
6
7
8
9
const baseSize = 16
function setRem() {
const scale = document.documentElement.clientWidth / 828
document.documentElement.style.fontSize = baseSize * scale + 'px'
}
setRem()
window.onresize = function () {
setRem()
}