feat(css): 添加移动端 iconfont样式并优化内容编辑组件- 在 main.scss 中添加移动端 iconfont 样式

- 为 contenteditable 组件添加失焦事件处理
- 新增 YLPicker 组件,支持年月日时分秒的自定义格式选择
This commit is contained in:
陈昱达
2025-03-10 15:26:14 +08:00
parent 54c06913d6
commit d29ba27e93
25 changed files with 2186 additions and 163 deletions

View File

@@ -13,9 +13,13 @@
<contenteditable v-model="element.stem" :active="active"></contenteditable>
</template>
<template #input>
<template v-for="(item, index) in element.options" :key="index">
<template v-for="(item, optionIndex) in element.options" :key="item.id">
<van-radio-group v-if="element.question_type === 1">
<option-action v-model:data="element.options[index]" :active="active" :question="element">
<option-action
v-model:data="element.options[optionIndex]"
:active="active"
:question="element"
>
<template #item="{ element: it, index: itIndex }">
<van-radio
:key="itIndex"