dashboard
repositories
filestore
activity
search
login
Stockzhjys
/
wap-vue
Stock综合交易所
summary
reflog
commits
tree
docs
forks
compare
blame
|
history
|
raw
first commit
dcc
2024-06-13
24e2c4a6983d3ed1c67080b460f7e28f5e2e55f9
[Stockzhjys/wap-vue.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()
}