pptist:canvastool 新增 插入习题按钮

This commit is contained in:
白了个白 2024-12-04 14:58:47 +08:00
parent df474db4a5
commit a31b8d7376
1 changed files with 13 additions and 0 deletions

View File

@ -81,6 +81,7 @@
</template> </template>
<IconVideoTwo class="handler-item" v-tooltip="'插入音视频'" /> <IconVideoTwo class="handler-item" v-tooltip="'插入音视频'" />
</Popover> </Popover>
<IconFormula class="handler-item" v-tooltip="'插入试题'" @click="classWorkTaskVisible = true" />
</div> </div>
<div class="right-handler"> <div class="right-handler">
@ -110,6 +111,17 @@
@update="data => { createLatexElement(data); latexEditorVisible = false }" @update="data => { createLatexElement(data); latexEditorVisible = false }"
/> />
</Modal> </Modal>
<Modal
v-model:visible="classWorkTaskVisible"
:width="880"
>
<LaTeXEditor
@close="classWorkTaskVisible = false"
@update="data => { createLatexElement(data); classWorkTaskVisible = false }"
/>
</Modal>
</div> </div>
</template> </template>
@ -178,6 +190,7 @@ const chartPoolVisible = ref(false)
const tableGeneratorVisible = ref(false) const tableGeneratorVisible = ref(false)
const mediaInputVisible = ref(false) const mediaInputVisible = ref(false)
const latexEditorVisible = ref(false) const latexEditorVisible = ref(false)
const classWorkTaskVisible = ref(false)
const textTypeSelectVisible = ref(false) const textTypeSelectVisible = ref(false)
const shapeMenuVisible = ref(false) const shapeMenuVisible = ref(false)
const moreVisible = ref(false) const moreVisible = ref(false)