dashboard
repositories
filestore
activity
search
login
main
/
composite_h5-main
6.19阿A外汇交易所开发
summary
reflog
commits
tree
docs
forks
compare
blame
|
history
|
raw
1
lxf
2025-06-23
1e47b1681854ea564215482fb3b2d73934fa3edc
[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()
}