import { displayList, serialNumberTypeList, serialNumberPositionList, switchOption, commonComponentProperty, } from '@/views/book/courseware/data/common'; export { switchOption }; // 录音控件规格 export const sizeList = [ { value: 'promax', label: '大' }, { value: 'pro', label: '中' }, { value: 'normal', label: '小' }, { value: 'mini', label: '迷你' }, ]; export function getRecordInputProperty() { return { serial_number: 1, sn_type: serialNumberTypeList[0].value, sn_position: serialNumberPositionList[3].value, sn_display_mode: displayList[1].value, ...commonComponentProperty, }; } export function getRecordInputData() { return { type: 'record_input', title: '录音组件', property: getRecordInputProperty(), size: 'promax', is_enable_score: switchOption[0].value, is_enable_input: switchOption[0].value, is_enable_manyTimes: switchOption[0].value, answer: { answer_list: { answer_record_list: [], input: '', }, }, multilingual: [], // 多语言 answer_list: [], // 答案列表 analysis_list: [], // 解析列表 }; }