refactor: 修复知识库和操作指引
This commit is contained in:
115
public/guides/water-leak-alarm/step-1.html
Normal file
115
public/guides/water-leak-alarm/step-1.html
Normal file
@@ -0,0 +1,115 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh-CN">
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>步骤 1 - 确认报警位置</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; }
|
||||
.annotation-arrow { stroke-width: 3; fill: none; }
|
||||
|
||||
.step-content {
|
||||
font-size: 14px;
|
||||
line-height: 1.6;
|
||||
color: #475569;
|
||||
margin-bottom: 24px;
|
||||
}
|
||||
|
||||
.step-content p { margin-bottom: 12px; }
|
||||
|
||||
.warning-box {
|
||||
background: #fef2f2;
|
||||
border-left: 4px solid #ef4444;
|
||||
padding: 12px;
|
||||
margin-bottom: 16px;
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
.warning-box strong {
|
||||
color: #dc2626;
|
||||
display: block;
|
||||
margin-bottom: 8px;
|
||||
}
|
||||
|
||||
.warning-box p {
|
||||
color: #991b1b;
|
||||
font-size: 13px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="warning-box">
|
||||
<strong>⚠️ 紧急处理流程</strong>
|
||||
<p>水泄漏报警触发后应立即按照以下步骤处理,防止设备损坏。如遇大面积漏水,请先关闭主水阀并通知值班负责人。</p>
|
||||
</div>
|
||||
|
||||
<div class="step-title">步骤 1: 确认报警位置</div>
|
||||
|
||||
<div class="step-image-container">
|
||||
<img src="images/eps-cabinet.jpg" alt="EPS 机柜" class="step-image"
|
||||
onerror="this.style.display='none'">
|
||||
|
||||
<svg class="annotation-layer">
|
||||
<defs>
|
||||
<marker id="arrowhead" markerWidth="10" markerHeight="10" refX="9" refY="3" orient="auto">
|
||||
<polygon points="0 0, 10 3, 0 6" fill="#ef4444" />
|
||||
</marker>
|
||||
</defs>
|
||||
<rect class="annotation-box" x="30%" y="30%" width="35%" height="20%" stroke="#ef4444" />
|
||||
<text class="annotation-label" x="31%" y="27%" fill="#ef4444">水泄漏检测模块</text>
|
||||
<line class="annotation-arrow" x1="48%" y1="50%" x2="48%" y2="60%" stroke="#ef4444" marker-end="url(#arrowhead)" />
|
||||
<text class="annotation-label" x="50%" y="65%" fill="#ef4444">查看编号</text>
|
||||
</svg>
|
||||
</div>
|
||||
|
||||
<div class="step-content">
|
||||
<p>水泄漏报警已触发。首先需要确认漏水点的具体位置。</p>
|
||||
<p>请查看设备保护系统(EPS)机柜上的水泄漏检测模块,记录显示的数字编号。</p>
|
||||
</div>
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Reference in New Issue
Block a user