12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- import {
- displayList,
- serialNumberTypeList,
- serialNumberPositionList,
- isEnable,
- pinyinPositionList,
- } from '@/views/book/courseware/data/common';
- export { isEnable };
- export function getImageTextProperty() {
- return {
- serial_number: 1,
- sn_type: serialNumberTypeList[0].value,
- sn_position: serialNumberPositionList[3].value,
- sn_display_mode: displayList[0].value,
- view_pinyin: 'true', // 显示拼音
- pinyin_position: pinyinPositionList[0].value, // top bottom
- is_first_sentence_first_hz_pinyin_first_char_upper_case: 'true', // 句首大写
- };
- }
- export function getImageTextData() {
- return {
- type: 'image_text',
- title: '图片文本融合',
- property: getImageTextProperty(),
- total_size: 500, // 单位MB
- mp3_list: [], // 音频列表
- image_list: [], // 图片列表
- image_info_list: [],
- image_id_list: [], // 文件 id
- image_width: 500, // 图片宽度px
- image_height: 500, // 图片高度px
- text_list: [], // 文字框列表
- input_list: [], // 输入框列表
- mind_map: {
- node_list: [
- ], // 思维导图数据
- },
- answer: {
- answer_list: [],
- },
- };
- }
|