1
zhang
9 小时以前 6c229bdd8c538ef4990a6c54ecfc081a7e95c923
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
<!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>