# vue饿了么 **Repository Path**: aaaaries/hungry ## Basic Information - **Project Name**: vue饿了么 - **Description**: 用vue实现饿了么移动端部分页面 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 1 - **Forks**: 0 - **Created**: 2021-07-19 - **Last Updated**: 2021-10-14 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # elm ## Project setup ## 初始化项目 ``` npm install ``` ### Compiles and hot-reloads for development ## 运行项目 ``` npm run serve ``` ### Compiles and minifies for production ``` npm run build ``` ### Run your tests ``` npm run test ``` ### Lints and fixes files ``` npm run lint ``` 1. 后台参考https://github.com/bailicangdu/node-elm/blob/master/API.md 2. 对一些组件进行封装 如底部的导航栏 3. 进行了模块化开发 4. 新的知识有 vue中transition的使用 VUE 滚动插件(better-scroll) 5. 并不是所有饿了么的页面 而是截取了部分进行仿照 6. vuex的应用较少 7. 封装了网络请求 1. 刚进页面时 商品页可能会出现滑动不了的状况 这时应该现点击评价或商家页面 再次返回即可正常访问 2. 在增加商品到购物车时 可能控制台会报错 说count 不要惊慌 并不影响正常访问 会努力改进的 3. 因为后台接口给的数据并不是很全 所以一些数据是写死的