fix : 优化首页样式

This commit is contained in:
2024-10-09 19:54:27 +08:00
parent 00c346c7b1
commit 9d144af68a
4 changed files with 44 additions and 4 deletions

View File

@@ -0,0 +1,28 @@
<template>
<div id="pptx" ></div>
</template>
<script setup >
const props = defineProps({
fileUrl: {
type: String,
default: ''
},
fullscreen: {
type: Boolean,
default:false
}
})
// js部分 jquery已在index.html中引入 无需另外安装
const handlePPtx = () => {
$("#pptx").pptxToHtml({
pptxFileUrl: props.fileUrl, //pptx文件地址
slidesScale: "100%",
});
}
handlePPtx()
</script>
<style scoped>
</style>