|
|
@ -2,14 +2,14 @@ |
|
|
|
<BorderRadiusImage class="RoadStateCard" borderRadius="2px" |
|
|
|
borderColor="linear-gradient(360deg, rgba(55, 231, 255, 0.3), rgba(55, 231, 255, 0))" borderWidth="2px"> |
|
|
|
<div class="left" v-if="isShowLeft"> |
|
|
|
<ElImage style="width: 212px; height: 159px" v-if="cardData.pictures && cardData.pictures.length>0" class="imgPicture" |
|
|
|
<ElImage style="width: 212px; height: 159px" v-if="cardData.pictures && cardData.pictures.length>0" class="imgPicture" |
|
|
|
:src="cardData.pictures[0]" |
|
|
|
:preview-src-list="cardData.pictures || []"> |
|
|
|
<div slot="error"> |
|
|
|
<i class="el-icon-picture-outline icon"></i> |
|
|
|
</div> |
|
|
|
</ElImage> |
|
|
|
<div style="width: 212px; height: 159px;" v-else class="imgPicture" |
|
|
|
<div style="width: 212px; height: 159px;" v-else class="imgPicture" |
|
|
|
:preview-src-list="cardData.pictures || []"> |
|
|
|
<img :src=getDeviceSource(cardData) style="width: auto; height: 80px"> |
|
|
|
</div> |
|
|
@ -124,6 +124,8 @@ export default { |
|
|
|
return require(`@screen/images/device/扫码报警B.png`) |
|
|
|
} else if(warningSource ===7){ |
|
|
|
return require(`@screen/images/device/气象监测器B.png`) |
|
|
|
} else if(warningSource ===8){ |
|
|
|
return require(`@screen/images/device/边坡.png`) |
|
|
|
} else { |
|
|
|
return require(`@screen/images/device/view.png`) |
|
|
|
} |
|
|
|