init
This commit is contained in:
@@ -60,7 +60,9 @@
|
||||
<el-table-column label="业务操作" align="center" prop="cateAdminName" />
|
||||
<el-table-column label="说明" align="center" prop="cateAdminName" min-width="200">
|
||||
<template v-slot="scope">
|
||||
<span>{{scope.row.showMessage}}</span><image-preview v-if="scope.row.tarImg" :src="scope.row.tarImg" :width="30" :height="30"/>
|
||||
<div class="context-avatar-center">
|
||||
<span>{{scope.row.showMessage}}</span><image-preview v-if="scope.row.tarImg" :src="scope.row.tarImg" :width="32" :height="32"/>
|
||||
</div>
|
||||
</template>
|
||||
</el-table-column>
|
||||
<el-table-column label="变动" align="center" prop="changeValue" />
|
||||
@@ -225,3 +227,11 @@ export default {
|
||||
}
|
||||
};
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.context-avatar-center {
|
||||
display: flex;
|
||||
align-items: center; /* 垂直居中 */
|
||||
justify-content: center; /* 水平居中 */
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user