{"id":13817156,"url":"https://github.com/chinanf-boy/AcFun-weex","last_synced_at":"2025-05-15T19:31:07.287Z","repository":{"id":90547936,"uuid":"109235162","full_name":"chinanf-boy/AcFun-weex","owner":"chinanf-boy","description":"一点 weex 的实践  AcFun 半首页 并没有Api ","archived":false,"fork":false,"pushed_at":"2017-11-02T08:32:41.000Z","size":10046,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-02T18:16:01.802Z","etag":null,"topics":["weex","weex-demo","weex-hacknews"],"latest_commit_sha":null,"homepage":"","language":"Java","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chinanf-boy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2017-11-02T08:04:29.000Z","updated_at":"2018-04-14T03:05:37.000Z","dependencies_parsed_at":"2023-07-18T21:20:32.168Z","dependency_job_id":null,"html_url":"https://github.com/chinanf-boy/AcFun-weex","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/chinanf-boy%2FAcFun-weex","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chinanf-boy%2FAcFun-weex/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chinanf-boy%2FAcFun-weex/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chinanf-boy%2FAcFun-weex/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chinanf-boy","download_url":"https://codeload.github.com/chinanf-boy/AcFun-weex/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254407270,"owners_count":22066204,"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":["weex","weex-demo","weex-hacknews"],"created_at":"2024-08-04T06:00:35.469Z","updated_at":"2025-05-15T19:31:04.561Z","avatar_url":"https://github.com/chinanf-boy.png","language":"Java","funding_links":[],"categories":["Java"],"sub_categories":[],"readme":"# Acfun Weex\n\n![项目](./project-pic.png)\n\n 图片瞎拉的\n![样式](./acfun.jpg)\n \n这个项目的 配置是 fork [weex-hacknews](https://github.com/weexteam/weex-hackernews)\n\n只是浅试了一下 Acfun 首页 发现写下去，就是在写一个样式，因为没有 acfun api\n\n样式的更多可以查看 [![GitHub stars](https://img.shields.io/github/stars/zwwill/yanxuan-weex-demo.svg)](https://github.com/zwwill/yanxuan-weex-demo/stargazers)[严选高仿](https://github.com/zwwill/yanxuan-weex-demo)\n\n真正写了一个客户端 连接 ``hacknews-api`` 可以看[![GitHub stars](https://img.shields.io/github/stars/weexteam/weex-hackernews.svg)](https://github.com/weexteam/weex-hackernews/stargazers)[weex-hacknews](https://github.com/weexteam/weex-hackernews)\n\n\u003e上面那个思维图就是参照 weex-hacknews \n\u003e可以在 [processon.com](https://www.processon.com/view/link/59facf44e4b0f84f897610ee)查看更多\n\n## 受不了\n\n配置 才是最烦的 官方工具模版中 build文件夹 文件就 config 文件 就十几的还不一定对\n\n可以了解以下 [钉钉weex微应用与微信小程序的实坑](https://zhuanlan.zhihu.com/p/28644960)\n\n# bug\n\n## src/components/greybar.vue ``bug``\n\n和其他同目录文件 用 750px 但是 却\b没有被 weex 自适应 750/2 px\n\n\n\n\n\n## 编译项目文件\n\n安装依赖：\n\n```\nnpm install\n```\n\n编译代码：\n\n```bash\n# 生成 Web 平台和 native 平台可用的 bundle 文件\n# 位置：\n# dist/index.web.js\n# dist/index.web.js\nnpm run build\n\n# 监听模式的 npm run build\nnpm run dev\n```\n\n拷贝 bundle 文件：\n\n```bash\n# 将生成的 bundle 文件拷贝到 Android 项目的资源目录\nnpm run copy:android\n\n# 将生成的 bundle 文件拷贝到 iOS 项目的资源目录\nnpm run copy:ios\n\n# run both copy:andriod and copy:ios\nnpm run copy\n```\n\n### 启动 Web 服务\n\n```\nnpm run serve\n```\n\n启动服务后会监听 1337 端口，访问 http://127.0.0.1:1337/index.html 即可在浏览器中预览页面。\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchinanf-boy%2FAcFun-weex","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchinanf-boy%2FAcFun-weex","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchinanf-boy%2FAcFun-weex/lists"}