Skip to content

Commit 0106eb0

Browse files
committed
vault backup: 2026-01-09 08:39:13
1 parent ff5e428 commit 0106eb0

File tree

2 files changed

+23
-2
lines changed
  • .obsidian
  • source/charts/帝国崩塌太子集团陈志被捕引渡与跨国犯罪网络的覆灭_20260109083906

2 files changed

+23
-2
lines changed

.obsidian/workspace.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -269,6 +269,8 @@
269269
},
270270
"active": "0a3b4eec2d279827",
271271
"lastOpenFiles": [
272+
"source/charts/帝国崩塌太子集团陈志被捕引渡与跨国犯罪网络的覆灭_20260109083906/index.html",
273+
"source/charts/帝国崩塌太子集团陈志被捕引渡与跨国犯罪网络的覆灭_20260109083906",
272274
"source/charts/帝国崩塌太子集团陈志被捕引渡与跨国犯罪网络的覆灭_20260109083355/index.html",
273275
"source/charts/帝国崩塌太子集团陈志被捕引渡与跨国犯罪网络的覆灭_20260109083355",
274276
"source/模板/嵌入网站.md",
@@ -294,8 +296,6 @@
294296
"node_modules/is-promise/package.json",
295297
"node_modules/is-promise/readme.md",
296298
"node_modules/is-promise/LICENSE",
297-
"node_modules/is-promise/index.js",
298-
"node_modules/is-promise",
299299
"node_modules/promise/Readme.md",
300300
"node_modules/jstransformer/README.md",
301301
"node_modules/jstransformer/LICENSE.md",
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
# 4. 生成嵌入代码 (已适配 Butterfly 主题全屏功能)
2+
# 使用 Hexo Butterfly 自带的 Fancybox 实现弹窗全屏
3+
embed_code = f"""
4+
<div class="chart-container" style="position: relative; width: 100%; height: 0; padding-bottom: 75%; overflow: hidden; border-radius: 8px; box-shadow: 0 4px 8px rgba(0,0,0,0.1); margin-bottom: 10px;">
5+
<iframe src="/charts/{folder_name}/index.html" style="position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: 0;"></iframe>
6+
</div>
7+
8+
<div style="text-align: right; margin-bottom: 20px;">
9+
<a data-fancybox data-type="iframe" href="/charts/{folder_name}/index.html" style="
10+
display: inline-block;
11+
padding: 5px 12px;
12+
background-color: #49b1f5;
13+
color: white;
14+
border-radius: 4px;
15+
text-decoration: none;
16+
font-size: 14px;
17+
transition: all 0.3s;">
18+
<i class="fas fa-expand-arrows-alt"></i> 全屏查看高清图表
19+
</a>
20+
</div>
21+
"""

0 commit comments

Comments
 (0)