Coder Social home page Coder Social logo

vue-music's Introduction

Vue 音乐搜索、播放 Demo,资源来自QQ音乐

查看Demo:http://sioxas.github.io/,在手机上效果更好,扫一扫体验

vue-music

实现的功能

  1. 音乐播放、暂停、上一曲、下一曲
  2. 播放列表、添加到播放列表、做为下一首播放
  3. 搜索单曲、歌手、专辑、MV
  4. 查看歌手页面、专辑页面、MV
  5. 热门搜索
  6. 搜索历史记录
  7. 排行榜
  8. 切换播放模式
  9. 歌词

未实现的功能

  • 我喜欢
  • 下载

Build Setup

# 下载或克隆下来,然后安装依赖
npm install

# 开发预览
npm run dev

# 打包发布,生成的文件在dist文件夹中
npm run build

截图

推荐

推荐

排行榜

排行榜 榜单

搜索

热门搜索和历史记录 搜索结果 搜索结果

播放页面

播放页面

专辑页面

专辑页面

歌手页面

歌手页面 歌手页面

播放列表

播放列表

vue-music's People

Contributors

doxiaodong avatar jayin avatar kikiws avatar sioxas avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

vue-music's Issues

播放问题

现在的vue版本,音乐在苹果手机无法播放

项目启动报错

C:\Users\work\Desktop\vue-music-master>cnpm install
| [21/38] Installing align-text@^0.1.1platform unsupported [email protected][email protected][email protected][email protected] › fsevents@^1.0.0 Package require os(darwin) not compa
[fsevents@^1.0.0] optional install error: Package require os(darwin) not compatible with your platform(win32)
√ Installed 38 packages
√ Linked 536 latest versions
√ Run 0 scripts
deprecate babel-preset-es2015@^6.0.0 ???? Thanks for using Babel: we recommend using babel-preset-env now: please read babeljs.io/env to update!
Recently updated (since 2018-05-17): 10 packages (detail see file C:\Users\work\Desktop\vue-music-master\node_modules.recently_updates.txt)
√ All packages installed (625 packages installed from npm registry, used 24s, speed 303.19kB/s, json 574(4.87MB), tarball 2.14MB)

C:\Users\work\Desktop\vue-music-master>cnpm run dev

[email protected] dev C:\Users\work\Desktop\vue-music-master
node build/dev-server.js

Listening at http://localhost:8989

webpack: wait until bundle finished: /index.html
webpack built de374a06f610f7b5f754 in 6296ms
Hash: de374a06f610f7b5f754
Version: webpack 1.15.0
Time: 6296ms
Asset Size Chunks Chunk Names
static/img/icon-search.8825b03.png 17.3 kB
static/img/Vue_Music_Blur.f29e504.png 217 kB
static/img/icon-like.416a0c1.png 19 kB
static/img/icon-list.9da9a38.png 17 kB
static/img/icon-music.c00c468.png 16.5 kB
app.js 5.54 MB 0 app

ERROR in .//_vue-loader@9.9.5@vue-loader/lib/template-compiler.js?id=data-v-3135c848!.//_vue-loader@9.9.5@vue-loader/lib/selector.js?type=template&index=0!./src/components/Album.vue

无法播放音乐

生成了dist, 本地可以播放音乐, 用手机浏览器却无法播放, 是什么个情况?

轮播图空白问题 , 处理

轮播的空白问题,是因为没有引入vue-awesome-swiper组件引起的, 加上代码就好了;
在 main.js 中 加入以下代码即可:
import VueAwesomeSwiper from 'vue-awesome-swiper'
import 'swiper/dist/css/swiper.css'
Vue.use(VueAwesomeSwiper)

提个bug

播放列表中点击右边的菜单按钮以后,点一下删除,然后下面的取消和背景点击以后消失不掉了

刚开始 学

你的 这个 没有用webpack吗? 想看一下 你的脚手架 拿来用呢

请问这个项目怎么学习呢?

表示初学者;不太明白script和link各是怎么引用的;
main.js都有什么内容;
app.vue;也没有找到浏览器中的相关app.js; import Search from './components/Search'是什么意思?
是否有一个合适的东西(注释类似)的东西适合学习的?

页面问题

点击搜索的时候响应起键盘,然后搜索那块页面变窄了
image

排行榜

处于排行榜时一直往上滑,会出现问题

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.