diff --git a/public/static/qm/MainMap_QM.js b/public/static/qm/MainMap_QM.js index c25a3eb..c2dfc40 100644 --- a/public/static/qm/MainMap_QM.js +++ b/public/static/qm/MainMap_QM.js @@ -5893,7 +5893,7 @@ FindPath_QM.prototype.drawPath = function (floorOrder) { } } //this.lineDashed.name = 'lineDash' - this.lineDashed_old = new PathLine(12, linePath, parseInt(Map_QM.util.buildHeight) + 1, 'rgb(169,181,211)', 'rgb(189, 192, 203)', true) + this.lineDashed_old = new PathLine(12, linePath, parseInt(Map_QM.util.buildHeight) + 1, 'rgb(110, 149, 254)', 'rgb(110,125,254)', true) this.lineDashed_old.renderOrder = 128 Map_QM.mapArr[Map_QM.util.selectBuild][floorOrder].allObj.add(this.lineDashed_old) @@ -6012,7 +6012,7 @@ FindPath_QM.prototype.playMoveGuide = function () { Map_QM.guide.position.x = px; Map_QM.guide.position.y = py; Map_QM.moveCameraBy2D({ x: px, y: -1 * py }); - _selfFindPath.updateDrawPath() //实时绘制有效路径 await 修是 promise + //_selfFindPath.updateDrawPath() //实时绘制有效路径 await 修是 promise } if (_selfFindPath.pathPlay.isPlay && Map_QM.guide) { @@ -6038,3 +6038,4 @@ FindPath_QM.prototype.playMoveGuide = function () { } + diff --git a/src/assets/images/arround/arrow.svg b/src/assets/images/arround/arrow.svg new file mode 100644 index 0000000..c3abf45 --- /dev/null +++ b/src/assets/images/arround/arrow.svg @@ -0,0 +1,44 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/src/components/GuideFloors/GuideFloors.vue b/src/components/GuideFloors/GuideFloors.vue index 749bf71..a49c250 100644 --- a/src/components/GuideFloors/GuideFloors.vue +++ b/src/components/GuideFloors/GuideFloors.vue @@ -95,7 +95,7 @@ defineExpose({ diff --git a/src/views/Guide/Guide.vue b/src/views/Guide/Guide.vue index 5ffe795..e498417 100644 --- a/src/views/Guide/Guide.vue +++ b/src/views/Guide/Guide.vue @@ -31,12 +31,29 @@ -
-
- -

+ +
+
+ +

+
-
+ +
() import Brand from '@/utils/Class/Brand' @@ -187,6 +205,11 @@ onMounted(() => { floorMapCode: '' }) } + nextTick(() => { + if (facScroll.value) { + facScroll.value.scrollToElement('.fac-last', 30) + } + }) }) onBeforeUnmount(() => { window.Map_QM.removeEventListener('icon', onClickMapIcon) @@ -253,14 +276,20 @@ watch(mapStatus, newValue => { } } } - .fac-list { + .fac-scroll { position: absolute; top: 881px; - left: 590px; + right: 564px; z-index: 1; + overflow: hidden; + width: 1170px; + } + .fac-list { display: flex; - justify-content: flex-start; + justify-content: flex-end; + width: fit-content; .fac-item { + flex-shrink: 0; width: 44px; margin-right: 16px; font-size: 10px; @@ -282,7 +311,7 @@ watch(mapStatus, newValue => { .map-btns-list { position: absolute; top: 881px; - left: 421px; + left: 38px; z-index: 2; display: flex; .map-btn {