/huawei-vue

一个仿华为手机列表页的vue项目,展示点击

Primary LanguageJavaScript

huawei

一个仿华为手机列表页的vue项目。采用了一些现在比较流行的技术。比如采用es6模块进行模块化管理,用stylus写css,用vue-resource插件通过api获取json数据,采用组件化的开发方式,对于页面的公共部分以组件的方式引入

项目实现的主要功能有能根据手机项目个数的多少确定分页页码的页数,点击页码能切换分页。点击右侧固定栏中的意见反馈弹出弹窗,弹窗中填写反馈的内容,如果没有填写则不能提交

Build Setup

# install dependencies
npm install

# serve with hot reload at localhost:8080
npm run dev

# build for production with minification
npm run build

# build for production and view the bundle analyzer report
npm run build --report

For detailed explanation on how things work, checkout the guide and docs for vue-loader.