重新修改到原来的样式
This commit is contained in:
parent
d5df1639ab
commit
1392ed2044
@ -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 @@
|
||||
<path
|
||||
:d="getCurvePath(item)"
|
||||
: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"
|
||||
fill="none"
|
||||
:marker-start="item.direction === 2 ? 'url(#backward-arrow)' : ''"
|
||||
:marker-end="
|
||||
@ -87,7 +87,7 @@
|
||||
width: legendObj.carShow ? carWidth / nowObject.showYamlJson.resolution / 100 * radio + 'px' : '0',
|
||||
height: legendObj.carShow ? carHeight / nowObject.showYamlJson.resolution / 100 * radio + 'px' : '0',
|
||||
transform: 'rotate(' + radianToDegree(item.data.pose2d.yaw) + 'deg)',
|
||||
transition: 'all 0.4s linear 0s',
|
||||
transition: 'all 0.2s linear',
|
||||
zIndex: 9999
|
||||
}"
|
||||
>
|
||||
@ -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'
|
||||
}"
|
||||
>
|
||||
<div>
|
||||
@ -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'
|
||||
}"
|
||||
>
|
||||
<div>
|
||||
@ -288,8 +288,8 @@
|
||||
>
|
||||
<div
|
||||
:style="{
|
||||
width: item.locationWide / nowObject.showYamlJson.resolution / 100 * radio + 'px',
|
||||
height: item.locationDeep / nowObject.showYamlJson.resolution / 100 * radio + 'px',
|
||||
width: 10 * radio + 'px',
|
||||
height: 10 * radio + 'px',
|
||||
background: '#000',
|
||||
borderRadius: '50%'
|
||||
}"
|
||||
|
Loading…
Reference in New Issue
Block a user