This repository has been archived on 2023-08-30. You can view files and clone it, but cannot push or open issues/pull-requests.
appcat
/
sonist
Archived
1
0
Fork 0

增加快捷键说明

2.x
宇天 2019-02-05 01:10:31 +08:00
parent 064ffa21b6
commit 2f2593f0b5
3 changed files with 57 additions and 3 deletions

View File

@ -59,7 +59,7 @@ Anot({
state: { state: {
theme: appInit.theme || 1, // 1:macos, 2: deepin theme: appInit.theme || 1, // 1:macos, 2: deepin
winFocus: false, winFocus: false,
mod: 'local', mod: 'profile',
searchTxt: '', searchTxt: '',
playMode: Anot.ls('play-mode') >>> 0, // 0:all | 1:single | 2:random playMode: Anot.ls('play-mode') >>> 0, // 0:all | 1:single | 2:random
ktvMode: 0, ktvMode: 0,

View File

@ -26,7 +26,9 @@ export default Anot({
theme: appInit.theme || 1, theme: appInit.theme || 1,
musicPath: appInit.musicPath || '' musicPath: appInit.musicPath || ''
}, },
version: app.getVersion() version: app.getVersion(),
cmd: process.platform === 'darwin' ? '⌘' : 'Ctrl',
alt: process.platform === 'darwin' ? '⌥' : 'Alt'
}, },
watch: { watch: {
'setting.theme'(v) { 'setting.theme'(v) {

View File

@ -22,7 +22,7 @@
<span class="label">主题风格</span> <span class="label">主题风格</span>
<div class="field"> <div class="field">
<anot-radio :value="setting.theme" label="1">MacOS风格</anot-radio> <anot-radio :value="setting.theme" label="1">MacOS风格</anot-radio>
<anot-radio :value="setting.theme" label="2">Deepin风格</anot-radio> <anot-radio :value="setting.theme" label="2">Linux风格</anot-radio>
</div> </div>
</section> </section>
@ -38,6 +38,58 @@
</div> </div>
</section> </section>
<section class="block">
<span class="label">快捷键</span>
<div class="field">
<table class="table">
<thead>
<tr>
<th>功能说明</th>
<th>快捷键</th>
<th>全局快捷键</th>
</tr>
</thead>
<tbody>
<tr class="ac">
<td>播放/暂停</td>
<td>空格</td>
<td>{{cmd}}{{alt}}空格</td>
</tr>
<tr class="ac">
<td>上一首</td>
<td>{{cmd}}←</td>
<td>{{cmd}}{{alt}}←</td>
</tr>
<tr class="ac">
<td>下一首</td>
<td>{{cmd}}→</td>
<td>{{cmd}}{{alt}}→</td>
</tr>
<tr class="ac">
<td>音量+</td>
<td>{{cmd}}↑</td>
<td>{{cmd}}{{alt}}↑</td>
</tr>
<tr class="ac">
<td>音量-</td>
<td>{{cmd}}↓</td>
<td>{{cmd}}{{alt}}↓</td>
</tr>
<tr class="ac">
<td>桌面歌词</td>
<td>{{cmd}}R</td>
<td>{{cmd}}{{alt}}R</td>
</tr>
<tr class="ac">
<td>迷你模式</td>
<td>{{cmd}}{{alt}}M</td>
<td>{{cmd}}{{alt}}⇧M</td>
</tr>
</tbody>
</table>
</div>
</section>
<section class="block"> <section class="block">
<span class="label">关于Sonist</span> <span class="label">关于Sonist</span>