slam
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -7,6 +7,7 @@ yarn-error.log*
|
|||||||
/test/unit/coverage/
|
/test/unit/coverage/
|
||||||
/test/e2e/reports/
|
/test/e2e/reports/
|
||||||
selenium-debug.log
|
selenium-debug.log
|
||||||
|
/static/Magic*/
|
||||||
|
|
||||||
# Editor directories and files
|
# Editor directories and files
|
||||||
.idea
|
.idea
|
||||||
|
|||||||
@@ -31,6 +31,6 @@ For a detailed explanation on how things work, check out the [guide](http://vuej
|
|||||||
|
|
||||||
# 注意事项
|
# 注意事项
|
||||||
+ 屏幕分辨率为1920 * 1080
|
+ 屏幕分辨率为1920 * 1080
|
||||||
+ 打包需要在.gitignore文件中删除(不能注释) ‘/static/Magic4/’ 再打包,打包完再恢复
|
+ 打包需要在.gitignore文件中删除(不能注释) ‘/static/Magic*/’ 再打包,打包完再恢复
|
||||||
+ 线上服务地址:http://47.98.105.245:8018
|
+ 线上服务地址:http://47.98.105.245:8018
|
||||||
+ 地图包下载地址: https://gitee.com/liejiu946/hmih/invite_link?invite=db04249586f425a328d46e792af6cb0d6f27594c5737e167e511b1509403e86e97078c489f203e9a2fe8257fd1ad0bbe
|
+ 地图包下载地址: https://gitee.com/liejiu946/hmih/invite_link?invite=db04249586f425a328d46e792af6cb0d6f27594c5737e167e511b1509403e86e97078c489f203e9a2fe8257fd1ad0bbe
|
||||||
@@ -1,12 +1,10 @@
|
|||||||
/** 10.4寸屏,4:3的,1366*768 */
|
|
||||||
// apt设备尺寸分辨率1024*768 现在新设备2560*1440
|
|
||||||
(function (doc, win) {
|
(function (doc, win) {
|
||||||
var docEl = doc.documentElement
|
var docEl = doc.documentElement
|
||||||
var resizeEvt = 'orientationchange' in window ? 'orientationchange' : 'resize'
|
var resizeEvt = 'orientationchange' in window ? 'orientationchange' : 'resize'
|
||||||
var recalc = function () {
|
var recalc = function () {
|
||||||
var clientWidth = docEl.clientWidth
|
var clientWidth = docEl.clientWidth
|
||||||
if (!clientWidth) return
|
if (!clientWidth) return
|
||||||
docEl.style.fontSize = 100 * (clientWidth / 1366) + 'px'
|
docEl.style.fontSize = 100 * (clientWidth / 1920) + 'px'
|
||||||
}
|
}
|
||||||
if (!doc.addEventListener) return
|
if (!doc.addEventListener) return
|
||||||
win.addEventListener(resizeEvt, recalc, false)
|
win.addEventListener(resizeEvt, recalc, false)
|
||||||
|
|||||||
@@ -6,7 +6,7 @@
|
|||||||
<h2>恢复定位</h2>
|
<h2>恢复定位</h2>
|
||||||
</div>
|
</div>
|
||||||
<div class="page_container">
|
<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>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user