<!DOCTYPE html>
|
<html lang="zh-CN">
|
<head>
|
<meta charset="UTF-8">
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
<style>
|
* {
|
margin: 0;
|
padding: 0;
|
box-sizing: border-box;
|
}
|
|
body {
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
|
background: linear-gradient(135deg, #ffffff, #f8f9fa);
|
padding: 20px;
|
}
|
|
h3 {
|
font-size: 16px;
|
margin-bottom: 20px;
|
padding-bottom: 15px;
|
border-bottom: 2px solid #e0e0e0;
|
color: #333;
|
font-weight: 700;
|
position: relative;
|
}
|
|
h3::before {
|
content: '📝';
|
margin-right: 8px;
|
}
|
|
h3::after {
|
content: '';
|
position: absolute;
|
bottom: -2px;
|
left: 0;
|
width: 30px;
|
height: 2px;
|
background: linear-gradient(90deg, #667eea, #764ba2);
|
}
|
|
ul {
|
list-style: none;
|
}
|
|
ul li {
|
padding: 10px 12px;
|
cursor: pointer;
|
color: #555;
|
font-size: 14px;
|
border-radius: 6px;
|
margin-bottom: 4px;
|
transition: all 0.3s ease;
|
position: relative;
|
padding-left: 25px;
|
}
|
|
ul li::before {
|
content: '▸';
|
position: absolute;
|
left: 10px;
|
color: #0066cc;
|
font-size: 10px;
|
transition: all 0.3s ease;
|
}
|
|
ul li:hover {
|
background: linear-gradient(135deg, #f0f4ff, #e8f0fe);
|
padding-left: 30px;
|
box-shadow: 0 2px 6px rgba(102, 126, 234, 0.1);
|
}
|
|
ul li:hover::before {
|
left: 12px;
|
color: #667eea;
|
}
|
|
ul li a {
|
color: #555;
|
text-decoration: none;
|
display: block;
|
font-weight: 500;
|
transition: color 0.3s ease;
|
}
|
|
ul li a:hover {
|
color: #667eea;
|
font-weight: 600;
|
}
|
|
/* 滚动条美化 */
|
::-webkit-scrollbar {
|
width: 6px;
|
}
|
|
::-webkit-scrollbar-track {
|
background: #f1f1f1;
|
border-radius: 3px;
|
}
|
|
::-webkit-scrollbar-thumb {
|
background: linear-gradient(135deg, #667eea, #764ba2);
|
border-radius: 3px;
|
}
|
|
::-webkit-scrollbar-thumb:hover {
|
background: linear-gradient(135deg, #764ba2, #667eea);
|
}
|
</style>
|
</head>
|
<body>
|
<h3>本页内容</h3>
|
<ul>
|
<li><a href="javascript:void(0);" onclick="scrollToSection('api-overview'); return false;">接口概览</a></li>
|
<li><a href="javascript:void(0);" onclick="scrollToSection('api-task-create'); return false;">生成任务单*</a></li>
|
<li><a href="javascript:void(0);" onclick="scrollToSection('api-task-cancel'); return false;">取消任务单*</a></li>
|
<li><a href="javascript:void(0);" onclick="scrollToSection('api-task-notice'); return false;">任务执行通知*</a></li>
|
<li><a href="javascript:void(0);" onclick="scrollToSection('api-task-priority'); return false;">申请入库任务*</a></li>
|
<!-- <li><a href="javascript:void(0);" onclick="scrollToSection('api-loc-status'); return false;">库位状态修改</a></li> -->
|
<li><a href="javascript:void(0);" onclick="scrollToSection('error-codes'); return false;">错误码说明</a></li>
|
</ul>
|
|
<script>
|
function scrollToSection(sectionId) {
|
window.parent.postMessage({
|
type: 'scrollToSection',
|
sectionId: sectionId
|
}, '*');
|
}
|
</script>
|
</body>
|
</html>
|