更新 jQuery3.7.1 修复静态文件 授信 host 功能

This commit is contained in:
高雄
2026-04-10 15:41:07 +08:00
parent c41c14bf3c
commit f97ed04ab0
41 changed files with 6896 additions and 118497 deletions

View File

@@ -1,44 +1,159 @@
<!DOCTYPE html>
<html lang="en">
<html lang="zh-CN">
<head>
<meta charset="utf-8"/>
<style type="text/css">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>暂不支持预览</title>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
margin: 0 auto;
width: 900px;
background-color: #CCB;
font-family: 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
padding: 20px;
}
.container {
width: 700px;
height: 700px;
margin: 0 auto;
.error-card {
max-width: 600px;
width: 100%;
background: #ffffff;
border-radius: 32px;
box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
text-align: center;
padding: 40px 32px 48px;
transition: transform 0.2s ease;
}
img {
width: auto;
height: auto;
max-width: 100%;
max-height: 100%;
padding-bottom: 36px;
.error-card:hover {
transform: translateY(-4px);
}
span {
display: block;
font-size: 20px;
color: blue;
.icon-container {
margin-bottom: 24px;
}
.icon-container img {
width: 120px;
height: 120px;
display: inline-block;
}
h1 {
font-size: 28px;
font-weight: 700;
color: #1e293b;
margin-bottom: 12px;
}
.file-type-badge {
background: #f1f5f9;
color: #0f172a;
font-weight: 600;
display: inline-block;
padding: 6px 16px;
border-radius: 40px;
font-size: 14px;
margin-bottom: 20px;
}
.reason-box {
background: #fef2f2;
border-left: 4px solid #dc2626;
padding: 16px 20px;
border-radius: 16px;
margin: 20px 0;
text-align: left;
}
.reason-label {
font-weight: 600;
color: #991b1b;
margin-bottom: 8px;
display: flex;
align-items: center;
gap: 6px;
}
.reason-message {
color: #1e293b;
font-size: 15px;
line-height: 1.5;
word-break: break-word;
}
.community-link {
background: #f8fafc;
border-radius: 24px;
padding: 16px 20px;
margin-top: 28px;
border: 1px solid #e2e8f0;
}
.community-link p {
font-size: 15px;
color: #334155;
margin-bottom: 10px;
}
.community-link a {
display: inline-flex;
align-items: center;
gap: 8px;
background: #3b82f6;
color: white;
text-decoration: none;
padding: 10px 24px;
border-radius: 40px;
font-weight: 500;
transition: background 0.2s;
}
.community-link a:hover {
background: #2563eb;
}
.footer-note {
margin-top: 24px;
font-size: 13px;
color: #94a3b8;
}
</style>
</head>
<body>
<div class="container">
<img src="images/sorry.jpg"/>
<span>
该(${fileType})文件,系统暂不支持在线预览,具体原因如下:
<p style="color: red;">${msg}</p>
</span>
<p>有任何疑问请加入kk开源社区知识星球咨询<a href="https://t.zsxq.com/09ZHSXbsQ">https://t.zsxq.com/09ZHSXbsQ</a><br></p>
<div class="error-card">
<div class="icon-container">
<!-- Base64 内嵌 SVG文档 + 问号,表示不支持 -->
<img src="data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCIgZmlsbD0iI2Y1OTAwYiIgd2lkdGg9IjEyMCIgaGVpZ2h0PSIxMjAiPgogIDxwYXRoIGQ9Ik0yMCA2aC04bC0yLTJINGMyLTEuMSAwLTEgMCAwdjE0YzAgMS4xLjkgMiAyIDJoMTZjMS4xIDAgMi0uOSAyLTJWN2MwLTEuMS0uOS0yLTItMnptLTIgMTJINlY4aDQuMjFsMiAySDE4djh6bS01LTRoLTR2LTJoNHYyem0wLTNoLTRWOWg0djJ6Ii8+Cjwvc3ZnPg==" alt="不支持预览">
</div>
<h1>暂不支持在线预览</h1>
<div class="file-type-badge">
📄 文件类型:${fileType}
</div>
<div class="reason-box">
<div class="reason-label">
⚠️ 具体原因
</div>
<div class="reason-message">
${msg}
</div>
</div>
<div class="community-link">
<p>有任何疑问,欢迎加入 kk 开源社区知识星球咨询</p>
<a href="https://t.zsxq.com/09ZHSXbsQ" target="_blank" rel="noopener noreferrer">
🔗 加入知识星球
</a>
</div>
<div class="footer-note">
系统暂不支持此格式在线查看,建议下载后使用本地软件打开
</div>
</div>
</body>
</html>
</html>