复制element中的气泡弹框卡片Popover
注解:
trigger弹出框触发方式
placement弹出框出现位置
reference触发弹出框显示的 HTML 元素
<template #default="scope">
<el-popover effect="light" trigger="hover" placement="right" width="auto">
<template #default>
<img :src='scope.row.img' style="width: 200px;">
</template>
<template #reference>
<img :src='scope.row.img' style="width: 60px;" />
</template>
</el-popover>
</template>
效果图如下:
