修改大小
This commit is contained in:
parent
24d854e0ee
commit
a5476540ae
@ -42,7 +42,7 @@
|
|||||||
:x2="Number(item.endPointX) * radio"
|
:x2="Number(item.endPointX) * radio"
|
||||||
:y2="Number(item.endPointY) * radio"
|
:y2="Number(item.endPointY) * radio"
|
||||||
:stroke="item.isSelect ? '#f48924' : '#00329F'"
|
:stroke="item.isSelect ? '#f48924' : '#00329F'"
|
||||||
:stroke-width="5 * radio"
|
:stroke-width="5 / nowObject.showYamlJson.resolution / 100* radio"
|
||||||
:marker-start="item.direction === 2 ? 'url(#double-arrow-start)' : ''"
|
:marker-start="item.direction === 2 ? 'url(#double-arrow-start)' : ''"
|
||||||
marker-end="url(#single-arrow)"
|
marker-end="url(#single-arrow)"
|
||||||
@click="handleChooseRoute(item, index)"
|
@click="handleChooseRoute(item, index)"
|
||||||
@ -51,7 +51,7 @@
|
|||||||
:d="getLineMidArrowPath(item)"
|
:d="getLineMidArrowPath(item)"
|
||||||
stroke="none"
|
stroke="none"
|
||||||
fill="black"
|
fill="black"
|
||||||
stroke-width="4"
|
:stroke-width="4 / nowObject.showYamlJson.resolution / 100 * radio"
|
||||||
:marker-start="item.direction === 2 ? 'url(#backward-arrow)' : ''"
|
:marker-start="item.direction === 2 ? 'url(#backward-arrow)' : ''"
|
||||||
:marker-end="
|
:marker-end="
|
||||||
item.direction === 2 ? 'url(#forward-arrow)' : 'url(#forward-arrow)'
|
item.direction === 2 ? 'url(#forward-arrow)' : 'url(#forward-arrow)'
|
||||||
@ -62,7 +62,7 @@
|
|||||||
<path
|
<path
|
||||||
:d="getCurvePath(item)"
|
:d="getCurvePath(item)"
|
||||||
:stroke="item.isSelect ? '#f48924' : '#00329F'"
|
:stroke="item.isSelect ? '#f48924' : '#00329F'"
|
||||||
:stroke-width="5 * radio"
|
:stroke-width="5 / nowObject.showYamlJson.resolution / 100 * radio"
|
||||||
fill="none"
|
fill="none"
|
||||||
:marker-start="item.direction === 2 ? 'url(#backward-arrow)' : ''"
|
:marker-start="item.direction === 2 ? 'url(#backward-arrow)' : ''"
|
||||||
:marker-end="
|
:marker-end="
|
||||||
@ -288,8 +288,8 @@
|
|||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
:style="{
|
:style="{
|
||||||
width: 10 * radio + 'px',
|
width: 40 / nowObject.showYamlJson.resolution / 100 * radio + 'px',
|
||||||
height: 10 * radio + 'px',
|
height: 40 / nowObject.showYamlJson.resolution / 100 * radio + 'px',
|
||||||
background: '#000',
|
background: '#000',
|
||||||
borderRadius: '50%'
|
borderRadius: '50%'
|
||||||
}"
|
}"
|
||||||
|
Loading…
Reference in New Issue
Block a user