feat(Design): 新增图文题型组件
- 添加 Contenteditable组件用于富文本编辑 - 实现 CheckboxQuestionAction 组件用于多选题配置 - 开发 TextWithImages 组件用于图文题型展示 - 更新 QuestionAction 组件以支持多选题操作 - 调整 QuestionBefore 组件移除分组功能
This commit is contained in:
@@ -43,6 +43,14 @@
|
||||
:active="chooseQuestionId === element.id"
|
||||
sn="lXEBBpE2"
|
||||
/>
|
||||
|
||||
<!--图文-->
|
||||
<TextWithImages
|
||||
v-if="element.question_type === 6"
|
||||
:element="element"
|
||||
:active="chooseQuestionId === element.id"
|
||||
/>
|
||||
|
||||
<!--组件底部左侧操作-->
|
||||
<template #action="{ element: el }">
|
||||
<div class="flex slot-actions">
|
||||
@@ -89,6 +97,7 @@ import Paging from './components/Questions/paging/Paging.vue';
|
||||
import Completion from './components/Questions/Completion.vue';
|
||||
import MartrixQuestion from './components/Questions/MartrixQuestion.vue';
|
||||
import Rate from './components/Questions/Rate.vue';
|
||||
import TextWithImages from '@/views/Design/components/Questions/TextWithImages.vue';
|
||||
|
||||
const activeIndex = ref(-1);
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user