refactor: 修复知识库和操作指引
This commit is contained in:
94
public/guides/water-leak-alarm/step-2.html
Normal file
94
public/guides/water-leak-alarm/step-2.html
Normal file
@@ -0,0 +1,94 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh-CN">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>步骤 2 - 搜索光学棚屋</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: 14px; }
|
||||
|
||||
.step-content {
|
||||
font-size: 14px;
|
||||
line-height: 1.6;
|
||||
color: #475569;
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
|
||||
.step-content p { margin-bottom: 12px; }
|
||||
.step-content ul { margin-left: 24px; margin-top: 12px; }
|
||||
.step-content li { margin-bottom: 8px; }
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="step-title">步骤 2: 搜索光学棚屋</div>
|
||||
|
||||
<div class="step-image-container">
|
||||
<img src="images/optics-hutch-layout.jpg" alt="光学棚屋布局图" class="step-image"
|
||||
onerror="this.style.display='none'">
|
||||
|
||||
<svg class="annotation-layer">
|
||||
<rect class="annotation-box" x="15%" y="20%" width="20%" height="16%" stroke="#c4b5fd" />
|
||||
<text class="annotation-label" x="16%" y="17%" fill="#7c3aed">1-10</text>
|
||||
<rect class="annotation-box" x="42%" y="20%" width="20%" height="16%" stroke="#93c5fd" />
|
||||
<text class="annotation-label" x="43%" y="17%" fill="#2563eb">11-20</text>
|
||||
<rect class="annotation-box" x="68%" y="20%" width="20%" height="16%" stroke="#6ee7b7" />
|
||||
<text class="annotation-label" x="69%" y="17%" fill="#059669">21-30</text>
|
||||
</svg>
|
||||
</div>
|
||||
|
||||
<div class="step-content">
|
||||
<p>根据检测模块显示的编号,进入光学棚屋找到对应的水泄漏检测线缆。</p>
|
||||
<p>线缆编号对应位置:</p>
|
||||
<ul>
|
||||
<li><strong>1-10</strong>:单色器区域</li>
|
||||
<li><strong>11-20</strong>:聚焦镜区域</li>
|
||||
<li><strong>21-30</strong>:实验站区域</li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Reference in New Issue
Block a user