物流监控大屏

This commit is contained in:
2024-08-06 15:42:51 +08:00
commit fc1218448d
97 changed files with 24610 additions and 0 deletions

13
src/config/rem.js Normal file
View File

@@ -0,0 +1,13 @@
(function (doc, win) {
var docEl = doc.documentElement
var resizeEvt = 'orientationchange' in window ? 'orientationchange' : 'resize'
var recalc = function () {
var clientWidth = docEl.clientWidth
if (!clientWidth) return
docEl.style.fontSize = 100 * (clientWidth / 1920) + 'px'
document.body.style.display = 'block'
}
if (!doc.addEventListener) return win.addEventListener(resizeEvt, recalc, false)
doc.addEventListener('DOMContentLoaded', recalc, false)
})(document, window)
// 晟华大屏尺寸2560*1440屏幕太大用rem样式会错乱现在使用px、%