diff --git a/src/desktop-lrc.html b/src/desktop-lrc.html index 4223f42..855012c 100644 --- a/src/desktop-lrc.html +++ b/src/desktop-lrc.html @@ -6,7 +6,7 @@ - +
diff --git a/src/index.html b/src/index.html index a26f7a0..f603681 100644 --- a/src/index.html +++ b/src/index.html @@ -8,7 +8,7 @@ - + diff --git a/src/js/app.js b/src/js/app.js index cf37c55..f05af11 100644 --- a/src/js/app.js +++ b/src/js/app.js @@ -15,6 +15,7 @@ import Api from '/js/api.js' import Artist from '/js/modules/artist.js' import Local from '/js/modules/local.js' import Profile from '/js/modules/profile.js' +import Search from '/js/modules/search.js' import KTV from '/js/modules/ktv.js' @@ -80,10 +81,9 @@ const LRC_WIN = new remote.BrowserWindow({ hasShadow: false, thickFrame: false, transparent: true, + // focusable: false, show: false }) -// LRC_WIN.setIgnoreMouseEvents(true) -window.LRC_WIN = LRC_WIN LRC_WIN.loadURL('app://sonist/desktop-lrc.html') @@ -237,6 +237,9 @@ Anot({ case 'profile': Profile.__init__() break + case 'search': + Search.__init__() + break default: break } diff --git a/src/js/modules/rank.js b/src/js/modules/rank.js new file mode 100644 index 0000000..e69de29 diff --git a/src/js/modules/search.js b/src/js/modules/search.js index 55f3c93..b8f911e 100644 --- a/src/js/modules/search.js +++ b/src/js/modules/search.js @@ -14,20 +14,10 @@ export default Anot({ $id: 'search', state: { filter: 'hot', - list: [], //歌手列表 - display: 'artist', // list | artist | album - artist: { - avatar: - 'http://singerimg.kugou.com/uploadpic/softhead/240/20181023/20181023141706176.jpg', - id: 3060, - name: '薛之谦', - info: '', - songCount: 0, - mvCount: 0, - albumCount: 0 - }, - songList: [], //单曲列表 - albumList: [] //专辑列表 + list: [] //歌手列表 }, - methods: {} + methods: { + __init__() {}, + play() {} + } }) diff --git a/src/linux-stat.html b/src/linux-stat.html deleted file mode 100644 index 4223f42..0000000 --- a/src/linux-stat.html +++ /dev/null @@ -1,35 +0,0 @@ - - - - - - - - - - - - -当前版本: 0.0.1
+当前版本: 0.9.0-alpha1
Sonist是一个本地音乐播放器, 同时支持酷狗的API来获取最新的歌曲信息,如排行榜, 最近单曲等(不提供下载服务, 仅为资讯展示, 如需要下载请到酷狗官网购买下载)。
本播放器所使用的歌词/封面信息均来源于网络搜索, 不保证内容的准确性和时效性。
免责声明
diff --git a/src/views/rank.htm b/src/views/rank.htm new file mode 100644 index 0000000..ec498f3 --- /dev/null +++ b/src/views/rank.htm @@ -0,0 +1 @@ +