From 794dcf399c2ff2fc07d9c1b0acddf49c85919893 Mon Sep 17 00:00:00 2001 From: songhy <2741786616@qq.com> Date: Thu, 4 Jul 2024 19:22:20 +0800 Subject: [PATCH] fix Bug571 --- app/static/js/word_operation.js | 4 ++++ app/templates/userpage_get.html | 24 ++++++++++++++++++++++++ 2 files changed, 28 insertions(+) diff --git a/app/static/js/word_operation.js b/app/static/js/word_operation.js index dcf38ff..336f5ab 100644 --- a/app/static/js/word_operation.js +++ b/app/static/js/word_operation.js @@ -68,6 +68,7 @@ function read_word(theWord) { Reader.read(to_speak, inputSlider.value); } + /* * interface Word { * word: string, @@ -102,9 +103,12 @@ function wordTemplate(word) { 不熟悉 删除 朗读 + 笔记 +

`; } + /** * 删除某一词频元素 * 此处word为词频元素对应的单词 diff --git a/app/templates/userpage_get.html b/app/templates/userpage_get.html index e5c8d95..96fb622 100644 --- a/app/templates/userpage_get.html +++ b/app/templates/userpage_get.html @@ -160,6 +160,8 @@ 不熟悉 删除 朗读 + 笔记 +

{% endfor %} @@ -173,6 +175,28 @@ {% endfor %} {% endif %} + + + + +