import { displayList, serialNumberTypeList, serialNumberPositionList, arrangeTypeList, switchOption, isEnable, } from '@/views/book/courseware/data/common'; export { arrangeTypeList, switchOption, isEnable }; // 拼音位置 export const pinyinPositionLists = [ { value: 'front', label: '前面' }, { value: 'back', label: '后面' }, { value: 'top', label: '上面' }, { value: 'bottom', label: '下面' }, ]; export const wordShowList = [ { value: 'true', label: '是' }, { value: 'false', label: '否' }, ]; export function getOption() { return { number: '', con: '', pinyin:'', interpret: '', // 翻译 note: '', // 注释 file_list: [''], // 图片 }; } export function getNotesProperty() { return { serial_number: 1, sn_type: serialNumberTypeList[0].value, sn_position: serialNumberPositionList[3].value, sn_display_mode: displayList[0].value, is_word_show: wordShowList[0].value, view_pinyin: 'false', // 显示拼音 pinyin_position: pinyinPositionLists[1].value, // top bottom is_first_sentence_first_hz_pinyin_first_char_upper_case: 'true', // 句首大写 }; } export function getNotesData() { return { type: 'notes', title: '注释组件', property: getNotesProperty(), title_con: '', option: [getOption()], file_id_list: [], // 文件 id mind_map: { node_list: [ { name: '注释组件' } ], // 思维导图数据 }, paragraph_list: [], paragraph_list_parameter: { text: '', is_first_sentence_first_hz_pinyin_first_char_upper_case: 'true', pinyin_proofread_word_list: [], }, multilingual: [], // 多语言 }; }