A simple copy of Netease Cloud Music app based on Vue.
This work is based on Vue, you can set up a Vue project, and replace files in src folder with all files provided in this repository.
In order to visit music data, Netease Cloud Music API is used in this project. Before running the front-end code, you should build a netease server at first. You can find more details on https://github.com/Binaryify/NeteaseCloudMusicApi. Follow the instructions to build the server.
- Show music information got from the api based on Axios.
- Use Vant components to realize swipe. You can find instructions on vant from: https://youzan.github.io/vant/#/zh-CN
- Use router to redirect the interface and transfer parameters.
- Use Vuex to manage states.
- Use watch to realize music playing.
- Use Vue3 Marquee to realize head dynamic features.
- Realize animation effect of the disk and needle when playing and stopping the song.
- Show lyrics when clicking the disk.
- Use watch and timer to highlight current lyric.
- Realize the progress bar.
- Switch from one song to the next or the last.