修改图片显示

dev
夜笙歌 1 year ago
parent 28cf30d594
commit 20d96e866d

@ -69,12 +69,11 @@
<div class="iconBg"></div>
<div
class="icon">
<el-image
v-if="i.deviceDataMap[Object.keys(i.deviceDataMap).find(e=> i.deviceDataMap[e].toString().includes('http'))]"
style="width: 100%; height: 100%"
:preview-src-list="[i.deviceDataMap[Object.keys(i.deviceDataMap).find(e=> i.deviceDataMap[e].toString().includes('http'))]]"
:src="i.deviceDataMap[Object.keys(i.deviceDataMap).find(e=> i.deviceDataMap[e].toString().includes('http'))]"
:preview-src-list="[i.deviceDataMap[Object.keys(i.deviceDataMap).find(e=> i.deviceDataMap[e].toString().includes('http'))]]">
style="width: 100%; height: 100%">
</el-image>
</div>
<div class="rightBg">
@ -87,6 +86,7 @@
<div class="spanBg"></div>
<div class="num">{{ i.deviceDataMap[val] }}</div>
</div>
</div>
<div class="btn">
<div class="btnC" style="top: 50%">

Loading…
Cancel
Save