fix(panel-kit): 湖面投影模板 Google Fonts 改非阻塞加载

境内网络访问 fonts.googleapis.com 受阻时,阻塞式字体链接导致面板长时间白屏
(桔子域名善后实测:修复前加载约10秒,修复后2.3秒)。
改为 media=print onload 切回 all 的非阻塞模式,字体失败自动落回系统字栈。
This commit is contained in:
冰朔 2026-08-09 20:50:42 +08:00
commit ce4d925cf0
2 changed files with 2 additions and 2 deletions

View file

@ -6,7 +6,7 @@
<title>守望 · 湖面投影 — SYS-GLW-SW-0001</title> <title>守望 · 湖面投影 — SYS-GLW-SW-0001</title>
<link rel="preconnect" href="https://fonts.googleapis.com"> <link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Noto+Serif+SC:wght@400;600;700&family=Noto+Sans+SC:wght@400;500;700&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet"> <link href="https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Noto+Serif+SC:wght@400;600;700&family=Noto+Sans+SC:wght@400;500;700&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet" media="print" onload="this.media=\'all\'">
<style> <style>
:root{ :root{
--ink-0:#0d0709; --ink-0:#0d0709;

View file

@ -6,7 +6,7 @@
<title>胖头鱼 · 湖面投影 — SYS-GLW-PTS-0001</title> <title>胖头鱼 · 湖面投影 — SYS-GLW-PTS-0001</title>
<link rel="preconnect" href="https://fonts.googleapis.com"> <link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin> <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Noto+Serif+SC:wght@400;600;700&family=Noto+Sans+SC:wght@400;500;700&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet"> <link href="https://fonts.googleapis.com/css2?family=Cormorant+Garamond:wght@400;500;600;700&family=Noto+Serif+SC:wght@400;600;700&family=Noto+Sans+SC:wght@400;500;700&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet" media="print" onload="this.media=\'all\'">
<style> <style>
:root{ :root{
--ink-0:#06070f; --ink-0:#06070f;