diff --git a/app/DataBase/output_pc.py b/app/DataBase/output_pc.py index 56abf26..a9e8e15 100644 --- a/app/DataBase/output_pc.py +++ b/app/DataBase/output_pc.py @@ -458,6 +458,25 @@ class ChildThread(QThread): align-items: center; justify-content: center; } + + .modal { + display: none; + position: fixed; + z-index: 9999; + top: 0; + left: 0; + width: 100%; + height: 100%; + background-color: rgba(0, 0, 0, 0.8); + } + + .modal-image { + display: block; + max-width: 90%; + max-height: 90%; + margin: auto; + margin-top: 5%; + } .container{ height: 760px; width: 900px; @@ -681,6 +700,9 @@ input {
+
@@ -809,11 +831,11 @@ const chatMessages = [ else if (message.type == 3){ if (message.is_send == 1){ messageElement.className = "item item-right"; - messageElement.innerHTML = `
` + messageElement.innerHTML = `
` } else if(message.is_send==0){ messageElement.className = "item item-left"; - messageElement.innerHTML = `
` + messageElement.innerHTML = `
` } } chatContainer.appendChild(messageElement); @@ -856,6 +878,21 @@ const chatMessages = [ // 初始化页面 renderPage(currentPage); + + ''' diff --git a/app/web_ui/web.py b/app/web_ui/web.py index 23adec6..af210be 100644 --- a/app/web_ui/web.py +++ b/app/web_ui/web.py @@ -48,8 +48,8 @@ def home(): def one(): msg_db.init_database(path='../DataBase/Msg/MSG.db') wxid = 'wxid_0o18ef858vnu22' - # wxid = 'wxid_8piw6sb4hvfm22' - wxid = 'wxid_lltzaezg38so22' + wxid = 'wxid_8piw6sb4hvfm22' + # wxid = 'wxid_lltzaezg38so22' world_cloud_data = analysis.wordcloud(wxid) # 创建一个简单的柱状图 with open('message_num_test.html','w',encoding='utf-8') as f: