Commit 11a4257e authored by xiami's avatar xiami

修改藏馆订单图片可放大

parent 681229e2
...@@ -226,7 +226,7 @@ export default { ...@@ -226,7 +226,7 @@ export default {
}).catch((e) => { }).catch((e) => {
console.log('===报错=', e) console.log('===报错=', e)
this.list = [] this.list = []
this.total = 0 this.total = 0
this.listLoading = false this.listLoading = false
}) })
} }
......
...@@ -62,7 +62,6 @@ ...@@ -62,7 +62,6 @@
height="60px"> height="60px">
</template> </template>
</el-table-column> </el-table-column>
<el-table-column align="center" label="藏品名称" min-width="150px" prop="itemName"> <el-table-column align="center" label="藏品名称" min-width="150px" prop="itemName">
<template slot-scope="scope"> <template slot-scope="scope">
<Line2Hidden :text="scope.row.itemName" /> <Line2Hidden :text="scope.row.itemName" />
......
...@@ -42,12 +42,30 @@ ...@@ -42,12 +42,30 @@
<span v-if="scope.row.receiverName" >{{ scope.row.receiverName + ',' + scope.row.receiverPhone + ',' + scope.row.receiverAddress }}</span> <span v-if="scope.row.receiverName" >{{ scope.row.receiverName + ',' + scope.row.receiverPhone + ',' + scope.row.receiverAddress }}</span>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column align="center" label="藏品图片" prop="homePageImage"> <el-table-column align="center" label="藏品图片" prop="homePageImage">
<template slot-scope="scope"> <template slot-scope="scope">
<img v-if="scope.row.homePageImage && scope.row.homePageImage.url" :src="scope.row.homePageImage.url" width="60px" height="60px"> <!-- <img v-if="scope.row.homePageImage && scope.row.homePageImage.url" :src="scope.row.homePageImage.url" width="60px" height="60px"> -->
<el-image
:preview-src-list="[scope.row.homePageImage.url]"
:src="scope.row.homePageImage.url"
class="table-td-thumb"
/>
</template> </template>
</el-table-column> </el-table-column>
<!-- <el-table-column align="center" label="申请方藏品图片" min-width="120px" prop="homePageImage">
<template slot-scope="scope">
<div v-if="scope.row.homePageImage && scope.row.homePageImage.length > 0" class="image_preview">
<el-image
:preview-src-list="[scope.row.homePageImage.url]"
:src="scope.row.homePageImage.url"
class="table-td-thumb"
/>
</div>
</template>
</el-table-column> -->
<el-table-column align="center" label="藏品名称" min-width="150px" prop="itemName"> <el-table-column align="center" label="藏品名称" min-width="150px" prop="itemName">
<template slot-scope="scope"> <template slot-scope="scope">
<Line2Hidden :text="scope.row.itemName" /> <Line2Hidden :text="scope.row.itemName" />
...@@ -237,4 +255,9 @@ export default { ...@@ -237,4 +255,9 @@ export default {
} }
} }
.table-td-thumb {
width: 60px;
height: 60px;
}
</style> </style>
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment