<el-popover
placement="right"
title=""
trigger="hover">
<el-image
fit="cover"
class="leftpic"
:src="
viewDataSouse.imgUrl
? viewDataSouse.imgUrl.split(',')[0]
: require('../../images/demoImg.png')
"
>
<div slot="placeholder" class="image-slot">
加载中<span class="dot">...</span>
</div>
</el-image>
<el-image
slot="reference"
fit="cover"
class="leftpic"
:src="
viewDataSouse.imgUrl
? viewDataSouse.imgUrl.split(',')[0]
: require('../../images/demoImg.png')
"
>
<div slot="placeholder" class="image-slot">
加载中<span class="dot">...</span>
</div>
</el-image>
</el-popover>
vue鼠标悬浮图片处理
于 2024-05-01 22:04:58 首次发布