This commit is contained in:
zyronon
2023-12-13 11:07:59 +08:00
parent d11fb6d9a2
commit 9b3171bbc2
3 changed files with 181 additions and 167 deletions

View File

@@ -1,5 +1,5 @@
import {DictResource, DictType} from "@/types.ts"
import {newDicts} from "@/newDicts.ts";
import {newDicts} from "@/assets/newDicts.ts";
// 中国考试
const chinaExam: DictResource[] = [

View File

@@ -1,7 +1,5 @@
import {DictResource, DictType} from "@/types.ts"
// 中国考试
const chinaExam: DictResource[] = [
{

View File

@@ -1,6 +1,156 @@
import {DictType} from "@/types.ts";
import {DictResource, DictType} from "@/types.ts";
export const newDicts = [
// 国际考试
const internationalExam: DictResource[] = [
{
id: 'BEC_2',
name: '商务英语词汇',
description: '商务英语词汇',
url: 'BEC_2.json',
length: 2753,
category: '国际考试',
tags: ['所有', 'BEC'],
translateLanguage: 'common',
language: 'en',
type: DictType.word,
},
{
id: 'BEC_3',
name: '新东方 BEC 词汇',
description: '新东方 BEC 词汇',
url: 'BEC_3.json',
length: 2825,
category: '国际考试',
tags: ['所有', 'BEC', '新东方'],
translateLanguage: 'common',
language: 'en',
type: DictType.word,
},
{
id: 'TOEFL_2',
name: 'TOEFL 词汇',
description: 'TOEFL 词汇',
url: 'TOEFL_2.json',
length: 9213,
category: '国际考试',
tags: ['所有', 'TOEFL'],
translateLanguage: 'common',
language: 'en',
type: DictType.word,
},
{
id: 'GRE_2',
name: 'GRE 词汇',
description: 'GRE 词汇',
url: 'GRE_2.json',
length: 7199,
category: '国际考试',
tags: ['所有', 'GRE'],
translateLanguage: 'common',
language: 'en',
type: DictType.word,
},
{
id: 'SAT_2',
name: 'SAT 词汇',
description: 'SAT 词汇',
url: 'SAT_2.json',
length: 4423,
category: '国际考试',
tags: ['所有', 'SAT'],
translateLanguage: 'common',
language: 'en',
type: DictType.word,
},
{
id: 'GMAT_2',
name: 'GMAT 词汇',
description: 'GMAT 词汇',
url: 'GMAT_2.json',
length: 3254,
category: '国际考试',
tags: ['所有', 'GMAT'],
translateLanguage: 'common',
language: 'en',
type: DictType.word,
},
{
id: 'IELTS_3',
name: '新东方雅思词汇',
description: '新东方雅思词汇',
url: 'IELTS_3.json',
length: 3575,
category: '国际考试',
tags: ['所有', 'IELTS', '新东方'],
translateLanguage: 'common',
language: 'en',
type: DictType.word,
},
{
id: 'TOEFL_3',
name: '新东方 TOEFL 词汇',
description: '新东方 TOEFL 词汇',
url: 'TOEFL_3.json',
length: 4264,
category: '国际考试',
tags: ['所有', 'TOEFL', '新东方'],
translateLanguage: 'common',
language: 'en',
type: DictType.word,
},
{
id: 'GRE_3',
name: '新东方 GRE 词汇',
description: '新东方 GRE 词汇',
url: 'GRE_3.json',
length: 6515,
category: '国际考试',
tags: ['所有', '新东方', 'GRE'],
translateLanguage: 'common',
language: 'en',
type: DictType.word,
},
{
id: 'SAT_3',
name: '新东方 SAT 词汇',
description: '新东方 SAT 词汇',
url: 'SAT_3.json',
length: 4464,
category: '国际考试',
tags: ['所有', '新东方', 'SAT'],
translateLanguage: 'common',
language: 'en',
type: DictType.word,
},
{
id: 'GMAT_3',
name: '新东方 GMAT 词汇',
description: '新东方 GMAT 词汇',
url: 'GMAT_3.json',
length: 3047,
category: '国际考试',
tags: ['所有', '新东方', 'GMAT'],
translateLanguage: 'common',
language: 'en',
type: DictType.word,
},
{
id: 'IELTS_2',
name: '雅思词汇',
description: '雅思词汇',
url: 'IELTS_2.json',
length: 3427,
category: '国际考试',
tags: ['所有', 'IELTS'],
translateLanguage: 'common',
language: 'en',
type: DictType.word,
},
]
// 中国考试
const chinaExam: DictResource[] = [
{
id: 'CET4_1',
name: '四级真题核心词',
@@ -8,7 +158,7 @@ export const newDicts = [
url: 'CET4_1.json',
length: 1162,
category: '中国考试',
tags: ['大学英语', '四级'],
tags: ['所有', '大学英语', '四级',],
translateLanguage: 'common',
language: 'en',
type: DictType.word
@@ -20,7 +170,7 @@ export const newDicts = [
url: 'CET6_1.json',
length: 1228,
category: '中国考试',
tags: ['大学英语', '六级'],
tags: ['所有', '大学英语', '六级'],
translateLanguage: 'common',
language: 'en',
type: DictType.word
@@ -32,7 +182,7 @@ export const newDicts = [
url: 'Level4_1.json',
length: 595,
category: '中国考试',
tags: ['大学英语'],
tags: ['所有', '大学英语'],
translateLanguage: 'common',
language: 'en',
type: DictType.word
@@ -44,7 +194,7 @@ export const newDicts = [
url: 'Level8_1.json',
length: 684,
category: '中国考试',
tags: ['大学英语'],
tags: ['所有', '大学英语'],
translateLanguage: 'common',
language: 'en',
type: DictType.word
@@ -56,7 +206,7 @@ export const newDicts = [
url: 'CET4_2.json',
length: 3739,
category: '中国考试',
tags: ['大学英语', '四级'],
tags: ['所有', '大学英语', '四级'],
translateLanguage: 'common',
language: 'en',
type: DictType.word
@@ -68,7 +218,7 @@ export const newDicts = [
url: 'CET6_2.json',
length: 2078,
category: '中国考试',
tags: ['大学英语', '六级'],
tags: ['所有', '大学英语', '六级'],
translateLanguage: 'common',
language: 'en',
type: DictType.word
@@ -80,7 +230,7 @@ export const newDicts = [
url: 'Level4_2.json',
length: 4025,
category: '中国考试',
tags: ['大学英语'],
tags: ['所有', '大学英语'],
translateLanguage: 'common',
language: 'en',
type: DictType.word,
@@ -92,7 +242,7 @@ export const newDicts = [
url: 'Level8_2.json',
length: 12197,
category: '中国考试',
tags: ['大学英语'],
tags: ['所有', '大学英语'],
translateLanguage: 'common',
language: 'en',
type: DictType.word,
@@ -103,7 +253,7 @@ export const newDicts = [
url: 'CET4_3.json',
length: 2607,
category: '中国考试',
tags: ['大学英语', '四级', '新东方'],
tags: ['所有', '大学英语', '四级', '新东方'],
translateLanguage: 'common',
language: 'en',
type: DictType.word,
@@ -116,7 +266,7 @@ export const newDicts = [
url: 'CET6_3.json',
length: 2345,
category: '中国考试',
tags: ['大学英语', '六级', '新东方'],
tags: ['所有', '大学英语', '六级', '新东方'],
translateLanguage: 'common',
language: 'en',
type: DictType.word,
@@ -128,7 +278,7 @@ export const newDicts = [
url: 'KaoYan_2.json',
length: 4533,
category: '中国考试',
tags: ['考研'],
tags: ['所有', '考研'],
translateLanguage: 'common',
language: 'en',
type: DictType.word,
@@ -140,7 +290,7 @@ export const newDicts = [
url: 'KaoYan_1.json',
length: 1341,
category: '中国考试',
tags: ['考研'],
tags: ['所有', '考研'],
translateLanguage: 'common',
language: 'en',
type: DictType.word
@@ -152,131 +302,15 @@ export const newDicts = [
url: 'KaoYan_3.json',
length: 3728,
category: '中国考试',
tags: ['考研', '新东方'],
translateLanguage: 'common',
language: 'en',
type: DictType.word,
},
{
id: 'IELTS_2',
name: '雅思词汇',
description: '雅思词汇',
url: 'IELTS_2.json',
length: 3427,
category: '国际考试',
tags: ['IELTS'],
translateLanguage: 'common',
language: 'en',
type: DictType.word,
},
{
id: 'TOEFL_2',
name: 'TOEFL 词汇',
description: 'TOEFL 词汇',
url: 'TOEFL_2.json',
length: 9213,
category: '国际考试',
tags: ['TOEFL'],
translateLanguage: 'common',
language: 'en',
type: DictType.word,
},
{
id: 'GRE_2',
name: 'GRE 词汇',
description: 'GRE 词汇',
url: 'GRE_2.json',
length: 7199,
category: '国际考试',
tags: ['GRE'],
translateLanguage: 'common',
language: 'en',
type: DictType.word,
},
{
id: 'SAT_2',
name: 'SAT 词汇',
description: 'SAT 词汇',
url: 'SAT_2.json',
length: 4423,
category: '国际考试',
tags: ['SAT'],
translateLanguage: 'common',
language: 'en',
type: DictType.word,
},
{
id: 'GMAT_2',
name: 'GMAT 词汇',
description: 'GMAT 词汇',
url: 'GMAT_2.json',
length: 3254,
category: '国际考试',
tags: ['GMAT'],
translateLanguage: 'common',
language: 'en',
type: DictType.word,
},
{
id: 'IELTS_3',
name: '新东方雅思词汇',
description: '新东方雅思词汇',
url: 'IELTS_3.json',
length: 3575,
category: '国际考试',
tags: ['IELTS', '新东方'],
translateLanguage: 'common',
language: 'en',
type: DictType.word,
},
{
id: 'TOEFL_3',
name: '新东方 TOEFL 词汇',
description: '新东方 TOEFL 词汇',
url: 'TOEFL_3.json',
length: 4264,
category: '国际考试',
tags: ['TOEFL', '新东方'],
translateLanguage: 'common',
language: 'en',
type: DictType.word,
},
{
id: 'GRE_3',
name: '新东方 GRE 词汇',
description: '新东方 GRE 词汇',
url: 'GRE_3.json',
length: 6515,
category: '国际考试',
tags: ['新东方', 'GRE'],
translateLanguage: 'common',
language: 'en',
type: DictType.word,
},
{
id: 'SAT_3',
name: '新东方 SAT 词汇',
description: '新东方 SAT 词汇',
url: 'SAT_3.json',
length: 4464,
category: '国际考试',
tags: ['新东方', 'SAT'],
translateLanguage: 'common',
language: 'en',
type: DictType.word,
},
{
id: 'GMAT_3',
name: '新东方 GMAT 词汇',
description: '新东方 GMAT 词汇',
url: 'GMAT_3.json',
length: 3047,
category: '国际考试',
tags: ['新东方', 'GMAT'],
tags: ['所有', '考研', '新东方'],
translateLanguage: 'common',
language: 'en',
type: DictType.word,
},
]
// 青少儿英语
const childrenEnglish: DictResource[] =[
{
id: 'ChuZhong_2',
name: '初中英语词汇',
@@ -284,7 +318,7 @@ export const newDicts = [
url: 'ChuZhong_2.json',
length: 1420,
category: '青少年英语',
tags: ['通用', '初中'],
tags: ['所有', '通用', '初中'],
translateLanguage: 'common',
language: 'en',
type: DictType.word,
@@ -296,7 +330,7 @@ export const newDicts = [
url: 'GaoZhong_2.json',
length: 3668,
category: '青少年英语',
tags: ['通用', '高中'],
tags: ['所有', '通用', '高中'],
translateLanguage: 'common',
language: 'en',
type: DictType.word,
@@ -308,7 +342,7 @@ export const newDicts = [
url: 'ChuZhong_3.json',
length: 1803,
category: '青少年英语',
tags: ['通用', '初中'],
tags: ['所有', '通用', '初中'],
translateLanguage: 'common',
language: 'en',
type: DictType.word,
@@ -320,33 +354,15 @@ export const newDicts = [
url: 'GaoZhong_3.json',
length: 2340,
category: '青少年英语',
tags: ['通用', '高中'],
tags: ['所有', '通用', '高中'],
translateLanguage: 'common',
language: 'en',
type: DictType.word,
},
{
id: 'BEC_2',
name: '商务英语词汇',
description: '商务英语词汇',
url: 'BEC_2.json',
length: 2753,
category: '国际考试',
tags: ['BEC'],
translateLanguage: 'common',
language: 'en',
type: DictType.word,
},
{
id: 'BEC_3',
name: '新东方 BEC 词汇',
description: '新东方 BEC 词汇',
url: 'BEC_3.json',
length: 2825,
category: '国际考试',
tags: ['BEC', '新东方'],
translateLanguage: 'common',
language: 'en',
type: DictType.word,
},
]
]
export const newDicts = [
...internationalExam,
...chinaExam,
...childrenEnglish,
]