├── show-img ├── 1.png ├── 2.png ├── 3.png ├── 4.png └── mulu.png ├── .gitignore ├── reading ├── hr.we ├── search.we ├── hot-recommend.we ├── recommend.we ├── category.we └── list.we ├── setting.we ├── util.js ├── post.we ├── README.MD ├── components-add ├── wxc-navpage.we ├── wxc-navbar.we └── tabbar.we ├── yywebview.we ├── index.we └── reading.we /show-img/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vczero/weex-yy/HEAD/show-img/1.png -------------------------------------------------------------------------------- /show-img/2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vczero/weex-yy/HEAD/show-img/2.png -------------------------------------------------------------------------------- /show-img/3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vczero/weex-yy/HEAD/show-img/3.png -------------------------------------------------------------------------------- /show-img/4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vczero/weex-yy/HEAD/show-img/4.png -------------------------------------------------------------------------------- /show-img/mulu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/vczero/weex-yy/HEAD/show-img/mulu.png -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | 3 | node_modules 4 | 5 | 6 | .idea 7 | 8 | /dist 9 | 10 | -------------------------------------------------------------------------------- /reading/hr.we: -------------------------------------------------------------------------------- 1 | 4 | 5 | -------------------------------------------------------------------------------- /setting.we: -------------------------------------------------------------------------------- 1 | 6 | 7 | 10 | 11 | -------------------------------------------------------------------------------- /util.js: -------------------------------------------------------------------------------- 1 | 2 | 3 | //App数据接口 4 | //1) type表示不同的类型, 主要有config, it, manager, cookies, sanwen 5 | //2)http://123.57.39.116:3000/data/read?type=config 6 | var SERVER_PATH = 'http://123.57.39.116:3000/data/read?type='; 7 | 8 | 9 | exports.getServerPath = function() { 10 | return SERVER_PATH; 11 | }; -------------------------------------------------------------------------------- /post.we: -------------------------------------------------------------------------------- 1 | 7 | 8 | 11 | 12 | -------------------------------------------------------------------------------- /reading/search.we: -------------------------------------------------------------------------------- 1 | 6 | 7 | -------------------------------------------------------------------------------- /README.MD: -------------------------------------------------------------------------------- 1 | ## 微阅读 2 | 基于weex开发的微阅读App,供准备学习Weex的同学大家参考。内容包括:页面跳转、tabbar、navpage抽离出来自己定制等。 3 | 4 | ## 如何运行 5 | 1. 下载https://github.com/alibaba/weex官方仓库。 6 | 2. 删除examples目录下面的所有文件,将该项目里面所有文件拷贝进去。 7 | ![](show-img/mulu.png) 8 | 3. Web预览。在weex仓库根目录执行 9 | 10 | ``` 11 | ./start 12 | ``` 13 | 这时候应该启动了编译和服务器。 14 | 浏览器输入:127.0.0.1:12580 即可预览效果。 15 | 4. iOS预览,按照weex仓库步骤,运行playground。 16 | 17 | ## 效果 18 | 19 | ![](show-img/1.png) 20 | ![](show-img/2.png) 21 | ![](show-img/3.png) 22 | ![](show-img/4.png) 23 | 24 | 25 | ## H5效果和定制化打包 26 | 参考:https://github.com/vczero/weex-yy-h5 27 | -------------------------------------------------------------------------------- /components-add/wxc-navpage.we: -------------------------------------------------------------------------------- 1 | 9 | 10 | 19 | 20 | -------------------------------------------------------------------------------- /yywebview.we: -------------------------------------------------------------------------------- 1 | 6 | 7 | 8 | 17 | -------------------------------------------------------------------------------- /reading/hot-recommend.we: -------------------------------------------------------------------------------- 1 | 9 | 10 | 34 | 35 | -------------------------------------------------------------------------------- /components-add/wxc-navbar.we: -------------------------------------------------------------------------------- 1 | 10 | 11 | 70 | 71 | 116 | -------------------------------------------------------------------------------- /reading/recommend.we: -------------------------------------------------------------------------------- 1 | 14 | 15 | 46 | 47 | -------------------------------------------------------------------------------- /index.we: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 30 | 31 | 55 | 56 | -------------------------------------------------------------------------------- /reading.we: -------------------------------------------------------------------------------- 1 | 27 | 28 | 52 | 53 | -------------------------------------------------------------------------------- /reading/category.we: -------------------------------------------------------------------------------- 1 | 11 | 47 | -------------------------------------------------------------------------------- /components-add/tabbar.we: -------------------------------------------------------------------------------- 1 | 2 | 13 | 14 | 48 | 49 | 142 | -------------------------------------------------------------------------------- /reading/list.we: -------------------------------------------------------------------------------- 1 | 20 | 21 | 62 | --------------------------------------------------------------------------------