first commit

This commit is contained in:
xiaomai
2025-09-15 00:28:27 +08:00
commit ae8d3ce510
28 changed files with 2882 additions and 0 deletions

40
20250916/ppt/index.html Normal file
View File

@@ -0,0 +1,40 @@
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>宴会展示PPT</title>
<link
href="https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@300;400;500;700&display=swap"
rel="stylesheet"
/>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.0/css/all.min.css"
/>
<link rel="stylesheet" href="css/base.css" />
</head>
<body>
<!-- 渲染容器 -->
<div id="app"></div>
<!-- 引入逻辑 -->
<script type="module">
import { renderBanquet } from "./js/ppt.js";
// 启动应用
document.addEventListener("DOMContentLoaded", async () => {
try {
await renderBanquet(
"config/banquet.json",
"templates/manifest.json",
"#app"
);
console.log("Banquet PPT 初始化完成 🎉");
} catch (err) {
console.error("初始化失败:", err);
}
});
</script>
</body>
</html>