<el-table-column prop="img" label="封面" header-align="center" align="center"> <template slot-scope="scope"> <el-popover placement="top-start" title="" trigger="hover"> <img :src="scope.row.img" alt="" style="width: 150px;height: 150px"> <img slot="reference" :src="scope.row.img" style="width: 30px;height: 30px"> </el-popover> </template> </el-table-column>
Element-UI表格内实现图片点击放大效果
最新推荐文章于 2024-04-11 17:21:44 发布