GithubHelp home page GithubHelp logo

music-app's Introduction

项目简介

一款使用 vue 全家桶开发的音乐 app,包括推荐、歌手、排行、搜索四大核心业务组件;使用 vue 框架、ES6 语法以及 css 预处理 stylus 进行详细页面的开发;配合 vue-router 实现页面路由,vuex 实现状态管理;音乐及推荐数据来自 QQ 音乐,通过 ajax、jsonp 等技术调取后台接口;

环境依赖

"dependencies": {
	"axios": "^0.18.0",
	"babel-runtime": "^6.26.0",
	"better-scroll": "^1.12.6",
	"create-keyframe-animation": "^0.1.0",
	"fastclick": "^1.0.6",
	"jsonp": "^0.2.1",
	"vue": "^2.5.2",
	"vue-lazyload": "^1.2.6",
	"vue-router": "^3.0.1",
	"vuex": "^3.0.1"
},

项目结构

使用 vue-cli 搭建基本的开发环境,开发目录结构如下

src
├─ App.vue
├─ api
│    ├─ config.js
│    ├─ recommend.js
│    └─ singer.js
├─ base
│    ├─ listview
│    │    └─ listview.vue
│    ├─ loading
│    │    ├─ loading.gif
│    │    └─ loading.vue
│    ├─ progressBar
│    │    └─ progressBar.vue
│    ├─ scroll
│    │    └─ scroll.vue
│    ├─ slider
│    │    └─ slider.vue
│    └─ songList
│           ├─ [email protected]
│           ├─ [email protected]
│           ├─ [email protected]
│           ├─ [email protected]
│           ├─ songList.vue
│           ├─ [email protected]
│           └─ [email protected]
├─ common
│    ├─ fonts
│    │    ├─ music-icon.eot
│    │    ├─ music-icon.svg
│    │    ├─ music-icon.ttf
│    │    └─ music-icon.woff
│    ├─ image
│    │    └─ default.png
│    ├─ js
│    │    ├─ config.js
│    │    ├─ dom.js
│    │    ├─ jsonp.js
│    │    ├─ singer.js
│    │    └─ song.js
│    └─ stylus
│           ├─ base.styl
│           ├─ icon.styl
│           ├─ index.styl
│           ├─ mixin.styl
│           ├─ reset.styl
│           └─ variable.styl
├─ components
│    ├─ m-header
│    │    ├─ header.vue
│    │    ├─ [email protected]
│    │    └─ [email protected]
│    ├─ musicList
│    │    └─ musicList.vue
│    ├─ player
│    │    └─ player.vue
│    ├─ rank
│    │    └─ rank.vue
│    ├─ recommend
│    │    └─ recommend.vue
│    ├─ search
│    │    └─ search.vue
│    ├─ singer
│    │    ├─ singer.vue
│    │    └─ singerDetail.vue
│    └─ tab
│           └─ tab.vue
├─ main.js
├─ router
│    └─ index.js
├─ store
│    ├─ actions.js
│    ├─ getters.js
│    ├─ index.js
│    ├─ mutation-types.js
│    ├─ mutations.js
│    └─ state.js
└─ tmp.vue

版本说明

当前版本

0.1

  • 功能

    推荐组件

    歌手组件

  • 正在开发

    排行组件

    搜索组件

历史版本

0.1

music-app's People

Contributors

qinhaitao97 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.