slam
This commit is contained in:
@@ -1,12 +1,10 @@
|
||||
/** 10.4寸屏,4:3的,1366*768 */
|
||||
// apt设备尺寸分辨率1024*768 现在新设备2560*1440
|
||||
(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 / 1366) + 'px'
|
||||
docEl.style.fontSize = 100 * (clientWidth / 1920) + 'px'
|
||||
}
|
||||
if (!doc.addEventListener) return
|
||||
win.addEventListener(resizeEvt, recalc, false)
|
||||
|
||||
@@ -6,7 +6,7 @@
|
||||
<h2>恢复定位</h2>
|
||||
</div>
|
||||
<div class="page_container">
|
||||
<iframe class="iframe" src="./static/Magic4/HMI_Slam.html" frameborder="0"></iframe>
|
||||
<iframe class="iframe" src="./static/Magic20241213/HMI_JavaApp_Slam.html" frameborder="0"></iframe>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user