diff --git a/src/views/mapPage/realTimeMap/components/indexPage.vue b/src/views/mapPage/realTimeMap/components/indexPage.vue index a4c87100..22de18a4 100644 --- a/src/views/mapPage/realTimeMap/components/indexPage.vue +++ b/src/views/mapPage/realTimeMap/components/indexPage.vue @@ -42,11 +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)" @@ -55,11 +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)' @@ -70,11 +62,7 @@ @@ -257,8 +245,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' }" >
@@ -278,8 +266,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' }" >
@@ -304,10 +292,8 @@ >