From 3654776aec7d2ee69d26731b34b96bdce9eec2e8 Mon Sep 17 00:00:00 2001 From: Stela <1710738188@qq.com> Date: Mon, 6 Jun 2022 19:42:26 +0800 Subject: [PATCH 1/3] BugFix358 + Improve + Refactor --- app/templates/analyse_word.html | 27 +++++++++++ app/templates/userpage_get.html | 9 +++- app/templates/userpage_post.html | 3 ++ app/user_service.py | 39 +++++++++++---- app/wordfreqCMD.py | 82 +++++++++++++++++++++++++------- requirements.txt | 4 +- 6 files changed, 136 insertions(+), 28 deletions(-) create mode 100644 app/templates/analyse_word.html diff --git a/app/templates/analyse_word.html b/app/templates/analyse_word.html new file mode 100644 index 0000000..6736f57 --- /dev/null +++ b/app/templates/analyse_word.html @@ -0,0 +1,27 @@ + + + + + + EnglishPal - Analyse Result + + +
+
+

单词 {{ word }} 的统计信息

+
+ + + +
+ + \ No newline at end of file diff --git a/app/templates/userpage_get.html b/app/templates/userpage_get.html index 19542c1..9dee463 100644 --- a/app/templates/userpage_get.html +++ b/app/templates/userpage_get.html @@ -38,10 +38,17 @@

收集生词吧 (可以在正文中划词,也可以复制黏贴)

+
-
+
+
+ +
+ + +

{% if session.get['thisWord'] %}