From 1392ed20449a53cc7031871175713290c97f6e7e Mon Sep 17 00:00:00 2001 From: xhf <1424913779@qq.com> Date: Thu, 6 Mar 2025 11:42:24 +0800 Subject: [PATCH] =?UTF-8?q?=E9=87=8D=E6=96=B0=E4=BF=AE=E6=94=B9=E5=88=B0?= =?UTF-8?q?=E5=8E=9F=E6=9D=A5=E7=9A=84=E6=A0=B7=E5=BC=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../realTimeMap/components/indexPage.vue | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/src/views/mapPage/realTimeMap/components/indexPage.vue b/src/views/mapPage/realTimeMap/components/indexPage.vue index ea6c6c90..17917b94 100644 --- a/src/views/mapPage/realTimeMap/components/indexPage.vue +++ b/src/views/mapPage/realTimeMap/components/indexPage.vue @@ -42,7 +42,7 @@ :x2="Number(item.endPointX) * radio" :y2="Number(item.endPointY) * radio" :stroke="item.isSelect ? '#f48924' : '#00329F'" - :stroke-width="(5 / nowObject.showYamlJson.resolution / 100 * radio)>1.5?(5 / nowObject.showYamlJson.resolution / 100 * radio):1.5" + :stroke-width="5 * radio" :marker-start="item.direction === 2 ? 'url(#double-arrow-start)' : ''" marker-end="url(#single-arrow)" @click="handleChooseRoute(item, index)" @@ -51,7 +51,7 @@ :d="getLineMidArrowPath(item)" stroke="none" fill="black" - :stroke-width="(5 / nowObject.showYamlJson.resolution / 100 * radio)>1.5?(5 / nowObject.showYamlJson.resolution / 100 * radio):1.5" + stroke-width="4" :marker-start="item.direction === 2 ? 'url(#backward-arrow)' : ''" :marker-end=" item.direction === 2 ? 'url(#forward-arrow)' : 'url(#forward-arrow)' @@ -62,7 +62,7 @@ @@ -241,8 +241,8 @@ class="indexpage-container-box-point-item-inner" v-if="item.type == 5" :style="{ - width: item.locationWide / nowObject.showYamlJson.resolution / 100 * radio + 'px', - height: item.locationDeep / nowObject.showYamlJson.resolution / 100 * radio + 'px' + width: 150 * radio + 'px', + height: 150 * radio + 'px' }" >
@@ -262,8 +262,8 @@ class="indexpage-container-box-point-item-inner" v-if="item.type == 6" :style="{ - width: item.locationWide / nowObject.showYamlJson.resolution / 100 * radio + 'px', - height: item.locationDeep / nowObject.showYamlJson.resolution / 100 * radio + 'px' + width: 150 * radio + 'px', + height: 150 * radio + 'px' }" >
@@ -288,8 +288,8 @@ >