chinese.js 991 B

12345678910111213141516171819202122232425262728293031
  1. import { optionTypeList, stemTypeList, scoreTypeList, questionNumberTypeList } from './common';
  2. // 汉字类型列表
  3. export const learnTypeList = [
  4. { value: 'miao', label: '描红' },
  5. { value: 'write', label: '书写' },
  6. { value: 'learn', label: '笔画学习' },
  7. ];
  8. // 选择题数据模板
  9. export const chineseData = {
  10. type: 'chinese', // 题型
  11. stem: '', // 题干
  12. option_number_show_mode: optionTypeList[0].value, // 选项类型
  13. description: '', // 描述
  14. content: '', // 题目
  15. answer: { answer_list: [], score: 0, score_type: scoreTypeList[0].value }, // 答案
  16. // 题型属性
  17. property: {
  18. stem_type: stemTypeList[0].value, // 题干类型
  19. question_number: 1, // 题号
  20. is_enable_description: false, // 描述
  21. score: 1, // 分值
  22. score_type: scoreTypeList[0].value, // 分值类型
  23. learn_type: learnTypeList[0].value,
  24. },
  25. // 其他属性
  26. other: {
  27. question_number_type: questionNumberTypeList[0].value, // 题号类型
  28. },
  29. };