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