diff --git a/.gitignore b/.gitignore
index d99ff4a..4ceda2c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,7 +1,7 @@
.DS_Store
node_modules
/dist
-
+*.zip
# local env files
.env.local
diff --git a/public/static/qm/MainMap_QM.js b/public/static/qm/MainMap_QM.js
index ce28597..12a08d7 100644
--- a/public/static/qm/MainMap_QM.js
+++ b/public/static/qm/MainMap_QM.js
@@ -71,7 +71,7 @@ QMUtil = function () {
//debug 参数 相机坐标/ 镜头方向
this.guiOptions = { cameraX: 0, cameraY: 220, cameraZ: 220, targatX: 0, targatY: 0, targatZ: 0 }; //this.button = function() {};
- this.sceneGap = { x: 0, y: 20, z: 0, scale: dir ? 0.15 : 0.09 }; //改变地图位置,大小
+ this.sceneGap = { x: 0, y: 20, z: 0, scale: dir ? 0.15 : 0.075 }; //改变地图位置,大小
this.selectBuild = 0;
this.selectFloor = 0;
diff --git a/src/assets/images/guide/search.svg b/src/assets/images/guide/search.svg
index d43b403..dcb91fb 100644
--- a/src/assets/images/guide/search.svg
+++ b/src/assets/images/guide/search.svg
@@ -3,7 +3,7 @@
+
{{ currentTime }}
diff --git a/src/components/Map/Map.vue b/src/components/Map/Map.vue index e3f3eca..35f2d39 100644 --- a/src/components/Map/Map.vue +++ b/src/components/Map/Map.vue @@ -43,12 +43,10 @@ function handleDetail() { emits('handle-Detail') } watch(shop, () => { - const timeId = setTimeout(() => { - clearTimeout(timeId) - nextTick(() => { - nameWidth.value = nameRef.value.clientWidth - }) - }, 400) + nameWidth.value = 0 + nextTick(() => { + nameWidth.value = nameRef.value.clientWidth + }) }) @@ -89,7 +87,7 @@ watch(shop, () => { display: inline-block; } - @include no-wrap; + // @include no-wrap; } .go-button { width: 125px; diff --git a/src/components/PublicComponent/PublicComponent.vue b/src/components/PublicComponent/PublicComponent.vue index e0b643d..302dae1 100644 --- a/src/components/PublicComponent/PublicComponent.vue +++ b/src/components/PublicComponent/PublicComponent.vue @@ -59,9 +59,10 @@ onMounted(() => { window.addEventListener('touchend', checkHandleScreen) window.leaveScreenSave = () => { - checkHandleScreen(new TouchEvent('touchstart')) + checkHandleScreen(new TouchEvent('touchend')) console.log('Android调用成功 :>>>>>>>>> ') } + checkHandleScreen(new TouchEvent('touchend')) }) onBeforeUnmount(() => { window.removeEventListener('touchend', checkHandleScreen) diff --git a/src/views/Guide/Guide.vue b/src/views/Guide/Guide.vue index 445b467..a08063f 100644 --- a/src/views/Guide/Guide.vue +++ b/src/views/Guide/Guide.vue @@ -117,7 +117,7 @@ function onClickMapIcon(event: any) { if (event.data) { const floorName = store.currentBuildingFloorsList.find(_floor => _floor.floorOrder === event.data.floorOrder)?.floor const shop = new Brand({ - shopName: event.data.title + '电梯', + shopName: event.data.facCode === 'dt' ? event.data.title + '电梯' : event.data.title, floorOrder: event.data.floorOrder, floor: floorName ?? '', logoUrl: event.data.src, diff --git a/src/views/Index/Middle.vue b/src/views/Index/Middle.vue index d69822a..861b067 100644 --- a/src/views/Index/Middle.vue +++ b/src/views/Index/Middle.vue @@ -6,7 +6,10 @@