From 6a2876551a48aed05e2955da55e244108993b366 Mon Sep 17 00:00:00 2001
From: hanbaoshan <hanbaoshan@aiotlink.com>
Date: 星期二, 29 十二月 2020 11:18:44 +0800
Subject: [PATCH] 标注页实景坐标回显bug修复
---
src/pages/panoramicView/components/LabelMark.vue | 10 ++++++++--
1 files changed, 8 insertions(+), 2 deletions(-)
diff --git a/src/pages/panoramicView/components/LabelMark.vue b/src/pages/panoramicView/components/LabelMark.vue
index 9b999f5..ee06cef 100644
--- a/src/pages/panoramicView/components/LabelMark.vue
+++ b/src/pages/panoramicView/components/LabelMark.vue
@@ -116,7 +116,8 @@
class="img-wrap"
v-if="panoramaPath"
:style="{width:fixedW+'px',height:fixedH+'px'}"
- >
+ >
+ <div class="img-area" :style="{width:imgW+'px',height:imgH+'px'}">
<img
v-if="panoramaPath"
:style="{width:imgW+'px',height:imgH+'px'}"
@@ -136,6 +137,9 @@
<b>{{item.x}},</b> <b>{{item.y}}</b>
</span>
</div>
+ </div>
+
+
</div>
<div class="pos" v-show="isShowCurPos">
褰撳墠浣嶇疆:
@@ -682,7 +686,9 @@
display: flex;
padding-bottom: 30px;
.img-wrap {
- position: relative;
+ .img-area{
+ position: relative;
+ }
.label {
position: absolute;
border-radius: 50%;
--
Gitblit v1.8.0