readAloud.js 827 B

1234567891011121314151617181920212223242526
  1. import { stemTypeList, questionNumberTypeList, scoreTypeList, switchOption, fontSizeList } from './common';
  2. // 朗读题数据模板
  3. export const readAloudData = {
  4. type: 'read_aloud', // 题型
  5. stem: '', // 题干
  6. description: '', // 描述
  7. file_id_list: [], // 文件 id 列表
  8. answer: {
  9. score: 1,
  10. score_type: scoreTypeList[0].value,
  11. }, // 答案
  12. // 题型属性
  13. property: {
  14. stem_type: stemTypeList[1].value, // 题干类型
  15. question_number: '1', // 题号
  16. stem_question_number_font_size: fontSizeList[6], // 题干题号
  17. is_enable_listening: switchOption[0].value, // 是否开启听力
  18. score: 1, // 分值
  19. score_type: scoreTypeList[0].value, // 分值类型
  20. },
  21. // 其他属性
  22. other: {
  23. question_number_type: questionNumberTypeList[1].value, // 题号类型
  24. },
  25. };