feat: 市场缓存回退 + 启动层恢复 + 卡片键盘可达(v3.26.6 / promptlib 1.4.1)
Verify (Gitea) / gate (build · unit · facts) (push) Failing after 1m28s

This commit is contained in:
qiqi committed 2026-11-21 22:17:46 +08:00
1 parent a993d44f4e
commit 774b980f69
19 files changed
+111 -41

No files matched your search

+12
View File
@@ -215,6 +215,18 @@ const html = `<!DOCTYPE html>
<link rel="stylesheet" href="style.css?v=${version}">
</head>
<body>
<style>
/* v3.26.6:静态启动层 —— app.js 顶部 await 资料目录(首次会弹 macOS 授权),
那段时间 React 还没挂载,先给可见的启动画面 + 授权提示,避免纯白屏 */
#iwb-boot { position: fixed; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
background: #f4f5f7; color: #1c2333; font: 13px/1.6 -apple-system, "PingFang SC", sans-serif; z-index: 9999; transition: opacity .2s ease; }
#iwb-boot .t { font-size: 16px; font-weight: 700; }
#iwb-boot .s { font-size: 12px; color: #6b7280; }
#iwb-boot .h { margin-top: 6px; font-size: 12px; color: #b45309; max-width: 460px; text-align: center; padding: 0 24px; }
</style>
<div id="iwb-boot"><div class="t">生图工作台</div><div class="s">正在加载…</div><div class="h">若系统弹出「访问文稿文件夹」请求,请点「允许」;点「不允许」会一直停在这里。</div></div>
<div id="root"></div>
<script src="vendor/react.production.min.js"></script>
<script src="vendor/react-dom.production.min.js"></script>