refactor: 修复知识库和操作指引

This commit is contained in:
2026-03-13 14:32:37 +08:00
parent bbe8e60646
commit 58f42de9df
88 changed files with 3387 additions and 2472 deletions

View File

@@ -0,0 +1,96 @@
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>步骤 4 - 检查气动系统</title>
<style>
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body {
width: 100%;
height: 100%;
font-family: "PingFang SC", "Microsoft YaHei", sans-serif;
padding: 24px;
background: white;
color: #0f172a;
overflow-y: auto;
}
.step-title {
font-size: 18px;
font-weight: bold;
margin-bottom: 16px;
color: #0f172a;
}
.step-image-container {
position: relative;
margin-bottom: 16px;
}
.step-image {
max-width: 100%;
height: auto;
border: 1px solid #e2e8f0;
border-radius: 8px;
display: block;
}
.annotation-layer {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
pointer-events: none;
}
.annotation-box { stroke-width: 3; fill: none; }
.annotation-label { font-weight: bold; font-size: 16px; }
.step-content {
font-size: 14px;
line-height: 1.6;
color: #475569;
margin-bottom: 24px;
}
.step-content p { margin-bottom: 12px; }
.step-content ol { margin-left: 24px; margin-top: 12px; }
.step-content li { margin-bottom: 8px; }
.step-content code {
background: #f1f5f9;
padding: 2px 6px;
border-radius: 4px;
font-size: 13px;
color: #0f172a;
}
</style>
</head>
<body>
<div class="step-title">步骤 4: 检查气动系统</div>
<div class="step-image-container">
<img src="images/pneumatic-system.jpg" alt="气动系统" class="step-image"
onerror="this.style.display='none'">
<svg class="annotation-layer">
<rect class="annotation-box" x="22%" y="28%" width="30%" height="24%" stroke="#06b6d4" />
<text class="annotation-label" x="23%" y="25%" fill="#06b6d4">气动控制单元</text>
</svg>
</div>
<div class="step-content">
<p>如果复位后仍无法打开,检查气动系统:</p>
<ol>
<li>确认压缩空气供应正常(压力 &gt; <code>5 bar</code></li>
<li>检查气动管路是否有泄漏</li>
<li>查看电磁阀是否工作(应有"咔哒"声)</li>
</ol>
</div>
</body>
</html>