{"id":13634685,"url":"https://github.com/zhaoqize/weex-cnode","last_synced_at":"2025-03-20T04:30:29.337Z","repository":{"id":79007906,"uuid":"101400071","full_name":"zhaoqize/weex-cnode","owner":"zhaoqize","description":"🤔Weex开发App版本的CNODE社区","archived":false,"fork":false,"pushed_at":"2018-02-19T07:43:50.000Z","size":45185,"stargazers_count":35,"open_issues_count":1,"forks_count":5,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-28T23:01:44.565Z","etag":null,"topics":["cnode","weex","weex-cnode"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zhaoqize.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-08-25T12:07:24.000Z","updated_at":"2024-11-21T12:11:09.000Z","dependencies_parsed_at":"2023-09-07T16:31:47.386Z","dependency_job_id":null,"html_url":"https://github.com/zhaoqize/weex-cnode","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhaoqize%2Fweex-cnode","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhaoqize%2Fweex-cnode/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhaoqize%2Fweex-cnode/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zhaoqize%2Fweex-cnode/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zhaoqize","download_url":"https://codeload.github.com/zhaoqize/weex-cnode/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244047647,"owners_count":20389206,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cnode","weex","weex-cnode"],"created_at":"2024-08-02T00:00:30.001Z","updated_at":"2025-03-20T04:30:24.321Z","avatar_url":"https://github.com/zhaoqize.png","language":"Java","readme":"[![GitHub license](https://img.shields.io/github/license/zhaoqize/weex-cnode.svg)](https://github.com/zhaoqize/weex-cnode/blob/master/LICENSE)\n[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)]()\n[![Travis](https://img.shields.io/badge/oschina-%E6%94%B6%E5%BD%95-orange.svg)](https://www.oschina.net/search?scope=project\u0026q=weex-cnode)\n\n## weex-cnode\nweex-cnode 是一个使用 weex 创建的手机应用。\n\n## 运行\n编译代码\n```bash\nnpm run build\n```\n\n启动serve\n```bash\nnpm run serve\n```\n浏览器访问`http://localhost/web/#/index`\n\n安卓访问：需要AS和安卓模拟器(真机)\n\n## 演示\n### web\n![](http://ojlxao0wn.bkt.clouddn.com/demo2.gif)\n\n### 安卓\n![](http://ojlxao0wn.bkt.clouddn.com/demo1.gif)\n\n## 文档\n目前在 weex 的开发中，会遇到比较多的问题，具体有一下几点\n- 行内样式的px与class类中的px在weex中的表现不一样，建议使用class来处理样式\n- 标签一定要使用weex自带的组件，因为常用的html属性不支持跨平台\n- refresh中图片不居中\n- text文本可以居中，但是图片无法居中\n\u003e 具体见:https://segmentfault.com/q/1010000009553950/a-1020000009555244\n- 安卓中gif图片不动\n\u003e 建议使用`\u003cloading-indicator\u003e`去处理\n- z-index问题\n\u003e 在weex中不支持z-index，而是根据组件的先后顺序来处理层级。\n- web端上，行内样式与class的样式显示的效果不同\n\u003e 行业样式20px显示的就是20px，但是在class中定义20px，最终显示的为9.xxpx。\n- 在安卓设备中显示不出base64的图片。\n\u003e 临时解决方案：使用图床来做。\n- web和安卓上换行和...号不一样\n- weex中使用`lines`控制行数，text中也需要设置`lines`\n\u003e 具体见：http://weex-project.io/cn/references/components/text.html\n- Scroller在安卓中进行无法滚动\n\u003e 建议使用`list`配合`cell`做滚动列表\n- loading的使用有问题(与list的loadmore方法不能共存)\n\u003e loading在web上看不到效果，但是在安卓上没问题。\n\u003e 参考源码:https://github.com/apache/incubator-weex/blob/master/examples/component/list/list-basic.we\n- stream请求后面总是会带上`undefined`\n- fixed元素路由跳转不发生变化\n\n## License\n[MIT](https://github.com/zhaoqize/weex-cnode/blob/master/LICENSE)\n","funding_links":[],"categories":["Awesome-CNode"],"sub_categories":["Weex"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzhaoqize%2Fweex-cnode","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzhaoqize%2Fweex-cnode","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzhaoqize%2Fweex-cnode/lists"}