mirror of
https://github.com/LC044/WeChatMsg
synced 2025-02-23 03:22:17 +08:00
修复image缩略图获取不了的问题;修复大缩放下html元素超出页面的问题
This commit is contained in:
parent
fbe1f66660
commit
41879b2fbc
@ -201,6 +201,10 @@ class ChildThread(QThread):
|
|||||||
str_content = escape_js_and_html(str_content)
|
str_content = escape_js_and_html(str_content)
|
||||||
image_path = hard_link_db.get_image(str_content, BytesExtra, thumb=False)
|
image_path = hard_link_db.get_image(str_content, BytesExtra, thumb=False)
|
||||||
image_thumb_path = hard_link_db.get_image(str_content, BytesExtra, thumb=True)
|
image_thumb_path = hard_link_db.get_image(str_content, BytesExtra, thumb=True)
|
||||||
|
if not os.path.exists(os.path.join(MePC().wx_dir, image_path)):
|
||||||
|
image_path = None
|
||||||
|
if not os.path.exists(os.path.join(MePC().wx_dir, image_thumb_path)):
|
||||||
|
image_thumb_path = None
|
||||||
if image_path is None and image_thumb_path is not None:
|
if image_path is None and image_thumb_path is not None:
|
||||||
image_path = image_thumb_path
|
image_path = image_thumb_path
|
||||||
if image_path is None and image_thumb_path is None:
|
if image_path is None and image_thumb_path is None:
|
||||||
@ -608,7 +612,7 @@ body{
|
|||||||
margin-top: 5%;
|
margin-top: 5%;
|
||||||
}
|
}
|
||||||
.container{
|
.container{
|
||||||
height: 760px;
|
height: 99%;
|
||||||
width: 900px;
|
width: 900px;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
border: 0.5px solid #e0e0e0;
|
border: 0.5px solid #e0e0e0;
|
||||||
|
Loading…
Reference in New Issue
Block a user