|
@@ -137,14 +137,6 @@ export const bookTypeOption = [
|
|
|
preview: DescribePreview,
|
|
preview: DescribePreview,
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
- value: 'audio',
|
|
|
|
|
- label: '音频',
|
|
|
|
|
- icon: 'audio',
|
|
|
|
|
- component: AudioPage,
|
|
|
|
|
- set: AudioSetting,
|
|
|
|
|
- preview: AudioPreview,
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
value: 'picture',
|
|
value: 'picture',
|
|
|
label: '图片',
|
|
label: '图片',
|
|
|
icon: 'picture',
|
|
icon: 'picture',
|
|
@@ -153,6 +145,14 @@ export const bookTypeOption = [
|
|
|
preview: PicturePreview,
|
|
preview: PicturePreview,
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
|
|
+ value: 'audio',
|
|
|
|
|
+ label: '音频',
|
|
|
|
|
+ icon: 'audio',
|
|
|
|
|
+ component: AudioPage,
|
|
|
|
|
+ set: AudioSetting,
|
|
|
|
|
+ preview: AudioPreview,
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
value: 'video',
|
|
value: 'video',
|
|
|
label: '视频',
|
|
label: '视频',
|
|
|
icon: 'video',
|
|
icon: 'video',
|
|
@@ -161,48 +161,16 @@ export const bookTypeOption = [
|
|
|
preview: VideoPreview,
|
|
preview: VideoPreview,
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
- value: 'input',
|
|
|
|
|
- label: '输入',
|
|
|
|
|
- icon: 'input',
|
|
|
|
|
- component: Input,
|
|
|
|
|
- set: InputSetting,
|
|
|
|
|
- preview: InputPreview,
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- value: 'write_base',
|
|
|
|
|
- label: '写字',
|
|
|
|
|
- icon: 'write_base',
|
|
|
|
|
- component: WriteBase,
|
|
|
|
|
- set: WriteBaseSetting,
|
|
|
|
|
- preview: WriteBasePreview,
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- value: 'record_input',
|
|
|
|
|
- label: '录音',
|
|
|
|
|
- icon: 'record_input',
|
|
|
|
|
- component: RecordInput,
|
|
|
|
|
- set: RecordInputSetting,
|
|
|
|
|
- preview: RecordInputPreview,
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- value: 'upload_control',
|
|
|
|
|
- label: '上传',
|
|
|
|
|
- icon: 'uploadControl',
|
|
|
|
|
- component: UploadControl,
|
|
|
|
|
- set: UploadControlSetting,
|
|
|
|
|
- preview: UploadControlPreview,
|
|
|
|
|
|
|
+ value: 'notes',
|
|
|
|
|
+ label: '注释',
|
|
|
|
|
+ icon: 'notes',
|
|
|
|
|
+ component: Notes,
|
|
|
|
|
+ set: NotesSetting,
|
|
|
|
|
+ preview: NotesPreview,
|
|
|
},
|
|
},
|
|
|
- // {
|
|
|
|
|
- // value: 'upload_preview',
|
|
|
|
|
- // label: '上传',
|
|
|
|
|
- // icon: 'uploadPreviews',
|
|
|
|
|
- // component: UploadPreview,
|
|
|
|
|
- // set: UploadRreviewSetting,
|
|
|
|
|
- // preview: UploadPreviewPreview,
|
|
|
|
|
- // },
|
|
|
|
|
{
|
|
{
|
|
|
value: 'drawing',
|
|
value: 'drawing',
|
|
|
- label: '趣味画板',
|
|
|
|
|
|
|
+ label: '画板',
|
|
|
icon: 'drawing',
|
|
icon: 'drawing',
|
|
|
component: Drawing,
|
|
component: Drawing,
|
|
|
set: DrawingSetting,
|
|
set: DrawingSetting,
|
|
@@ -210,7 +178,7 @@ export const bookTypeOption = [
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
value: 'image_text',
|
|
value: 'image_text',
|
|
|
- label: '图文融合',
|
|
|
|
|
|
|
+ label: '图片热区',
|
|
|
icon: 'image_text',
|
|
icon: 'image_text',
|
|
|
component: ImageText,
|
|
component: ImageText,
|
|
|
set: ImageTextSetting,
|
|
set: ImageTextSetting,
|
|
@@ -240,22 +208,6 @@ export const bookTypeOption = [
|
|
|
set: H5GamesSetting,
|
|
set: H5GamesSetting,
|
|
|
preview: H5GamesPreview,
|
|
preview: H5GamesPreview,
|
|
|
},
|
|
},
|
|
|
- // {
|
|
|
|
|
- // value: 'spacing',
|
|
|
|
|
- // label: '间距',
|
|
|
|
|
- // icon: 'spacing',
|
|
|
|
|
- // component: SpacingPage,
|
|
|
|
|
- // set: SpacingSetting,
|
|
|
|
|
- // preview: SpacingPreview,
|
|
|
|
|
- // },
|
|
|
|
|
- // {
|
|
|
|
|
- // value: 'character_base',
|
|
|
|
|
- // label: '汉字',
|
|
|
|
|
- // icon: 'chineseCharacter',
|
|
|
|
|
- // component: CharacterBase,
|
|
|
|
|
- // set: CharacterBaseSetting,
|
|
|
|
|
- // preview: CharacterBasePreview,
|
|
|
|
|
- // },
|
|
|
|
|
{
|
|
{
|
|
|
value: 'label',
|
|
value: 'label',
|
|
|
label: '标签',
|
|
label: '标签',
|
|
@@ -272,6 +224,30 @@ export const bookTypeOption = [
|
|
|
set: DividerSetting,
|
|
set: DividerSetting,
|
|
|
preview: DividerPreview,
|
|
preview: DividerPreview,
|
|
|
},
|
|
},
|
|
|
|
|
+ // {
|
|
|
|
|
+ // value: 'upload_preview',
|
|
|
|
|
+ // label: '上传',
|
|
|
|
|
+ // icon: 'uploadPreviews',
|
|
|
|
|
+ // component: UploadPreview,
|
|
|
|
|
+ // set: UploadRreviewSetting,
|
|
|
|
|
+ // preview: UploadPreviewPreview,
|
|
|
|
|
+ // },
|
|
|
|
|
+ // {
|
|
|
|
|
+ // value: 'spacing',
|
|
|
|
|
+ // label: '间距',
|
|
|
|
|
+ // icon: 'spacing',
|
|
|
|
|
+ // component: SpacingPage,
|
|
|
|
|
+ // set: SpacingSetting,
|
|
|
|
|
+ // preview: SpacingPreview,
|
|
|
|
|
+ // },
|
|
|
|
|
+ // {
|
|
|
|
|
+ // value: 'character_base',
|
|
|
|
|
+ // label: '汉字',
|
|
|
|
|
+ // icon: 'chineseCharacter',
|
|
|
|
|
+ // component: CharacterBase,
|
|
|
|
|
+ // set: CharacterBaseSetting,
|
|
|
|
|
+ // preview: CharacterBasePreview,
|
|
|
|
|
+ // },
|
|
|
],
|
|
],
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
@@ -303,6 +279,22 @@ export const bookTypeOption = [
|
|
|
preview: CharacterPreview,
|
|
preview: CharacterPreview,
|
|
|
},
|
|
},
|
|
|
{
|
|
{
|
|
|
|
|
+ value: 'newWord_template',
|
|
|
|
|
+ label: '生字',
|
|
|
|
|
+ icon: 'newWord_template',
|
|
|
|
|
+ component: NewWordTemplate,
|
|
|
|
|
+ set: NewWordTemplateSetting,
|
|
|
|
|
+ preview: NewWordTemplatePreview,
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ value: 'character_structure',
|
|
|
|
|
+ label: '汉字结构',
|
|
|
|
|
+ icon: 'character_structure',
|
|
|
|
|
+ component: CharacterStructure,
|
|
|
|
|
+ set: CharacterStructureSetting,
|
|
|
|
|
+ preview: CharacterStructurePreview,
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
value: 'new_word',
|
|
value: 'new_word',
|
|
|
label: '生词表',
|
|
label: '生词表',
|
|
|
icon: 'new_word',
|
|
icon: 'new_word',
|
|
@@ -333,6 +325,38 @@ export const bookTypeOption = [
|
|
|
label: '练习组件',
|
|
label: '练习组件',
|
|
|
children: [
|
|
children: [
|
|
|
{
|
|
{
|
|
|
|
|
+ value: 'input',
|
|
|
|
|
+ label: '输入',
|
|
|
|
|
+ icon: 'input',
|
|
|
|
|
+ component: Input,
|
|
|
|
|
+ set: InputSetting,
|
|
|
|
|
+ preview: InputPreview,
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ value: 'write_base',
|
|
|
|
|
+ label: '写字',
|
|
|
|
|
+ icon: 'write_base',
|
|
|
|
|
+ component: WriteBase,
|
|
|
|
|
+ set: WriteBaseSetting,
|
|
|
|
|
+ preview: WriteBasePreview,
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ value: 'record_input',
|
|
|
|
|
+ label: '录音',
|
|
|
|
|
+ icon: 'record_input',
|
|
|
|
|
+ component: RecordInput,
|
|
|
|
|
+ set: RecordInputSetting,
|
|
|
|
|
+ preview: RecordInputPreview,
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
|
|
+ value: 'upload_control',
|
|
|
|
|
+ label: '上传',
|
|
|
|
|
+ icon: 'uploadControl',
|
|
|
|
|
+ component: UploadControl,
|
|
|
|
|
+ set: UploadControlSetting,
|
|
|
|
|
+ preview: UploadControlPreview,
|
|
|
|
|
+ },
|
|
|
|
|
+ {
|
|
|
value: 'select',
|
|
value: 'select',
|
|
|
label: '选择题',
|
|
label: '选择题',
|
|
|
icon: 'select',
|
|
icon: 'select',
|
|
@@ -372,14 +396,6 @@ export const bookTypeOption = [
|
|
|
set: SortSetting,
|
|
set: SortSetting,
|
|
|
preview: SortPreview,
|
|
preview: SortPreview,
|
|
|
},
|
|
},
|
|
|
- {
|
|
|
|
|
- value: 'notes',
|
|
|
|
|
- label: '注释',
|
|
|
|
|
- icon: 'notes',
|
|
|
|
|
- component: Notes,
|
|
|
|
|
- set: NotesSetting,
|
|
|
|
|
- preview: NotesPreview,
|
|
|
|
|
- },
|
|
|
|
|
// {
|
|
// {
|
|
|
// value: 'other_word',
|
|
// value: 'other_word',
|
|
|
// label: '其他词汇',
|
|
// label: '其他词汇',
|
|
@@ -388,22 +404,6 @@ export const bookTypeOption = [
|
|
|
// set: OtherWordSetting,
|
|
// set: OtherWordSetting,
|
|
|
// preview: OtherWordPreview,
|
|
// preview: OtherWordPreview,
|
|
|
// },
|
|
// },
|
|
|
- {
|
|
|
|
|
- value: 'newWord_template',
|
|
|
|
|
- label: '生字',
|
|
|
|
|
- icon: 'newWord_template',
|
|
|
|
|
- component: NewWordTemplate,
|
|
|
|
|
- set: NewWordTemplateSetting,
|
|
|
|
|
- preview: NewWordTemplatePreview,
|
|
|
|
|
- },
|
|
|
|
|
- {
|
|
|
|
|
- value: 'character_structure',
|
|
|
|
|
- label: '汉字结构',
|
|
|
|
|
- icon: 'character_structure',
|
|
|
|
|
- component: CharacterStructure,
|
|
|
|
|
- set: CharacterStructureSetting,
|
|
|
|
|
- preview: CharacterStructurePreview,
|
|
|
|
|
- },
|
|
|
|
|
// {
|
|
// {
|
|
|
// value: 'write',
|
|
// value: 'write',
|
|
|
// label: '书写',
|
|
// label: '书写',
|