Code Monkey home page Code Monkey logo

vue-wangyiyun-music's Introduction

基于vue的网易云音乐移动端web app

  • 项目技术都比较简单,适合新手拿来练手的入门级Vue开发实战项目;
  • 主要功能有:推荐歌单、搜索歌曲、歌词滚动等;

网易云音乐移动官网是使用React构建的, 虽然音乐播放器烂大街了,但心血来潮还是写了一个Vue版本,界面看起来和官网没多大差别;
API来源

在线预览效果

二维码

如果喜欢可以右上角给个⭐Star⭐, 谢谢!


用到的部分技术

  • 构建工具:Vue cli3;
  • 框架:Vue + Vue router + Vuex;
  • http请求:axios;
  • 歌词滚动:better-scroll;
  • 部分UI组件:Vux;

运行此项目

git clone https://github.com/janyin/vue-wangyiyun-music.git

cd vue-wangyiyun-music

npm install

npm run serve (开发编译)

npm run build (打包发布)

效果截图

  • 首页 播放

  • 评论 歌单

项目目录

展开查看

│ App.vue //根组件 │ main.js //项目入口 │ router.js //vue router路由配置 │ ├─api
│ getData.js // Api数据请求参数配置 │ ├─assets // 静态资源 │ disc_default.png │ disc_plus.png │ find.svg │ foot.svg │ footbg.png │ hot_bg.jpg │ hot_icon.png │ like.svg │ logo.svg │ needle_plus.png │ playbar.png │ play_btn.png │ ├─components //组件目录 │ │ comment.vue //单个评论组件 │ │ header.vue //首页头部 │ │ miniPlayer.vue //底部迷你播放器 │ │ song.vue //单个歌曲组件 │ │
│ ├─indexTab //index选项卡 │ │ footer.vue //index底部 │ │ index.vue //index选项卡组件入口 │ │ recommendList.vue //推荐歌单组件 │ │ │ ├─rankTab //排行榜选项卡 │ │ index.vue //排行榜组件 │ │
│ └─searchTab //搜索选项卡 │ index.vue //搜索选项卡组件入口 │ trending.vue //热门搜索词组件 │ ├─page //页面目录 │ home.vue //主页 │ player.vue //播放页面 │ playList.vue //歌单页面 │ ├─store //Vuex │ actions.js │ getters.js │ index.js │ mutations.js │ state.js │ ├─styles //css目录 │ comment.css │ player.css │ playlist_page.css │ remd_list.css │ song_item.css │ └─utils //公用JS目录 global.js //图片懒加载配置 lrcparse.js //歌词数据解析

vue-wangyiyun-music's People

Contributors

janyin avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.