diff --git a/app/DataBase/output_pc.py b/app/DataBase/output_pc.py index 5f445a0..a9fdfa4 100644 --- a/app/DataBase/output_pc.py +++ b/app/DataBase/output_pc.py @@ -7,6 +7,8 @@ from . import msg from ..log import log from ..person import MePC +from ..DataBase import hard_link +from ..util import get_abs_path if not os.path.exists('./data/聊天记录'): os.mkdir('./data/聊天记录') @@ -501,6 +503,12 @@ class ChildThread(QThread): user-select:none; } + .chat-image img{ + margin-right: 18px; + margin-left: 18px; + max-width: 300px; + max-height: auto; + } .avatar img{ width: 42px; height: 42px; @@ -557,6 +565,56 @@ class ChildThread(QThread): -webkit-box-shadow:inset006pxrgba(0,0,0,0.5); } + .pagination-container { + display: flex; + flex-direction: column; + align-items: center; + margin-top: 20px; + margin-left: 20px; /* 新增的左边距 */ +} + +.button-row, +.jump-row, +#paginationInfo { + display: flex; + justify-content: center; + align-items: center; + margin-bottom: 10px; +} + +button { + padding: 10px 25px; + background-color: #3498db; + color: white; + border: none; + border-radius: 4px; + cursor: pointer; + margin: 0 14px; + transition: background-color 0.3s; +} + +button:hover { + background-color: #2980b9; +} + +input { + padding: 8px; + width: 120px; + box-sizing: border-box; + margin-right: 0px; + margin-left: 15px; +} + +button, +input { + font-size: 14px; +} + +#paginationInfo { + color: #555; + font-size: 14px; +} + @@ -586,13 +644,16 @@ class ChildThread(QThread):
-
+
+
-
-
+
+
+
+