All Projects → keenjaan → quick-app-douban

keenjaan / quick-app-douban

Licence: other
this is learn quick-app project base on douban api V2

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to quick-app-douban

awesome-quickapp
Awesome way for quickapps
Stars: ✭ 31 (-35.42%)
Mutual labels:  quick-app
douban-imdb-api
一个基于豆瓣、IMDB、烂番茄评分的电影电视剧双语(中英)数据api接口
Stars: ✭ 351 (+631.25%)
Mutual labels:  douban-api

该项目为快应用练手项目,基于豆瓣api v2。

说明:按照官方文档所说推荐使用node v6.11.3这个版本,而我本地使用的是8以上的版本。所以就使用了nvm来管理node的版本,切换非常方便,关于nvm请自行google。

关于本项目介绍可以查看我的文章,传送门

## 克隆项目
git clone [email protected]:keenjaan/quick-app-douban.git

## 安装依赖
npm install

## 运行项目
npm run watch

## 运行本地服务,手机远程调试
npm run server -- --port 1234

注意:

如果开发者在后续操作中遇到报错Cannot find module '.../node_modules/hap-tools/webpack.config.js',请运行一次hap update --force(执行完毕后不需要按照提示再次运行npm install

上面是官方文档上的提示,clone我项目本地运行时可能遇到这个问题。

预览图:

页面展示 页面展示 页面展示 页面展示 换肤

项目目录结构

├─ .babelrc
├─ .eslintrc.json
├─ .gitignore
├─ .npmignore
├─ package.json
├─ README.md
│
├─sign
|
│
├─src   页面文件
│  │  assets 		图片文件夹
│  │  Common    	公共文件夹
|  |  app.ux		入口文件
│  │  manifest.json 配置文件
│  |  util.js		公用函数库
│  │   
│  │
│  ├─module
│  │  ├─es6.js		对async、await等支持
│  │  │      
│  │  ├─network.js	对网络请求模块封装        
│  │  
│  ├─About 关于页面
│  │  ├─index.ux
│  │       
│  ├─HomePage 主页
│  │  ├─index.ux
│  │
|  ├─Theme 主题页
│  │  ├─index.ux
|  |
|  ├─Movie 电影详情页
│  │  ├─index.ux
|  |
|  ├─Book 图书详情页
│  │  ├─index.ux
|  |
|  ├─Music 音乐详情页
│  │  ├─index.ux
|  |
|  ├─Home 主页
│  │  ├─index.ux
|  |  |
|  |  ├─list	列表组件
|  |  |  ├─index.ux
|  |  |
|  |  ├─movie	电影tabs组件
|  |  |  ├─index.ux
|  |  |
|  |  ├─book	图书tabs组件
|  |  |  ├─index.ux
|  |  |
|  |  ├─music	音乐tabs组件
|  |  |  ├─index.ux
|  |  |
|  ├─components		组件	
|  |  |
|  |  ├─cover	封面组件
|  |  |  ├─index.ux
|  |  |
|  |  ├─header	头部组件
|  |  |  ├─index.ux
|  |  |
|  |  ├─rating	评分组件
|  |  |  ├─index.ux
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].