-
-
-
-
-
-
在TA的音乐品味中
-
也藏着高冷的一面
-
这首有些小众的
-
- 《夏天的味道(Cover 石头剪刀布)》
-
在今年TA一共听了
- 15次
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
2022-03-12
- 04:36:10
-
- 这么晚了你们还在聊天
-
-
这天一定有你们
- 难忘的回忆 吧
-
-
-
-
你们都是
- 夜猫子
-
- 凌晨01:00
-
-
你们共发送了
- 8517 条信息
-
-
-
-
-
-
-
-
2022-03-12 04:36:10
-
-
-
-
-
-
-  :
-
- |
-
-
-
- : 无语了也不知道我这大晚上干嘛不睡觉,生生接住了这波狗粮
-
- |
-
-
-
-
-
-
- |
-
-
-  :
-
- |
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/app/data/html/4.html b/app/data/html/4.html
deleted file mode 100644
index 472bb91..0000000
--- a/app/data/html/4.html
+++ /dev/null
@@ -1,1232 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
年度聊天报告
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-

-
-
-
-
-
-
-
-
2018
- TA在网易云音乐听到的最多的歌词是
-
-
-
-
-
-
-
-
-
-
-
- 7
- 6
- 5
-
-
-
-
-
- -
-
-
- 天使在人间是该藏好翅膀
-
-
-
- Tank《专属天使》
-
-
- -
-
-
你是魔鬼中的
- 天使, 所以送我心碎的方式
-
-
-
- 田馥甄《魔鬼中的天使》
-
-
- -
-
-
请
- 天使来唱歌, 当我很不快乐
-
-
-
- S.H.E《天使在唱歌》
-
-
- -
-
-
谁人又为
- 天使忧愁
-
-
-
- 梁汉文《七友》
-
-
-
-
-
-
-
-
-
-
- 5月1日
-
大概是很特别的一天
-
这一天里
-
你们的对话充满了
- 积极情感
-
从早上9点 到晚上12点
-
你们共发送了
- 2294
- 条信息
-
-
信息数量
- 全年最高
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/app/data/html/5.html b/app/data/html/5.html
deleted file mode 100644
index e3a95ff..0000000
--- a/app/data/html/5.html
+++ /dev/null
@@ -1,7567 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
年度聊天报告
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-

-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
1月29日
-
这一天Ta走了
-
- 17498步
-
在你好友排名
- 第一
-
-
你知道
-
- 这一天Ta去哪了吗?
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/app/data/html/6.html b/app/data/html/6.html
deleted file mode 100644
index 1e42b5f..0000000
--- a/app/data/html/6.html
+++ /dev/null
@@ -1,1344 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
年度聊天报告
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-

-
-
-
-
-
-
-
-
-
-
-
这一年
-
我们有
- 230天在聊天
-
有你在的日子里
-
都很有
- 意义!
-
-
这一年
-
一共发送了
- 3454个表情包
-
Ta最常用的表情包是
-
-

-
一共
- 184次
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/app/data/html/index.html b/app/data/html/index.html
deleted file mode 100644
index dfb2b00..0000000
--- a/app/data/html/index.html
+++ /dev/null
@@ -1,252 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
\ No newline at end of file
diff --git a/app/person.py b/app/person.py
index e52aa89..1e67791 100644
--- a/app/person.py
+++ b/app/person.py
@@ -55,6 +55,7 @@ def singleton(cls):
class MePC:
def __init__(self):
self.avatar = QPixmap(Icon.Default_avatar_path)
+ self.avatar_path = 'D:\Project\Python\WeChatMsg\\app\data\icons\default_avatar.svg'
self.wxid = ''
self.wx_dir = ''
self.name = ''
@@ -82,6 +83,7 @@ class ContactPC:
self.smallHeadImgUrl = contact_info.get('smallHeadImgUrl')
self.smallHeadImgBLOG = b''
self.avatar = QPixmap()
+ self.avatar_path = 'D:\Project\Python\WeChatMsg\\app\data\icons\default_avatar.svg'
def set_avatar(self, img_bytes):
if not img_bytes:
@@ -91,6 +93,7 @@ class ContactPC:
self.avatar.loadFromData(img_bytes, format='PNG')
else:
self.avatar.loadFromData(img_bytes, format='jfif')
+
self.avatar.scaled(60, 60, Qt.IgnoreAspectRatio, Qt.SmoothTransformation)
diff --git a/app/ui_pc/chat/chat_info.py b/app/ui_pc/chat/chat_info.py
index d5a7958..dd2bf1e 100644
--- a/app/ui_pc/chat/chat_info.py
+++ b/app/ui_pc/chat/chat_info.py
@@ -100,6 +100,7 @@ class ChatInfo(QWidget):
)
self.chat_window.add_message_item(bubble_message, 0)
elif type_ == 3:
+ return
if self.is_5_min(timestamp):
time_message = Notice(self.last_str_time)
self.last_str_time = str_time
diff --git a/app/ui_pc/contact/contactInfo.py b/app/ui_pc/contact/contactInfo.py
index 107977c..afc7e36 100644
--- a/app/ui_pc/contact/contactInfo.py
+++ b/app/ui_pc/contact/contactInfo.py
@@ -114,12 +114,13 @@ class ContactInfo(QWidget, Ui_Form):
self.outputThread = Output(self.contact, type_=Output.CSV)
print('导出csv')
elif self.sender() == self.toHtmlAct:
- print('功能暂未实现')
- QMessageBox.warning(self,
- "别急别急",
- "马上就实现该功能"
- )
- return
+ self.outputThread = Output(self.contact, type_=Output.HTML)
+ # print('功能暂未实现')
+ # QMessageBox.warning(self,
+ # "别急别急",
+ # "马上就实现该功能"
+ # )
+ # return
self.outputThread.progressSignal.connect(self.output_progress)
self.outputThread.rangeSignal.connect(self.set_progressBar_range)
self.outputThread.okSignal.connect(self.hide_progress_bar)