feat(P4): precompute移植+app.js sources双向回填+回归1003/1003+验收体积/文件/data.json
Deploy to GitHub Pages / deploy (push) Failing after 16s
Regression / regression (push) Failing after 15m2s

This commit is contained in:
aurora-admin
2026-09-12 14:18:41 +08:00
parent 16f365a045
commit c65a69c34e
401 changed files with 22932 additions and 140 deletions
+44
View File
@@ -0,0 +1,44 @@
<template>
<div class="aa-shortcut">
<input class="aa-shortcut-search" v-model="q" placeholder="搜索快捷键…" />
<div class="aa-shortcut-list">
<div v-if="!filtered.length" class="aa-shortcut-empty">无匹配快捷键</div>
<div v-for="(it, i) in filtered" :key="i" class="aa-shortcut-item">
<span>{{ it.name }}</span><span class="aa-shortcut-key">{{ it.key }}</span>
</div>
</div>
</div>
</template>
<script>
export default {
name: 'AaShortcutPanel',
props: {
items: {
type: Array,
default: () => [
{ name: '保存', key: 'Ctrl + S' },
{ name: '搜索', key: 'Ctrl + K' },
{ name: '新建', key: 'Ctrl + N' },
{ name: '刷新', key: 'F5' },
{ name: '关闭页签', key: 'Ctrl + W' },
{ name: '全屏', key: 'F11' },
{ name: '帮助', key: '?' },
{ name: '命令面板', key: 'Ctrl + P' }
]
}
},
data() {
return { q: '' };
},
computed: {
filtered() {
var q = this.q.trim().toLowerCase();
if (!q) return this.items;
return this.items.filter(function (it) { return it.name.toLowerCase().indexOf(q) >= 0 || it.key.toLowerCase().indexOf(q) >= 0; });
}
}
};
</script>
<style src="./ShortcutPanel.css"></style>