Commit 2bfd85f0 authored by gaia's avatar gaia

Merge remote-tracking branch 'origin/feature/20240918_1005_091801' into release_pre_20241023175438

parents 5e8e2966 0dd09043
...@@ -43,11 +43,11 @@ ...@@ -43,11 +43,11 @@
</template> </template>
</el-table-column> </el-table-column>
<el-table-column align="center" label="藏品图片" prop="homePageImage"> <el-table-column align="center" label="藏品图片" prop="homePageImage" class="image_preview">
<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 <el-image
:preview-src-list="[scope.row.homePageImage.url]" :preview-src-list="[scope.row.homePageImage.url ]"
:src="scope.row.homePageImage.url" :src="scope.row.homePageImage.url"
class="table-td-thumb" class="table-td-thumb"
/> />
...@@ -351,5 +351,15 @@ export default { ...@@ -351,5 +351,15 @@ export default {
justify-content: space-between; justify-content: space-between;
} }
} }
.image_preview {
width: 60px;
height: 60px;
align-content: center;
justify-content: center;
}
.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