From e412e0afc8832f013942972d0a9bda87116488dd Mon Sep 17 00:00:00 2001 From: shuaikangzhou <863909694@qq.com> Date: Thu, 7 Dec 2023 19:01:05 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0html=E6=A8=A1=E6=9D=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/web_ui/templates/index.html | 196 ++++++++++++++++++++++++++++ app/web_ui/templates/wordcloud.html | 99 ++++++++++++++ 2 files changed, 295 insertions(+) create mode 100644 app/web_ui/templates/index.html create mode 100644 app/web_ui/templates/wordcloud.html diff --git a/app/web_ui/templates/index.html b/app/web_ui/templates/index.html new file mode 100644 index 0000000..6fcb123 --- /dev/null +++ b/app/web_ui/templates/index.html @@ -0,0 +1,196 @@ + + + + + + + + + + + +
+
+
+
+ +
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+
+
+ + + + diff --git a/app/web_ui/templates/wordcloud.html b/app/web_ui/templates/wordcloud.html new file mode 100644 index 0000000..42ee078 --- /dev/null +++ b/app/web_ui/templates/wordcloud.html @@ -0,0 +1,99 @@ + + + + + + + + + + + 年度聊天报告 + + + + + + + + + + + + + + +
+
+
+
+
+
+
+

二零二三

+

你说的最多的是

+
+
+
+
+
+
+
+ {% for t in keyword %} + + {{t}} + {% endfor %} +
+
+ {% for n in max_num[::-1] %} + {{n}} + {% endfor %} + +
+
+
+
    + {% for dialog in dialogs %} +
  • +
    +
    + {% for p in dialog[0][2][:-1] %} + {{p}} + {{keyword}} + {% endfor %} + {{dialog[0][2][-1]}} +
    +
    +
    - {{dialog[1][2]}}
    {{dialog[0][3]}}
    +
    +
  • + {% endfor %} + + +
+
+
+
+
+
+
+
+ + + + + \ No newline at end of file