commit
This commit is contained in:
@@ -51,6 +51,7 @@
|
||||
@click.stop="$commonUtil.previewFile(file)"
|
||||
@load="officeLoading = false"
|
||||
@error="officeLoading = false"
|
||||
class="file-preview-image"
|
||||
></el-image>
|
||||
<div v-else style="height: 100%">
|
||||
<iframe v-if="['doc', 'docx', 'xls', 'xlsx'].includes(file?.suffix)"
|
||||
@@ -249,6 +250,11 @@ module.exports = {
|
||||
margin: 0 10px 10px;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
.preview-main-content .file-preview-image {
|
||||
margin: 0 auto;
|
||||
max-width: 550px;
|
||||
display: block;
|
||||
}
|
||||
.preview-footer {
|
||||
line-height: 60px;
|
||||
padding: 0 10px;
|
||||
|
||||
Reference in New Issue
Block a user