From 781cd4acbcb68c984f8c89c44076f4dc9fcc09fb Mon Sep 17 00:00:00 2001 From: Charliechen114514 <725610365@qq.com> Date: Mon, 15 Jun 2026 09:39:57 +0800 Subject: [PATCH 01/10] =?UTF-8?q?feat(online-compiler):=20=E6=BA=90?= =?UTF-8?q?=E7=A0=81=E9=BB=98=E8=AE=A4=E5=8F=AF=E8=A7=81=20+=20=E5=B7=A6?= =?UTF-8?q?=E5=8F=B3=E5=88=86=E6=A0=8F=E5=B8=83=E5=B1=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 桌面左右分栏(源码 | 操作+结果),<912px 自动上下 - 源码进入视口懒加载(IntersectionObserver),减少并发请求 - 编辑源码改为 toggle:再点保存编辑内容并切回只读预览 - 有 ARM 源码时加「源码/ARM 精简源码」tab,看 ARM 汇编自动对照 - 本期纯文本等宽,shiki 语法高亮留作后续 --- .../theme/components/OnlineCompilerDemo.vue | 379 +++++++++++------- site/.vitepress/theme/custom.css | 71 +++- 2 files changed, 306 insertions(+), 144 deletions(-) diff --git a/site/.vitepress/theme/components/OnlineCompilerDemo.vue b/site/.vitepress/theme/components/OnlineCompilerDemo.vue index 6e9bb501f..6ee80924a 100644 --- a/site/.vitepress/theme/components/OnlineCompilerDemo.vue +++ b/site/.vitepress/theme/components/OnlineCompilerDemo.vue @@ -1,5 +1,5 @@