dknowc-dsh 1.1.1 → 1.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +14 -4
- package/package.json +3 -3
- package/skills/dknowc-official-doc-writer/README.md +7 -2
- package/skills/dknowc-official-doc-writer/SKILL.md +38 -21
- package/skills/dknowc-official-doc-writer/reference/material_usage_guidance.md +3 -3
- package/skills/dknowc-official-doc-writer/reference/output_guide.md +3 -3
- package/skills/dknowc-official-doc-writer/reference/review_checklist.md +18 -14
- package/skills/dknowc-official-doc-writer/reference/revision_workflow.md +45 -0
- package/skills/dknowc-official-doc-writer/reference/sample_search_result.md +1 -1
- package/skills/dknowc-official-doc-writer/reference/sample_trace_report.html +323 -57
- package/skills/dknowc-official-doc-writer/reference/search_guide.md +22 -11
- package/skills/dknowc-official-doc-writer/reference/search_intro.md +14 -3
- package/skills/dknowc-official-doc-writer/reference/search_policy.md +12 -10
- package/skills/dknowc-official-doc-writer/reference/task_router.md +12 -8
- package/skills/dknowc-official-doc-writer/scripts/check_release.py +10 -0
- package/skills/dknowc-official-doc-writer/scripts/dkag_search.py +43 -9
- package/skills/dknowc-official-doc-writer/scripts/format_document.py +7 -7
- package/skills/dknowc-official-doc-writer/scripts/initialize.py +2 -5
- package/skills/dknowc-official-doc-writer/scripts/local_memory.py +3 -3
- package/skills/dknowc-official-doc-writer/scripts/merge_search_results.py +2 -3
- package/skills/dknowc-official-doc-writer/scripts/outline_reference.py +12 -15
- package/skills/dknowc-official-doc-writer/scripts/register.mjs +3 -1
- package/skills/dknowc-official-doc-writer/scripts/render_trace_html.py +958 -532
- package/skills/dknowc-official-doc-writer/scripts/review_document.py +0 -1
- package/skills/dknowc-official-doc-writer/scripts/source_note_html.py +19 -2
- package/skills/dknowc-official-doc-writer/scripts/template_generator.py +4 -5
- package/skills/dknowc-ppt-assistant/README.md +7 -6
- package/skills/dknowc-ppt-assistant/SKILL.md +7 -5
- package/skills/dknowc-ppt-assistant/references/material_usage.md +20 -8
- package/skills/dknowc-ppt-assistant/references/svg-authoring.md +3 -3
- package/skills/dknowc-ppt-assistant/scripts/preview_slide_html.py +141 -0
- package/skills/dknowc-ppt-assistant/scripts/render_trace_html.py +1037 -587
- package/skills/dknowc-ppt-assistant/workflows/generate-pptx.md +29 -17
- package/skills/dknowc-ppt-assistant/workflows/routing.md +2 -2
- package/skills/dknowc-trusted-consulting/README.md +17 -16
- package/skills/dknowc-trusted-consulting/SKILL.md +58 -30
- package/skills/dknowc-trusted-consulting/reference/consult_intro.md +3 -3
- package/skills/dknowc-trusted-consulting/reference/sample_consult_answer.md +4 -4
- package/skills/dknowc-trusted-consulting/reference/sample_trace_report.html +439 -58
- package/skills/dknowc-trusted-consulting/scripts/adapt_mcp_result.py +4 -0
- package/skills/dknowc-trusted-consulting/scripts/register_key.mjs +0 -2
- package/skills/dknowc-trusted-consulting/scripts/render_trace_html.py +1164 -616
- package/skills/dknowc-trusted-search/README.md +2 -2
- package/skills/dknowc-trusted-search/SKILL.md +16 -11
- package/skills/dknowc-trusted-search/reference/sample_trace_report.html +402 -435
- package/skills/dknowc-trusted-search/scripts/render_trace_html.py +1104 -562
- package/src/index.js +3 -3
|
@@ -1,450 +1,417 @@
|
|
|
1
1
|
<!doctype html>
|
|
2
2
|
<html lang="zh-CN">
|
|
3
3
|
<head>
|
|
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
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
}
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
flex-wrap: wrap;
|
|
238
|
-
gap: 8px;
|
|
239
|
-
margin-top: 20px;
|
|
240
|
-
padding-top: 16px;
|
|
241
|
-
border-top: 1px solid var(--line);
|
|
242
|
-
}
|
|
243
|
-
.tools a {
|
|
244
|
-
color: var(--purple);
|
|
245
|
-
background: var(--purple-soft);
|
|
246
|
-
border-radius: 999px;
|
|
247
|
-
padding: 7px 12px;
|
|
248
|
-
text-decoration: none;
|
|
249
|
-
font-weight: 600;
|
|
250
|
-
}
|
|
251
|
-
.sources {
|
|
252
|
-
align-self: start;
|
|
253
|
-
position: sticky;
|
|
254
|
-
top: 70px;
|
|
255
|
-
max-height: calc(100vh - 92px);
|
|
256
|
-
overflow: auto;
|
|
257
|
-
background: #fff;
|
|
258
|
-
border-left: 1px solid var(--line);
|
|
259
|
-
padding: 16px 0 16px 24px;
|
|
260
|
-
}
|
|
261
|
-
.sources h2 { margin: 0 0 12px; font-size: 15px; }
|
|
262
|
-
.searchbox {
|
|
263
|
-
width: 100%;
|
|
264
|
-
margin: 0 0 14px;
|
|
265
|
-
padding: 9px 12px;
|
|
266
|
-
border: 1px solid var(--line);
|
|
267
|
-
border-radius: 8px;
|
|
268
|
-
color: #6b7280;
|
|
269
|
-
background: #fff;
|
|
270
|
-
}
|
|
271
|
-
.source-card {
|
|
272
|
-
padding: 14px 0 15px;
|
|
273
|
-
border: 0;
|
|
274
|
-
border-bottom: 1px solid #f1f1f2;
|
|
275
|
-
border-radius: 0;
|
|
276
|
-
margin-bottom: 0;
|
|
277
|
-
background: #fff;
|
|
278
|
-
}
|
|
279
|
-
.source-card.active {
|
|
280
|
-
margin-left: -10px;
|
|
281
|
-
padding-left: 10px;
|
|
282
|
-
border-left: 3px solid var(--purple);
|
|
283
|
-
background: #fbf8ff;
|
|
284
|
-
box-shadow: none;
|
|
285
|
-
}
|
|
286
|
-
.source-top {
|
|
287
|
-
display: grid;
|
|
288
|
-
grid-template-columns: auto minmax(0, 1fr);
|
|
289
|
-
gap: 7px;
|
|
290
|
-
align-items: start;
|
|
291
|
-
margin-bottom: 6px;
|
|
292
|
-
}
|
|
293
|
-
.source-index {
|
|
294
|
-
color: var(--purple);
|
|
295
|
-
background: var(--purple-soft);
|
|
296
|
-
border-radius: 5px;
|
|
297
|
-
padding: 1px 5px;
|
|
298
|
-
font-weight: 800;
|
|
299
|
-
font-size: 12px;
|
|
300
|
-
line-height: 1.5;
|
|
301
|
-
}
|
|
302
|
-
.source-card h3 { margin: 0; font-size: 13px; line-height: 1.55; letter-spacing: 0; }
|
|
303
|
-
.source-card p { margin: 0 0 7px; color: #374151; line-height: 1.72; font-size: 12px; }
|
|
304
|
-
.source-card .meta { color: var(--muted); font-size: 12px; line-height: 1.55; }
|
|
305
|
-
.source-card .section { color: var(--purple); font-size: 12px; font-weight: 700; }
|
|
306
|
-
.source-card a { color: var(--purple); font-weight: 700; text-decoration: none; font-size: 12px; }
|
|
307
|
-
.source-card .source-excerpt {
|
|
308
|
-
margin: 8px 0 8px;
|
|
309
|
-
padding: 9px 10px;
|
|
310
|
-
border-radius: 7px;
|
|
311
|
-
background: #f8fafc;
|
|
312
|
-
color: #374151;
|
|
313
|
-
font-size: 12px;
|
|
314
|
-
line-height: 1.75;
|
|
315
|
-
}
|
|
316
|
-
.source-excerpt.rich {
|
|
317
|
-
overflow-x: auto;
|
|
318
|
-
max-width: 100%;
|
|
319
|
-
}
|
|
320
|
-
.source-excerpt.rich table {
|
|
321
|
-
width: max-content;
|
|
322
|
-
min-width: 100%;
|
|
323
|
-
border-collapse: collapse;
|
|
324
|
-
background: #fff;
|
|
325
|
-
font-size: 12px;
|
|
326
|
-
line-height: 1.55;
|
|
327
|
-
}
|
|
328
|
-
.source-excerpt.rich td, .source-excerpt.rich th {
|
|
329
|
-
min-width: 92px;
|
|
330
|
-
max-width: 220px;
|
|
331
|
-
padding: 7px 8px;
|
|
332
|
-
border: 1px solid #e5e7eb;
|
|
333
|
-
vertical-align: top;
|
|
334
|
-
word-break: break-word;
|
|
335
|
-
}
|
|
336
|
-
.source-excerpt.rich thead td, .source-excerpt.rich th {
|
|
337
|
-
background: #f3f4f6;
|
|
338
|
-
color: #374151;
|
|
339
|
-
font-weight: 700;
|
|
340
|
-
}
|
|
341
|
-
.empty { color: var(--muted); }
|
|
342
|
-
@media (max-width: 900px) {
|
|
343
|
-
.layout { grid-template-columns: 1fr; padding: 14px; }
|
|
344
|
-
.sources { position: static; max-height: none; }
|
|
345
|
-
.question-bubble { margin-left: 0; }
|
|
346
|
-
}
|
|
347
|
-
</style>
|
|
4
|
+
<meta charset="utf-8">
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
6
|
+
<title>可信溯源核验报告 · 可信溯源核验报告</title>
|
|
7
|
+
<style>
|
|
8
|
+
:root{
|
|
9
|
+
--navy:#0b1f3a; --ink:#172236; --muted:#667085; --line:#dce4ef; --line-strong:#b9c6d9;
|
|
10
|
+
--brand:#1559c7; --brand-soft:#e8f0ff;
|
|
11
|
+
--policy:#0c9b78; --policy-soft:#e2f6ef;
|
|
12
|
+
--case:#b26a00; --case-soft:#fff4e0;
|
|
13
|
+
--ref:#4b5563; --ref-soft:#eef1f6;
|
|
14
|
+
--warn:#b26a00; --danger:#b93939; --ok:#0c9b78;
|
|
15
|
+
}
|
|
16
|
+
*{box-sizing:border-box}
|
|
17
|
+
body{margin:0;font-family:-apple-system,BlinkMacSystemFont,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif;
|
|
18
|
+
color:var(--ink);background:#f4f7fb;line-height:1.75;font-size:14.5px}
|
|
19
|
+
a{color:var(--brand)}
|
|
20
|
+
.topbar{position:sticky;top:0;z-index:10;display:flex;justify-content:space-between;align-items:center;gap:10px;
|
|
21
|
+
padding:10px 22px;background:var(--navy);color:#fff;font-size:13px}
|
|
22
|
+
.topbar .tb-title{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
|
|
23
|
+
.topbar .tags{display:flex;align-items:center;gap:6px;flex:none}
|
|
24
|
+
.topbar .tags span{padding:2px 10px;border:1px solid rgba(255,255,255,.3);border-radius:999px;font-size:11.5px}
|
|
25
|
+
.layout{display:grid;grid-template-columns:minmax(0,760px) minmax(340px,420px);gap:26px;
|
|
26
|
+
max-width:1240px;margin:0 auto;padding:26px 18px 60px}
|
|
27
|
+
/* 左栏 */
|
|
28
|
+
.report{min-width:0}
|
|
29
|
+
.r-head{padding:22px 26px;background:#fff;border:1px solid var(--line);border-radius:12px;margin-bottom:16px;text-align:center}
|
|
30
|
+
.r-head h1{margin:0 0 8px;font-size:22px;color:var(--navy);line-height:1.5}
|
|
31
|
+
.r-head .sub{color:var(--muted);font-size:12.5px}
|
|
32
|
+
.warn-box{margin:0 0 16px;padding:13px 16px;border:1.5px solid var(--danger);border-radius:10px;
|
|
33
|
+
background:#fdf3f3;color:#8f2626;font-size:13.5px;line-height:1.7}
|
|
34
|
+
.verify{margin:0 0 16px;background:#fff;border:1px solid #bfe5d6;border-radius:12px;padding:16px 20px}
|
|
35
|
+
.verify.fail{border-color:#f2c4c4;background:#fffafa}
|
|
36
|
+
.v-head{display:flex;align-items:center;gap:9px;font-size:15px;font-weight:800;color:var(--ok)}
|
|
37
|
+
.verify.fail .v-head{color:var(--danger)}
|
|
38
|
+
.v-shield{display:inline-flex;width:22px;height:22px;border-radius:50%;background:var(--ok);color:#fff;
|
|
39
|
+
align-items:center;justify-content:center;font-size:12px;flex:none}
|
|
40
|
+
.verify.fail .v-shield{background:var(--danger)}
|
|
41
|
+
.v-stamp{margin-left:auto;font-size:11px;border:1.5px solid var(--ok);color:var(--ok);border-radius:5px;
|
|
42
|
+
padding:1px 8px;letter-spacing:2px;flex:none}
|
|
43
|
+
.v-stamp.bad{border-color:var(--danger);color:var(--danger)}
|
|
44
|
+
.v-reasons{margin-top:6px;font-size:12.5px;color:var(--danger)}
|
|
45
|
+
.v-grid{display:grid;grid-template-columns:1fr 1fr;gap:4px 20px;margin-top:10px}
|
|
46
|
+
.vi{display:flex;gap:7px;align-items:baseline;font-size:12.5px;color:#35445c;line-height:1.7;min-width:0}
|
|
47
|
+
.vi .s{font-weight:800;flex:none}
|
|
48
|
+
.vi .s.ok{color:var(--ok)}
|
|
49
|
+
.vi .s.warn{color:var(--warn)}
|
|
50
|
+
.vi .s.fail{color:var(--danger)}
|
|
51
|
+
.vi .s.man{color:var(--case)}
|
|
52
|
+
.vi .s.none{color:var(--muted)}
|
|
53
|
+
.vi .d{color:var(--muted);min-width:0}
|
|
54
|
+
.v-note{margin-top:11px;padding-top:9px;border-top:1px dashed var(--line);font-size:11.5px;color:var(--muted);line-height:1.7}
|
|
55
|
+
/* 正文章节卡 */
|
|
56
|
+
.doc-sec{background:#fff;border:1px solid var(--line);border-radius:12px;padding:20px 24px;margin-bottom:16px}
|
|
57
|
+
.sec-head{display:flex;align-items:center;gap:9px;flex-wrap:wrap;margin-bottom:10px;
|
|
58
|
+
padding-bottom:10px;border-bottom:1px solid var(--line)}
|
|
59
|
+
.sec-no{display:inline-flex;width:26px;height:26px;border-radius:7px;background:var(--brand);color:#fff;
|
|
60
|
+
align-items:center;justify-content:center;font-size:13.5px;font-weight:700;flex:none}
|
|
61
|
+
.sec-head h3{margin:0;font-size:16.5px;color:var(--navy);line-height:1.5}
|
|
62
|
+
.sec-badge{margin-left:auto;font-size:11.5px;color:var(--ok);background:var(--policy-soft);
|
|
63
|
+
border-radius:6px;padding:2px 9px;font-weight:700;flex:none}
|
|
64
|
+
.sec-badge.bad{color:var(--danger);background:#fdecea}
|
|
65
|
+
.doc-sub{margin:16px 0 8px;color:var(--navy);font-size:14.5px;font-weight:700}
|
|
66
|
+
h5.doc-sub{font-size:13.5px}
|
|
67
|
+
.doc-block,.doc-item{margin:0 0 12px}
|
|
68
|
+
.doc-block p,.doc-item p{margin:0;font-size:14px;line-height:1.9}
|
|
69
|
+
.doc-item{display:grid;grid-template-columns:22px minmax(0,1fr);gap:8px}
|
|
70
|
+
.doc-item.numbered{grid-template-columns:28px minmax(0,1fr)}
|
|
71
|
+
.doc-bullet{padding-top:1px;color:#111827;font-size:15px;line-height:1.85}
|
|
72
|
+
.doc-divider{border:0;border-top:1px solid var(--line);margin:18px 0}
|
|
73
|
+
code{padding:1px 5px;border-radius:4px;background:#f3f4f6;color:#374151;
|
|
74
|
+
font-family:ui-monospace,Menlo,Consolas,monospace;font-size:12px}
|
|
75
|
+
.tbl-wrap{max-width:100%;overflow-x:auto;margin:8px 0}
|
|
76
|
+
.data-tbl{width:100%;border-collapse:collapse;border:1px solid var(--line);font-size:13px}
|
|
77
|
+
.data-tbl th,.data-tbl td{border:1px solid var(--line);padding:8px 10px;text-align:left;vertical-align:top;line-height:1.65}
|
|
78
|
+
.data-tbl th{background:#f2f5fb;font-weight:700;color:#374151}
|
|
79
|
+
/* 角标 */
|
|
80
|
+
.cite{margin:0 1px;padding:0 5px;border:0;border-radius:4px;background:var(--brand-soft);color:var(--brand);
|
|
81
|
+
font-weight:800;font-size:10.5px;cursor:pointer;vertical-align:super;font-family:monospace}
|
|
82
|
+
.cite:hover,.cite:focus-visible{background:var(--brand);color:#fff;outline:none}
|
|
83
|
+
.cite.unresolved{background:#fdecea;color:var(--danger)}
|
|
84
|
+
/* 段落级证据 chips */
|
|
85
|
+
.ev-row{display:flex;flex-wrap:wrap;gap:6px;margin:6px 0 2px}
|
|
86
|
+
.ev-chip{max-width:100%}
|
|
87
|
+
.ev-chip summary{display:inline-flex;align-items:center;max-width:100%;border-radius:999px;padding:3px 10px;
|
|
88
|
+
color:#4b5563;background:#f3f4f6;cursor:pointer;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
|
|
89
|
+
list-style:none;font-size:11.5px}
|
|
90
|
+
.ev-chip summary::-webkit-details-marker{display:none}
|
|
91
|
+
.ev-chip summary::after{content:"核验";margin-left:7px;color:#9ca3af;font-size:10.5px}
|
|
92
|
+
.ev-chip[open] summary::after{content:"收起"}
|
|
93
|
+
.ev-chip summary b{color:var(--brand);margin-right:5px}
|
|
94
|
+
.ev-panel{margin:7px 0 6px;padding:12px 14px;border:1px solid var(--line);border-radius:9px;background:#fbfcfe;
|
|
95
|
+
box-shadow:0 8px 24px rgba(15,23,42,.06)}
|
|
96
|
+
.ev-title{font-weight:700;font-size:13.5px;margin-bottom:4px;color:var(--navy)}
|
|
97
|
+
.ev-meta{color:var(--muted);font-size:12px;margin-bottom:6px}
|
|
98
|
+
.ev-panel p{margin:0 0 8px;color:#374151;font-size:12.8px;line-height:1.7}
|
|
99
|
+
.sc-links{display:flex;flex-wrap:wrap;gap:8px;margin-top:6px}
|
|
100
|
+
.sc-links span{display:inline-flex}
|
|
101
|
+
.sc-links a{display:inline-flex;align-items:center;min-height:24px;padding:3px 9px;border-radius:6px;
|
|
102
|
+
background:var(--brand-soft);color:var(--brand);font-weight:700;text-decoration:none;font-size:12px}
|
|
103
|
+
/* 右栏 核验材料 */
|
|
104
|
+
.sources{position:sticky;top:56px;align-self:start;max-height:calc(100vh - 76px);overflow:auto;
|
|
105
|
+
background:#fff;border:1px solid var(--line);border-radius:12px;padding:16px 18px}
|
|
106
|
+
.sources h3{margin:0 0 3px;font-size:15px;color:var(--navy)}
|
|
107
|
+
.src-tip{font-size:11.5px;color:var(--muted);margin-bottom:10px}
|
|
108
|
+
.filters{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:8px}
|
|
109
|
+
.filters button{border:1px solid var(--line);border-radius:999px;background:#fff;color:var(--muted);
|
|
110
|
+
padding:3px 11px;font-size:12px;cursor:pointer}
|
|
111
|
+
.filters button.on{background:var(--brand);border-color:var(--brand);color:#fff;font-weight:700}
|
|
112
|
+
.src-search{width:100%;padding:7px 10px;border:1px solid var(--line);border-radius:7px;font-size:12.5px;margin-bottom:12px}
|
|
113
|
+
.scard{border:1px solid var(--line);border-left-width:3px;border-radius:10px;padding:11px 13px;margin-bottom:10px;
|
|
114
|
+
background:#fff;transition:box-shadow .25s}
|
|
115
|
+
.scard.pol{border-left-color:var(--policy)}
|
|
116
|
+
.scard.dat{border-left-color:var(--brand)}
|
|
117
|
+
.scard.cas{border-left-color:var(--case)}
|
|
118
|
+
.scard.ref,.scard.mat{border-left-color:var(--ref)}
|
|
119
|
+
.scard.hl{box-shadow:0 0 0 3px var(--brand)}
|
|
120
|
+
.scard.hide{display:none}
|
|
121
|
+
.sc-head{display:flex;align-items:center;gap:7px;margin-bottom:4px}
|
|
122
|
+
.sc-id{font-family:monospace;font-weight:800;font-size:11px;color:var(--brand);background:var(--brand-soft);
|
|
123
|
+
border-radius:4px;padding:1px 7px}
|
|
124
|
+
.sc-type{font-size:11px;font-weight:700;border-radius:4px;padding:1px 8px;background:var(--ref-soft);color:var(--ref)}
|
|
125
|
+
.scard.pol .sc-type{background:var(--policy-soft);color:var(--policy)}
|
|
126
|
+
.scard.dat .sc-type{background:var(--brand-soft);color:var(--brand)}
|
|
127
|
+
.scard.cas .sc-type{background:var(--case-soft);color:var(--case)}
|
|
128
|
+
.sc-vk{margin-left:auto;font-size:11px;font-weight:800;color:var(--ok)}
|
|
129
|
+
.sc-vk.warn{color:var(--warn)}
|
|
130
|
+
.sc-vk.none{color:#98a2b3}
|
|
131
|
+
.sc-id.unc{font-family:inherit;font-size:10px;color:#9ca3af;background:#f3f4f6;padding:1px 8px}
|
|
132
|
+
.v-reasons.note{color:var(--warn)}
|
|
133
|
+
.scard h4{margin:0 0 4px;font-size:13px;color:var(--navy);line-height:1.55}
|
|
134
|
+
.sc-meta{font-size:11.5px;color:var(--muted)}
|
|
135
|
+
.sc-section{font-size:11.5px;color:var(--brand);margin-top:3px;font-weight:600}
|
|
136
|
+
.sc-vnote{margin-top:5px;font-size:11.3px;color:var(--ok);line-height:1.6}
|
|
137
|
+
.sc-excerpt{margin:7px 0;padding:9px 10px;border-radius:7px;background:#f8fafc;color:#42566f;font-size:12px;line-height:1.7;
|
|
138
|
+
display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;cursor:pointer}
|
|
139
|
+
.scard.open .sc-excerpt{display:block;-webkit-line-clamp:unset}
|
|
140
|
+
.sc-excerpt.rich{overflow-x:auto}
|
|
141
|
+
.sc-excerpt.rich table{width:max-content;min-width:100%;border-collapse:collapse;background:#fff;font-size:12px}
|
|
142
|
+
.sc-excerpt.rich td,.sc-excerpt.rich th{min-width:92px;max-width:220px;padding:7px 8px;border:1px solid var(--line);
|
|
143
|
+
vertical-align:top;word-break:break-word}
|
|
144
|
+
.sc-excerpt.rich thead td,.sc-excerpt.rich th{background:#f3f4f6;color:#374151;font-weight:700}
|
|
145
|
+
.scard .sc-links a{font-size:12px}
|
|
146
|
+
.scard .sc-links{margin-top:4px}
|
|
147
|
+
.no-link{font-size:11.5px;color:var(--muted)}
|
|
148
|
+
.uncited-group{margin-top:12px;border-top:1px dashed var(--line-strong);padding-top:10px}
|
|
149
|
+
.ug-title{font-size:12.5px;color:var(--muted);font-weight:700;line-height:1.6}
|
|
150
|
+
.uncited-group .uncited-list{margin-top:10px}
|
|
151
|
+
/* 知识专库 */
|
|
152
|
+
.kb-zone{margin-top:14px;border-top:1px dashed var(--line-strong);padding-top:12px}
|
|
153
|
+
.kb-title{font-size:12.5px;font-weight:800;color:var(--navy)}
|
|
154
|
+
.kb-desc{font-size:11.3px;color:var(--muted);line-height:1.65;margin:3px 0 8px}
|
|
155
|
+
.kb-list{display:flex;flex-direction:column;gap:7px}
|
|
156
|
+
.kb-chip{display:flex;align-items:center;gap:8px;padding:7px 10px;border:1px solid var(--line);border-radius:8px;
|
|
157
|
+
background:#fbfcfe;text-decoration:none;font-size:11.5px}
|
|
158
|
+
.kb-chip:hover{border-color:var(--brand);background:var(--brand-soft)}
|
|
159
|
+
.kb-label{font-weight:700;color:#374151;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
|
|
160
|
+
.kb-count{padding-left:8px;border-left:1px solid var(--line);color:var(--muted);white-space:nowrap}
|
|
161
|
+
.kb-arrow{margin-left:auto;color:var(--brand);font-weight:700;white-space:nowrap}
|
|
162
|
+
.empty{color:var(--muted)}
|
|
163
|
+
.foot{text-align:center;color:var(--muted);font-size:11.5px;padding:16px 0 4px;line-height:1.8}
|
|
164
|
+
@media (max-width:1020px){
|
|
165
|
+
.layout{grid-template-columns:1fr}
|
|
166
|
+
.sources{position:static;max-height:none}
|
|
167
|
+
}
|
|
168
|
+
/* —— 移动端专项适配(手机阅读核验报告) —— */
|
|
169
|
+
.mobile-nav{display:none}
|
|
170
|
+
.back-doc{display:none}
|
|
171
|
+
/* 移动端材料底部弹层:点角标就地弹出材料卡,不跳转打断阅读 */
|
|
172
|
+
.sheet-mask{display:none}
|
|
173
|
+
.sheet{display:none}
|
|
174
|
+
@media (max-width:680px){
|
|
175
|
+
body{font-size:14px;line-height:1.8}
|
|
176
|
+
.layout{grid-template-columns:1fr;padding:12px 10px 40px;gap:14px}
|
|
177
|
+
.topbar{padding:8px 12px;font-size:12px;gap:4px;flex-wrap:wrap}
|
|
178
|
+
.topbar .tags span{font-size:10.5px;padding:1px 8px;margin-left:4px}
|
|
179
|
+
.r-head{padding:16px 14px;border-radius:10px}
|
|
180
|
+
.r-head h1{font-size:18px}
|
|
181
|
+
.r-head .sub{font-size:11.5px;line-height:1.6}
|
|
182
|
+
.verify{padding:13px 14px;border-radius:10px}
|
|
183
|
+
.v-head{font-size:14px}
|
|
184
|
+
.v-grid{grid-template-columns:1fr;gap:2px 0}
|
|
185
|
+
.vi{flex-wrap:wrap;gap:4px 8px}
|
|
186
|
+
.vi .d{min-width:0}
|
|
187
|
+
.warn-box{font-size:12.5px;padding:11px 12px}
|
|
188
|
+
.doc-sec{padding:14px;border-radius:10px}
|
|
189
|
+
.sec-no{width:22px;height:22px;font-size:12px;border-radius:6px}
|
|
190
|
+
.sec-head{gap:7px;padding-bottom:8px;margin-bottom:8px}
|
|
191
|
+
.sec-head h3{font-size:15px}
|
|
192
|
+
.sec-badge{margin-left:0;font-size:11px}
|
|
193
|
+
.doc-block p,.doc-item p{font-size:13.5px;line-height:1.95}
|
|
194
|
+
.doc-sub{font-size:14px;margin:12px 0 6px}
|
|
195
|
+
.data-tbl{font-size:12px}
|
|
196
|
+
.data-tbl th,.data-tbl td{padding:6px 7px;line-height:1.55}
|
|
197
|
+
.cite{font-size:11px;padding:0 4px}
|
|
198
|
+
.ev-chip summary{font-size:11px}
|
|
199
|
+
.sources{padding:12px;border-radius:10px}
|
|
200
|
+
.scard{padding:10px 11px}
|
|
201
|
+
.sc-excerpt{font-size:11.5px}
|
|
202
|
+
.kb-chip{flex-wrap:wrap}
|
|
203
|
+
.kb-label{white-space:normal}
|
|
204
|
+
.mobile-nav{display:block;margin:0 0 14px;padding:11px 14px;border:1.5px solid var(--brand);
|
|
205
|
+
border-radius:10px;background:var(--brand-soft);color:var(--brand);font-weight:800;
|
|
206
|
+
font-size:13.5px;text-decoration:none;text-align:center}
|
|
207
|
+
.back-doc{display:inline-block;margin:0 0 8px;font-size:12px;color:var(--brand);
|
|
208
|
+
font-weight:700;text-decoration:none}
|
|
209
|
+
.sheet-mask{display:block;position:fixed;inset:0;background:rgba(11,31,58,.45);z-index:99;opacity:0;
|
|
210
|
+
pointer-events:none;transition:opacity .2s}
|
|
211
|
+
.sheet-mask.show{opacity:1;pointer-events:auto}
|
|
212
|
+
.sheet{display:block;position:fixed;left:0;right:0;bottom:0;z-index:100;background:#fff;
|
|
213
|
+
border-radius:14px 14px 0 0;box-shadow:0 -8px 30px rgba(11,31,58,.25);
|
|
214
|
+
max-height:68vh;overflow-y:auto;-webkit-overflow-scrolling:touch;
|
|
215
|
+
padding:10px 16px 22px;transform:translateY(105%);transition:transform .25s ease}
|
|
216
|
+
.sheet.show{transform:translateY(0)}
|
|
217
|
+
.sheet-grab{width:38px;height:4px;border-radius:2px;background:#c9d4e2;margin:2px auto 8px}
|
|
218
|
+
.sheet-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:8px}
|
|
219
|
+
.sheet-head b{font-size:13.5px;color:var(--navy)}
|
|
220
|
+
.sheet-close{border:1px solid var(--line);background:#f5f8fc;border-radius:8px;color:#3b4a61;
|
|
221
|
+
font-size:12.5px;font-weight:700;padding:5px 14px;cursor:pointer}
|
|
222
|
+
.sheet .scard{box-shadow:none;margin-bottom:0}
|
|
223
|
+
.sheet .sc-excerpt{display:block;-webkit-line-clamp:unset;cursor:auto}
|
|
224
|
+
}
|
|
225
|
+
@media print{
|
|
226
|
+
.topbar,.filters,.src-search{display:none!important}
|
|
227
|
+
.layout{grid-template-columns:1fr;max-width:none;padding:0;gap:14px}
|
|
228
|
+
body{background:#fff;font-size:12.5px}
|
|
229
|
+
.sources{position:static;max-height:none;border:0;padding:0;overflow:visible}
|
|
230
|
+
.r-head,.verify,.doc-sec{border-color:#bbb;box-shadow:none;break-inside:avoid}
|
|
231
|
+
.sc-excerpt{display:block;-webkit-line-clamp:unset;cursor:auto}
|
|
232
|
+
.uncited-group[open] .uncited-list,.uncited-group{break-inside:avoid}
|
|
233
|
+
.scard{break-inside:avoid}
|
|
234
|
+
.cite{background:#eee;color:#333}
|
|
235
|
+
}
|
|
236
|
+
</style>
|
|
348
237
|
</head>
|
|
349
238
|
<body>
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
<
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
239
|
+
|
|
240
|
+
<header class="topbar">
|
|
241
|
+
<div class="tb-title">可信溯源核验报告 · 可信溯源核验报告</div>
|
|
242
|
+
<div class="tags">
|
|
243
|
+
<span>生成于 2026-09-02 13:31</span>
|
|
244
|
+
<span>素材来源:深知可信搜索</span>
|
|
245
|
+
</div>
|
|
246
|
+
</header>
|
|
247
|
+
|
|
248
|
+
<div class="layout">
|
|
249
|
+
<main class="report" aria-label="核验报告正文">
|
|
250
|
+
<div class="r-head" id="doc-top">
|
|
251
|
+
<h1>可信溯源核验报告</h1>
|
|
252
|
+
<div class="sub">素材:政策依据 1 | 共 2 条 | 点击正文角标 [1] 定位材料原文</div>
|
|
253
|
+
</div>
|
|
254
|
+
|
|
255
|
+
|
|
256
|
+
<div class="verify ok">
|
|
257
|
+
<div class="v-head"><span class="v-shield">✓</span>核验完成,正文依据可交付<span class="v-stamp">已核验</span></div>
|
|
258
|
+
|
|
259
|
+
<div class="v-grid">
|
|
260
|
+
<div class="vi"><span class="s ok">✓ 依据溯源 2/2</span><span class="d">每条引用素材可回看原文</span></div><div class="vi"><span class="s ok">✓ 引用绑定 2/2</span><span class="d">正文引用全部对应素材</span></div><div class="vi"><span class="s ok">✓ 时效检查 完成</span><span class="d">材料日期 2025-12~2026-03</span></div><div class="vi"><span class="s ok">✓ 类型覆盖</span><span class="d">政策依据 1</span></div><div class="vi"><span class="s ok">✓ 答案自检 5/5</span><span class="d">事实有据/角标绑定/答案一致/时效确认/无未核验断言</span></div><div class="vi"><span class="s man">◐ 效力复核</span><span class="d">1 条政策依据建议按官方发布复核现行效力</span></div>
|
|
261
|
+
</div>
|
|
262
|
+
<div class="v-note">核验方法:深知可信搜索召回权威来源 → 逐条溯源(摘录比对 + 原文链接 + 知识专库回看)→ 正文引用绑定 → 答案自检。政策现行效力以官方发布为准。</div>
|
|
263
|
+
</div>
|
|
264
|
+
<a class="mobile-nav" href="#sources-panel">查看核验材料(2 条引用 · 点击角标可定位原文)↓</a>
|
|
265
|
+
<section class="doc-sec"><div class="sec-head"><h3>抵免要点</h3><span class="sec-badge ">本章引用 1 处 · 已核验</span></div><div class="sec-body"><div class="doc-block"><p>投资额 10% 可抵免,可结转 5 年 <button class="cite" data-cite="1" type="button" title="核验依据 [1]">[1]</button>。</p><div class="ev-row">
|
|
266
|
+
<details class="ev-chip" data-cite="1">
|
|
267
|
+
<summary><b>[1]</b>财政部 税务总局关于节能节水专用设备抵免企业所得税的通知(示例)</summary>
|
|
268
|
+
<div class="ev-panel">
|
|
269
|
+
<div class="ev-title">财政部 税务总局关于节能节水专用设备抵免企业所得税的通知(示例)</div>
|
|
270
|
+
<div class="ev-meta">财政部官网 | 2025年12月10日</div>
|
|
271
|
+
<p>投资额的 10% 可从当年应纳税额中抵免;不足抵免可在以后 5 个纳税年度结转。</p>
|
|
272
|
+
<div class="sc-links"><span><a href="https://example.gov.cn/notice.html" target="_blank" rel="noopener">查看原文 ↗</a></span></div>
|
|
373
273
|
</div>
|
|
374
274
|
</details>
|
|
375
|
-
</div></div>
|
|
376
|
-
<
|
|
377
|
-
<
|
|
378
|
-
|
|
379
|
-
<
|
|
380
|
-
|
|
381
|
-
<div class="
|
|
382
|
-
<
|
|
383
|
-
<div class="
|
|
384
|
-
<p>申报时需填报专用设备投资额抵免明细,留存专用设备购置发票、目录归属证明备查;跨年度结转抵免应在申报表中逐笔登记。</p>
|
|
385
|
-
<div class="source-links"><span><a href="https://example.gov.cn/sample_guide.html" target="_blank" rel="noopener">查看原文</a></span></div>
|
|
275
|
+
</div></div></div></section>
|
|
276
|
+
<section class="doc-sec"><div class="sec-head"><h3>申报</h3><span class="sec-badge ">本章引用 1 处 · 已核验</span></div><div class="sec-body"><div class="doc-block"><p>填报明细留存发票备查 <button class="cite" data-cite="2" type="button" title="核验依据 [2]">[2]</button>。</p><div class="ev-row">
|
|
277
|
+
<details class="ev-chip" data-cite="2">
|
|
278
|
+
<summary><b>[2]</b>某省税务局抵免操作指引(示例)</summary>
|
|
279
|
+
<div class="ev-panel">
|
|
280
|
+
<div class="ev-title">某省税务局抵免操作指引(示例)</div>
|
|
281
|
+
<div class="ev-meta">某省税务局 | 2026年03月01日</div>
|
|
282
|
+
<p>申报填报抵免明细,留存购置发票备查。</p>
|
|
283
|
+
<div class="sc-links"><span><a href="https://example.gov.cn/guide.html" target="_blank" rel="noopener">查看原文 ↗</a></span></div>
|
|
386
284
|
</div>
|
|
387
285
|
</details>
|
|
388
|
-
</div></div>
|
|
389
|
-
<div class="
|
|
390
|
-
<div class="tools"><a href="https://yun.dknowc.cn/wlcb/ShenZhi-policy/#/knowledgebase/" target="_blank" rel="noopener">知识专库</a></div>
|
|
391
|
-
</div>
|
|
392
|
-
</section>
|
|
393
|
-
<aside class="sources" aria-label="可信来源">
|
|
394
|
-
<h2>可信来源</h2>
|
|
395
|
-
<input class="searchbox" type="search" placeholder="搜索来源标题或摘录">
|
|
396
|
-
|
|
397
|
-
<article class="source-card" id="source-1" data-source="1">
|
|
398
|
-
<div class="source-top">
|
|
399
|
-
<span class="source-index">[1]</span>
|
|
400
|
-
<h3>财政部 税务总局关于节能节水、环境保护、安全生产专用设备投资抵免企业所得税有关问题的通知(示例标题)</h3>
|
|
401
|
-
</div>
|
|
402
|
-
<p class="meta">财政部官网(规范性文件) | 2025-XX-XX | 材料</p>
|
|
403
|
-
<p class="section">抵免比例与结转</p>
|
|
404
|
-
<div class="source-excerpt plain">企业购置并实际使用列入《环境保护专用设备企业所得税优惠目录》等目录内的节能节水、环境保护、安全生产专用设备的,该专用设备投资额的 10% 可以从企业当年的应纳税额中抵免;当年不足抵免的,可以在以后 5 个纳税年度结转抵免。</div>
|
|
405
|
-
<div class="source-links"><span><a href="https://example.gov.cn/sample_notice.html" target="_blank" rel="noopener">查看原文</a></span><span><a href="https://yun.dknowc.cn/wlcb/ShenZhi-policy/#/knowledgebase/" target="_blank" rel="noopener">知识专库原文</a></span></div>
|
|
406
|
-
</article>
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
<article class="source-card" id="source-2" data-source="2">
|
|
410
|
-
<div class="source-top">
|
|
411
|
-
<span class="source-index">[2]</span>
|
|
412
|
-
<h3>某省税务局节能节水专用设备抵免企业所得税操作指引(示例标题)</h3>
|
|
413
|
-
</div>
|
|
414
|
-
<p class="meta">某省税务局官网(办事口径) | 2025-XX-XX | 材料</p>
|
|
415
|
-
<p class="section">申报要求</p>
|
|
416
|
-
<div class="source-excerpt plain">申报时需填报专用设备投资额抵免明细,留存专用设备购置发票、目录归属证明备查;跨年度结转抵免应在申报表中逐笔登记。</div>
|
|
417
|
-
<div class="source-links"><span><a href="https://example.gov.cn/sample_guide.html" target="_blank" rel="noopener">查看原文</a></span></div>
|
|
418
|
-
</article>
|
|
419
|
-
|
|
420
|
-
</aside>
|
|
286
|
+
</div></div></div></section>
|
|
287
|
+
<div class="foot">深知可信搜索(法律、政策、标准)· 可信溯源核验报告 | 核验方法:可信搜索召回 → 逐条溯源 → 正文绑定 → 答案自检 | 内容由 AI 生成,仅供参考,政策现行效力以官方发布为准</div>
|
|
421
288
|
</main>
|
|
422
|
-
<
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
289
|
+
<aside class="sources" id="sources-panel" aria-label="核验材料面板"><a class="back-doc" href="#doc-top">↑ 返回核验报告单</a><h3>核验材料(引用 2 条 · 全部已核验)</h3><div class="src-tip">点击正文角标 [1] 定位材料原文并核对</div><div class="filters" role="group" aria-label="类型筛选"><button class="on" data-f="all" type="button">全部</button><button data-f="policy" type="button">政策依据</button></div><input class="src-search" type="search" placeholder="搜索标题 / 来源 / 摘录…" aria-label="搜索来源"><div class="src-list"><article class="scard pol" id="src-1" data-type="policy" data-cite-id="1"><div class="sc-head"><span class="sc-id">[1]</span><span class="sc-type">政策依据</span><span class="sc-vk ok" title="摘录可比对,原文链接与知识专库可回看">✓ 已核验</span></div><h4>财政部 税务总局关于节能节水专用设备抵免企业所得税的通知(示例)</h4><div class="sc-meta">财政部官网 | 2025年12月10日</div><div class="sc-excerpt plain">投资额的 10% 可从当年应纳税额中抵免;不足抵免可在以后 5 个纳税年度结转。</div><div class="sc-links"><span><a href="https://example.gov.cn/notice.html" target="_blank" rel="noopener">查看原文 ↗</a></span></div></article><article class="scard mat" id="src-2" data-type="material" data-cite-id="2"><div class="sc-head"><span class="sc-id">[2]</span><span class="sc-type">材料</span><span class="sc-vk ok" title="摘录可比对,原文链接与知识专库可回看">✓ 已核验</span></div><h4>某省税务局抵免操作指引(示例)</h4><div class="sc-meta">某省税务局 | 2026年03月01日</div><div class="sc-excerpt plain">申报填报抵免明细,留存购置发票备查。</div><div class="sc-links"><span><a href="https://example.gov.cn/guide.html" target="_blank" rel="noopener">查看原文 ↗</a></span></div></article></div><div class="kb-zone"><div class="kb-title">原始召回存档(深知知识专库)</div><div class="kb-desc">以下链接可回看每次搜索的完整召回结果(含未写入正文的材料);原文页面改版或下线时可回看当时召回的快照。逐条材料的核验请点击来源卡上的"查看原文"直达官方页面。</div><div class="kb-list"><a class="kb-chip" href="https://yun.dknowc.cn/wlcb/ShenZhi-policy/#/knowledgebase/?id=demo" target="_blank" rel="noopener"><span class="kb-label">相关搜索来源</span><span class="kb-count">2 条来源 · 可回看</span><span class="kb-arrow">打开 ↗</span></a></div></div></aside>
|
|
290
|
+
</div>
|
|
291
|
+
|
|
292
|
+
<div class="sheet-mask" aria-hidden="true"></div>
|
|
293
|
+
<div class="sheet" role="dialog" aria-label="核验材料">
|
|
294
|
+
<div class="sheet-grab"></div>
|
|
295
|
+
<div class="sheet-head"><b>核验材料</b><button class="sheet-close" type="button">收起</button></div>
|
|
296
|
+
<div class="sheet-body"></div>
|
|
297
|
+
</div>
|
|
298
|
+
|
|
299
|
+
<script>
|
|
300
|
+
(function () {
|
|
301
|
+
"use strict";
|
|
302
|
+
var cards = Array.prototype.slice.call(document.querySelectorAll(".scard"));
|
|
303
|
+
var byId = {};
|
|
304
|
+
cards.forEach(function (c) {
|
|
305
|
+
var id = c.getAttribute("data-cite-id");
|
|
306
|
+
if (id) byId[id] = c;
|
|
307
|
+
});
|
|
308
|
+
|
|
309
|
+
/* 移动端底部弹层:点角标就地展示材料卡,不打断正文阅读 */
|
|
310
|
+
var sheet = document.querySelector(".sheet");
|
|
311
|
+
var mask = document.querySelector(".sheet-mask");
|
|
312
|
+
function isMobile() {
|
|
313
|
+
return window.matchMedia("(max-width:680px)").matches;
|
|
314
|
+
}
|
|
315
|
+
function openSheet(card) {
|
|
316
|
+
if (!sheet) return;
|
|
317
|
+
var body = sheet.querySelector(".sheet-body");
|
|
318
|
+
var clone = card.cloneNode(true);
|
|
319
|
+
clone.removeAttribute("id");
|
|
320
|
+
clone.classList.remove("hide");
|
|
321
|
+
clone.classList.add("open");
|
|
322
|
+
body.innerHTML = "";
|
|
323
|
+
body.appendChild(clone);
|
|
324
|
+
sheet.classList.add("show");
|
|
325
|
+
mask.classList.add("show");
|
|
326
|
+
document.body.style.overflow = "hidden";
|
|
327
|
+
sheet.scrollTop = 0;
|
|
328
|
+
}
|
|
329
|
+
function closeSheet() {
|
|
330
|
+
if (!sheet) return;
|
|
331
|
+
sheet.classList.remove("show");
|
|
332
|
+
mask.classList.remove("show");
|
|
333
|
+
document.body.style.overflow = "";
|
|
334
|
+
}
|
|
335
|
+
if (sheet && mask) {
|
|
336
|
+
mask.addEventListener("click", closeSheet);
|
|
337
|
+
var closeBtn = sheet.querySelector(".sheet-close");
|
|
338
|
+
if (closeBtn) closeBtn.addEventListener("click", closeSheet);
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
/* 角标 → 来源卡:精确 ID 匹配,缺失即红色警示,绝不按位置猜测。
|
|
342
|
+
手机单栏下不滚动定位(会跳到页面底部打断阅读),改为底部弹层就地查看。 */
|
|
343
|
+
document.querySelectorAll(".data-cite,[data-cite]").forEach(function (btn) {
|
|
344
|
+
if (btn.classList.contains("sheet-close")) return;
|
|
345
|
+
btn.addEventListener("click", function () {
|
|
346
|
+
var card = byId[btn.getAttribute("data-cite")];
|
|
347
|
+
if (!card) {
|
|
348
|
+
btn.classList.add("unresolved");
|
|
349
|
+
if (console.error) console.error("[核验] 未绑定角标:", btn.getAttribute("data-cite"));
|
|
350
|
+
return;
|
|
351
|
+
}
|
|
352
|
+
if (isMobile()) {
|
|
353
|
+
openSheet(card);
|
|
354
|
+
return;
|
|
355
|
+
}
|
|
356
|
+
card.classList.remove("hide", "open");
|
|
357
|
+
card.classList.add("hl", "open");
|
|
358
|
+
card.scrollIntoView({ block: "center", behavior: "smooth" });
|
|
359
|
+
setTimeout(function () { card.classList.remove("hl"); }, 2200);
|
|
432
360
|
});
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
361
|
+
});
|
|
362
|
+
|
|
363
|
+
/* 摘录点击展开/收起 */
|
|
364
|
+
cards.forEach(function (c) {
|
|
365
|
+
var ex = c.querySelector(".sc-excerpt");
|
|
366
|
+
if (!ex) return;
|
|
367
|
+
ex.addEventListener("click", function (e) {
|
|
368
|
+
if (e.target.closest("a")) return;
|
|
369
|
+
c.classList.toggle("open");
|
|
438
370
|
});
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
371
|
+
});
|
|
372
|
+
|
|
373
|
+
/* 证据 chips(灰框):桌面端点击就地展开并高亮右栏来源卡;手机端不就地展开,点击直接弹出底部材料弹层 */
|
|
374
|
+
document.querySelectorAll(".ev-chip").forEach(function (chip) {
|
|
375
|
+
var summary = chip.querySelector("summary");
|
|
376
|
+
if (summary) {
|
|
377
|
+
summary.addEventListener("click", function (e) {
|
|
378
|
+
if (!isMobile()) return;
|
|
379
|
+
e.preventDefault();
|
|
380
|
+
var card = byId[chip.getAttribute("data-cite")];
|
|
381
|
+
if (card) openSheet(card);
|
|
446
382
|
});
|
|
447
383
|
}
|
|
448
|
-
|
|
384
|
+
chip.addEventListener("toggle", function () {
|
|
385
|
+
if (!chip.open || isMobile()) return;
|
|
386
|
+
var card = byId[chip.getAttribute("data-cite")];
|
|
387
|
+
if (!card) return;
|
|
388
|
+
cards.forEach(function (c) { c.classList.remove("hl"); });
|
|
389
|
+
card.classList.add("hl");
|
|
390
|
+
setTimeout(function () { card.classList.remove("hl"); }, 2200);
|
|
391
|
+
});
|
|
392
|
+
});
|
|
393
|
+
|
|
394
|
+
/* 类型筛选 + 搜索 */
|
|
395
|
+
var filter = "all";
|
|
396
|
+
var kw = "";
|
|
397
|
+
function apply() {
|
|
398
|
+
cards.forEach(function (c) {
|
|
399
|
+
var okType = filter === "all" || c.getAttribute("data-type") === filter;
|
|
400
|
+
var okKw = !kw || (c.textContent || "").toLowerCase().indexOf(kw) !== -1;
|
|
401
|
+
c.classList.toggle("hide", !(okType && okKw));
|
|
402
|
+
});
|
|
403
|
+
}
|
|
404
|
+
document.querySelectorAll(".filters button").forEach(function (b) {
|
|
405
|
+
b.addEventListener("click", function () {
|
|
406
|
+
document.querySelectorAll(".filters button").forEach(function (x) { x.classList.remove("on"); });
|
|
407
|
+
b.classList.add("on");
|
|
408
|
+
filter = b.getAttribute("data-f");
|
|
409
|
+
apply();
|
|
410
|
+
});
|
|
411
|
+
});
|
|
412
|
+
var search = document.querySelector(".src-search");
|
|
413
|
+
if (search) search.addEventListener("input", function () { kw = search.value.trim().toLowerCase(); apply(); });
|
|
414
|
+
})();
|
|
415
|
+
</script>
|
|
449
416
|
</body>
|
|
450
|
-
</html>
|
|
417
|
+
</html>
|