diff --git a/templates/book.html b/templates/book.html index 32452fa..f500658 100644 --- a/templates/book.html +++ b/templates/book.html @@ -76,14 +76,14 @@
- 封面 + 封面

{{ data[0][2] }}

时间: {{time}}

暂无评价

- +
diff --git a/templates/overview.html b/templates/overview.html index 771d5dc..5b120ec 100644 --- a/templates/overview.html +++ b/templates/overview.html @@ -39,28 +39,23 @@ } } - .image { - max-width: 100%; - height: auto; - cursor: pointer; - } - - #imageContainer { - display: none; - justify-content: center; - align-items: center; + #global-blur { + background-color: rgba(255, 255, 255, 0.5); position: fixed; - top: 50%; - left: 50%; - transform: translate(-50%, -50%); - z-index: 9999; - max-height: 90%; - max-width: 90%; - } - - #imageContainer img { - max-width: 100%; - height: auto; + top: 0; + left: 0; + width: 100%; + height: 100%; + backdrop-filter: blur(10px); + -webkit-backdrop-filter: blur(10px); + /* 模糊度可以根据需要调整 */ + transition: display; + z-index: 1; + /* 保证遮罩在页面上方 */ + pointer-events: none; + /* 确保遮罩不影响下方元素的交互 */ + opacity: 0; + transition: opacity 0.1s ease } @@ -68,33 +63,41 @@
- +
-
+