This commit is contained in:
liuxi 2025-02-20 18:24:01 +08:00
parent 4a81423634
commit 7731c8c404

View File

@ -8,11 +8,11 @@
<div slot="title">
<TitleBar title="预览"></TitleBar>
</div>
<div style="min-height:600px;text-align: center; " class="c-flex-center">
<div style="height: 800px; text-align: center; " class="c-flex-center">
<!-- svg -->
<svgViewer :src="previewUrl" v-if="isSvg"></svgViewer>
<!-- 其他图片 -->
<el-image :src="previewUrl" fit="scale-down" v-else></el-image>
<el-image :src="previewUrl" fit="scale-down" v-else style="height: 100%;width: 100%;"></el-image>
</div>
<span slot="footer" class="dialog-footer">