music app
- github 地址:https://github.com/yangrenmu/music
-
API來源债蓝,感謝@Binaryify的網(wǎng)易音樂的接口腌乡,這些接口是在本地node的環(huán)境中使用,為了可以在線訪問航缀,將這些API部署到了leancloud上面商架。
接口文檔
使用時,將接口地址前加上 http://musicapi.leanapp.cn 即可芥玉。
如:獲取音樂 url
接口地址為:/music/url?id=347230蛇摸,
這樣使用: http://musicapi.leanapp.cn/music/url?id=347230,可以得到歌曲的 URL 信息
演示
掃描下方二維碼 灿巧,可以在移動端進行瀏覽
安裝
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run dev
# build for production with minification
npm run build
For detailed explanation on how things work, checkout the guide and docs for vue-loader.
項目技術(shù)
- vue:項目中主要運用了 vue.js 框架赶袄,輕量诬烹,易上手。
- vuex:vue 的狀態(tài)管理插件弃鸦,便于 vue 各組件之間的通信。
- vue-router:vue 的路由插件幢痘。
- vue-axios:項目中主要用來請求數(shù)據(jù)唬格。
- swiper:觸屏焦點圖、觸屏Tab切換颜说、觸屏多圖切換插件购岗。
- better-scroll:固定高度內(nèi)滾動插件。
項目截圖
截圖展示部分功能