From b92fdd535cf66641422ba84fe2d86952f0318248 Mon Sep 17 00:00:00 2001 From: hanbaoshan <hanbaoshan@aiotlink.com> Date: 星期四, 24 十二月 2020 16:28:53 +0800 Subject: [PATCH] 实景图等比缩放适应在固定宽高内 --- src/pages/panoramicView/index/App.vue | 7 +++---- 1 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/pages/panoramicView/index/App.vue b/src/pages/panoramicView/index/App.vue index 90550f6..4eb1654 100644 --- a/src/pages/panoramicView/index/App.vue +++ b/src/pages/panoramicView/index/App.vue @@ -21,7 +21,7 @@ <label-mark></label-mark> </template> <template v-if="actMenuIndex=='2'"> - <trace-plot></trace-plot> + <trace-plot ref="tracePlot"></trace-plot> </template> <template v-if="actMenuIndex=='3'"> <relate-camera></relate-camera> @@ -62,13 +62,12 @@ display: flex; align-items: center; .icon{ - width: 100px; - + width: 50px; } .title{ text-decoration: none; margin-left: 10px; - font-size: 18px; + font-size: 17px; color: #fff; letter-spacing: 2px; } -- Gitblit v1.8.0