具体的代码
<!-- 商品表格 -->
<el-table :data="listData" border stripe style="width: 100%">
<el-table-column fixed="left" type="index" label="序号" width="60" />
</el-table-column>
<el-table-column label="图片" align="center" prop="picture">
<template slot-scope="scope">
<el-popover placement="right" trigger="hover">
<el-image :src="scope.row.main_picture" fit="cover" style="max-width:300px;max-height:300px"></el-image>
<img slot="reference" :src="scope.row.main_picture" style="max-width:50px;max-height:50px">
</el-popover>
</template>
</el-table-column>
</el-table>
<!-- 商品表格 -->