diff --git a/src/js/app.js b/src/js/app.js index 44e2458..c50f514 100644 --- a/src/js/app.js +++ b/src/js/app.js @@ -59,7 +59,7 @@ Anot({ state: { theme: appInit.theme || 1, // 1:macos, 2: deepin winFocus: false, - mod: 'local', + mod: 'profile', searchTxt: '', playMode: Anot.ls('play-mode') >>> 0, // 0:all | 1:single | 2:random ktvMode: 0, diff --git a/src/js/modules/profile.js b/src/js/modules/profile.js index b431aa0..deeb7d8 100644 --- a/src/js/modules/profile.js +++ b/src/js/modules/profile.js @@ -26,7 +26,9 @@ export default Anot({ theme: appInit.theme || 1, musicPath: appInit.musicPath || '' }, - version: app.getVersion() + version: app.getVersion(), + cmd: process.platform === 'darwin' ? '⌘' : 'Ctrl', + alt: process.platform === 'darwin' ? '⌥' : 'Alt' }, watch: { 'setting.theme'(v) { diff --git a/src/views/profile.htm b/src/views/profile.htm index b8a09f7..a4ed989 100644 --- a/src/views/profile.htm +++ b/src/views/profile.htm @@ -22,7 +22,7 @@ 主题风格
MacOS风格 - Deepin风格 + Linux风格
@@ -38,6 +38,58 @@ +
+ 快捷键 +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
功能说明快捷键全局快捷键
播放/暂停空格{{cmd}}{{alt}}空格
上一首{{cmd}}←{{cmd}}{{alt}}←
下一首{{cmd}}→{{cmd}}{{alt}}→
音量+{{cmd}}↑{{cmd}}{{alt}}↑
音量-{{cmd}}↓{{cmd}}{{alt}}↓
桌面歌词{{cmd}}R{{cmd}}{{alt}}R
迷你模式{{cmd}}{{alt}}M{{cmd}}{{alt}}⇧M
+
+
+
关于Sonist