From b94facd5a8b318f296c33bc2aaaf6cff765e3bac Mon Sep 17 00:00:00 2001 From: iotcat Date: Sun, 19 Jul 2020 20:07:49 +0800 Subject: [PATCH] add word list --- src/index.js | 2 +- src/public/index.html | 14 ++- src/public/list.html | 266 +++++++++++++++++++++++++++++++++++++++++ src/public/upload.html | 4 +- 4 files changed, 280 insertions(+), 6 deletions(-) create mode 100644 src/public/list.html diff --git a/src/index.js b/src/index.js index b29b179..2ffad62 100644 --- a/src/index.js +++ b/src/index.js @@ -25,7 +25,7 @@ module.exports = async (params) => { reject(); } data.result.sentences.forEach((item, index) => { - o.push(item.sentence); + o.push(item.sentence+' --'+item.volume.corpus.name); if(index == data.result.sentences.length - 1){ resolve(o); } diff --git a/src/public/index.html b/src/public/index.html index 4ae01c0..047b3fe 100644 --- a/src/public/index.html +++ b/src/public/index.html @@ -64,10 +64,10 @@ + + +
+
+
+

Word List +

+
+
+
+
+ Level +
    +
  • +
+
+
+
+
+
+ + + + + + \ No newline at end of file diff --git a/src/public/upload.html b/src/public/upload.html index ddadb4b..e1aa2af 100644 --- a/src/public/upload.html +++ b/src/public/upload.html @@ -64,10 +64,10 @@