合并
This commit is contained in:
commit
b00c8884b6
@ -42,11 +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="
|
:stroke-width="5 * radio"
|
||||||
(5 / nowObject.showYamlJson.resolution / 100) * radio > 1.5
|
|
||||||
? (5 / nowObject.showYamlJson.resolution / 100) * radio
|
|
||||||
: 1.5
|
|
||||||
"
|
|
||||||
: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)"
|
||||||
@ -55,11 +51,7 @@
|
|||||||
:d="getLineMidArrowPath(item)"
|
:d="getLineMidArrowPath(item)"
|
||||||
stroke="none"
|
stroke="none"
|
||||||
fill="black"
|
fill="black"
|
||||||
:stroke-width="
|
stroke-width="4"
|
||||||
(5 / nowObject.showYamlJson.resolution / 100) * radio > 1.5
|
|
||||||
? (5 / nowObject.showYamlJson.resolution / 100) * radio
|
|
||||||
: 1.5
|
|
||||||
"
|
|
||||||
: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)'
|
||||||
@ -70,11 +62,7 @@
|
|||||||
<path
|
<path
|
||||||
:d="getCurvePath(item)"
|
:d="getCurvePath(item)"
|
||||||
:stroke="item.isSelect ? '#f48924' : '#00329F'"
|
:stroke="item.isSelect ? '#f48924' : '#00329F'"
|
||||||
:stroke-width="
|
:stroke-width="5 * radio"
|
||||||
(5 / nowObject.showYamlJson.resolution / 100) * radio > 1.5
|
|
||||||
? (5 / nowObject.showYamlJson.resolution / 100) * radio
|
|
||||||
: 1.5
|
|
||||||
"
|
|
||||||
fill="none"
|
fill="none"
|
||||||
:marker-start="item.direction === 2 ? 'url(#backward-arrow)' : ''"
|
:marker-start="item.direction === 2 ? 'url(#backward-arrow)' : ''"
|
||||||
:marker-end="
|
:marker-end="
|
||||||
@ -103,7 +91,7 @@
|
|||||||
? (carHeight / nowObject.showYamlJson.resolution / 100) * radio + 'px'
|
? (carHeight / nowObject.showYamlJson.resolution / 100) * radio + 'px'
|
||||||
: '0',
|
: '0',
|
||||||
transform: 'rotate(' + radianToDegree(item.data.pose2d.yaw) + 'deg)',
|
transform: 'rotate(' + radianToDegree(item.data.pose2d.yaw) + 'deg)',
|
||||||
transition: 'all 0.4s linear 0s',
|
transition: 'all 0.2s linear',
|
||||||
zIndex: 9999
|
zIndex: 9999
|
||||||
}"
|
}"
|
||||||
>
|
>
|
||||||
@ -257,8 +245,8 @@
|
|||||||
class="indexpage-container-box-point-item-inner"
|
class="indexpage-container-box-point-item-inner"
|
||||||
v-if="item.type == 5"
|
v-if="item.type == 5"
|
||||||
:style="{
|
:style="{
|
||||||
width: (item.locationWide / nowObject.showYamlJson.resolution / 100) * radio + 'px',
|
width: 150 * radio + 'px',
|
||||||
height: (item.locationDeep / nowObject.showYamlJson.resolution / 100) * radio + 'px'
|
height: 150 * radio + 'px'
|
||||||
}"
|
}"
|
||||||
>
|
>
|
||||||
<div>
|
<div>
|
||||||
@ -278,8 +266,8 @@
|
|||||||
class="indexpage-container-box-point-item-inner"
|
class="indexpage-container-box-point-item-inner"
|
||||||
v-if="item.type == 6"
|
v-if="item.type == 6"
|
||||||
:style="{
|
:style="{
|
||||||
width: (item.locationWide / nowObject.showYamlJson.resolution / 100) * radio + 'px',
|
width: 150 * radio + 'px',
|
||||||
height: (item.locationDeep / nowObject.showYamlJson.resolution / 100) * radio + 'px'
|
height: 150 * radio + 'px'
|
||||||
}"
|
}"
|
||||||
>
|
>
|
||||||
<div>
|
<div>
|
||||||
@ -304,10 +292,8 @@
|
|||||||
>
|
>
|
||||||
<div
|
<div
|
||||||
:style="{
|
:style="{
|
||||||
width:
|
width: 10 * radio + 'px',
|
||||||
(item.locationWide / nowObject.showYamlJson.resolution / 100) * radio + 'px',
|
height: 10 * radio + 'px',
|
||||||
height:
|
|
||||||
(item.locationDeep / nowObject.showYamlJson.resolution / 100) * radio + 'px',
|
|
||||||
background: '#000',
|
background: '#000',
|
||||||
borderRadius: '50%'
|
borderRadius: '50%'
|
||||||
}"
|
}"
|
||||||
|
Loading…
Reference in New Issue
Block a user