mirror of
				https://github.com/Kakune55/ComiPy.git
				synced 2025-11-01 04:54:41 +08:00 
			
		
		
		
	fix:修复了隐私保护的模糊效果没有在safari中正常显示的问题
This commit is contained in:
		| @@ -76,14 +76,14 @@ | ||||
|         <div class="header"> | ||||
|             <div class="movie-poster"> | ||||
|                 <!-- 封面 --> | ||||
|                 <img src="/api/img/{{ id }}/1?mini=yes" alt="封面" style="max-width: 100%;"> | ||||
|                 <img class="img-thumbnail" src="/api/img/{{ id }}/1?mini=yes" alt="封面" style="max-width: 100%;"> | ||||
|             </div> | ||||
|             <div class="movie-details"> | ||||
|                 <!-- 详细信息 --> | ||||
|                 <h1>{{ data[0][2] }}</h1> | ||||
|                 <h2>时间: {{time}}</h2> | ||||
|                 <h2>暂无评价</h2> | ||||
|                 <button onclick="window.location.href='/view/{{ id }}'">在线浏览</button> | ||||
|                 <button class="btn btn-primary" onclick="window.location.href='/view/{{ id }}'">在线浏览</button> | ||||
|             </div> | ||||
|         </div> | ||||
|         <div class="comments-section"> | ||||
|   | ||||
| @@ -47,6 +47,7 @@ | ||||
|       width: 100%; | ||||
|       height: 100%; | ||||
|       backdrop-filter: blur(10px); | ||||
|       -webkit-backdrop-filter: blur(10px); | ||||
|       /* 模糊度可以根据需要调整 */ | ||||
|       transition: display; | ||||
|       z-index: 1; | ||||
| @@ -54,7 +55,7 @@ | ||||
|       pointer-events: none; | ||||
|       /* 确保遮罩不影响下方元素的交互 */ | ||||
|       opacity: 0; | ||||
|       transition: opacity 0.3s ease | ||||
|       transition: opacity 0.1s ease | ||||
|     } | ||||
|   </style> | ||||
| </head> | ||||
|   | ||||
| @@ -1,5 +1,6 @@ | ||||
| <!DOCTYPE html> | ||||
| <html lang="zh-cn"> | ||||
|  | ||||
| <head> | ||||
|     <meta charset="UTF-8"> | ||||
|     <meta name="viewport" content="width=device-width, initial-scale=1.0"> | ||||
| @@ -16,6 +17,7 @@ | ||||
|         } | ||||
|     </style> | ||||
| </head> | ||||
|  | ||||
| <body> | ||||
|     <div class="container mt-5"> | ||||
|         <h2 class="text-center text-primary mb-4">文件上传</h2> | ||||
| @@ -25,9 +27,10 @@ | ||||
|                 <button class="btn btn-primary btn-block" onclick="to_upload_file()" id="upload_button">上传</button> | ||||
|             </div> | ||||
|         </div> | ||||
|         <div class="progress" role="progressbar" aria-label="Animated striped example" aria-valuenow="0" aria-valuemin="0" aria-valuemax="100"> | ||||
|         <div class="progress" role="progressbar" aria-label="Animated striped example" aria-valuenow="0" | ||||
|             aria-valuemin="0" aria-valuemax="100"> | ||||
|             <div id="progress_bar" class="progress-bar progress-bar-striped progress-bar-animated"></div> | ||||
|           </div> | ||||
|         </div> | ||||
|         <div class="text-center" id="loading">上传进度0%</div> | ||||
|     </div> | ||||
|  | ||||
| @@ -84,4 +87,5 @@ | ||||
|         } | ||||
|     </script> | ||||
| </body> | ||||
| </html> | ||||
|  | ||||
| </html> | ||||
| @@ -40,6 +40,7 @@ | ||||
|             width: 100%; | ||||
|             height: 100%; | ||||
|             backdrop-filter: blur(12px); | ||||
|             -webkit-backdrop-filter: blur(12px); | ||||
|             /* 模糊度可以根据需要调整 */ | ||||
|             transition: display; | ||||
|             z-index: 1; | ||||
| @@ -47,7 +48,7 @@ | ||||
|             pointer-events: none; | ||||
|             /* 确保遮罩不影响下方元素的交互 */ | ||||
|             opacity: 0; | ||||
|             transition: opacity 0.3s ease | ||||
|             transition: opacity 0.1s ease | ||||
|         } | ||||
|     </style> | ||||
| </head> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user