From fcbb2e84157178839b40e513b1d38a8003504b95 Mon Sep 17 00:00:00 2001 From: STDquantum <405720329@qq.com> Date: Sat, 6 Jan 2024 17:06:02 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=97=B6=E9=97=B4=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E9=97=AE=E9=A2=98=EF=BC=8C=E5=A4=84=E7=90=86=E6=88=AA?= =?UTF-8?q?=E6=96=AD=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/DataBase/exporter_html.py | 5 - app/resources/data/template.html | 198 ++++++++++++++++++------------- 2 files changed, 118 insertions(+), 85 deletions(-) diff --git a/app/DataBase/exporter_html.py b/app/DataBase/exporter_html.py index 4b10e8c..134abcf 100644 --- a/app/DataBase/exporter_html.py +++ b/app/DataBase/exporter_html.py @@ -303,11 +303,6 @@ class HtmlExporter(ExporterBase): else: self.progressSignal.emit(1) - if self.is_5_min(timestamp): - str_time = message[8] - f.write( - f'''{{ type:0, text: '{str_time}',is_send:0,avatar_path:'',timestamp:{timestamp}}},''' - ) if type_ == 1 and self.message_types.get(type_): self.text(f, message) elif type_ == 3 and self.message_types.get(type_): diff --git a/app/resources/data/template.html b/app/resources/data/template.html index 37bab59..304ec77 100644 --- a/app/resources/data/template.html +++ b/app/resources/data/template.html @@ -1,10 +1,10 @@ - - - - Chat Records - - - -
-
-
- - + + + +
+
+
+ + +
+
+ + +
-
- - -
- +
-
-
- -
-
-
昨天 12:35
-
你已添加了凡繁烦,现在可以开始聊天了。
-
-
- +
+
+
+ 昨天 12:35
-
您好,我在武汉,你可以直接送过来吗,我有时间的话,可以自己过去拿
!!!
123 +
+ 你已添加了凡繁烦,现在可以开始聊天了。
-
- -
-
hello
你好呀
-
- +
+
+ +
+
+ 您好,我在武汉,你可以直接送过来吗,我有时间的话,可以自己过去拿 +
+ !!! +
+ 123 +
+
+
+
+ hello +
+ 你好呀 +
+
+ +
+
+
+ 昨天 13:15
-
-
- 昨天 13:15
-
-
- - - - - + - - \ No newline at end of file + + +