{"id":13603947,"url":"https://github.com/MoonCheung/zhihu-applet","last_synced_at":"2025-04-11T22:32:05.191Z","repository":{"id":162107667,"uuid":"199185107","full_name":"MoonCheung/zhihu-applet","owner":"MoonCheung","description":"仿知乎小程序基于Taro框架构建应用程序","archived":false,"fork":false,"pushed_at":"2020-07-05T09:06:37.000Z","size":5846,"stargazers_count":40,"open_issues_count":0,"forks_count":13,"subscribers_count":2,"default_branch":"master","last_synced_at":"2024-11-07T08:41:50.725Z","etag":null,"topics":["taro","taro-ui"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/MoonCheung.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}},"created_at":"2019-07-27T15:54:10.000Z","updated_at":"2024-07-30T15:30:06.000Z","dependencies_parsed_at":null,"dependency_job_id":"d2c403c3-391b-404b-9e90-7f14382c2362","html_url":"https://github.com/MoonCheung/zhihu-applet","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/MoonCheung%2Fzhihu-applet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MoonCheung%2Fzhihu-applet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MoonCheung%2Fzhihu-applet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MoonCheung%2Fzhihu-applet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MoonCheung","download_url":"https://codeload.github.com/MoonCheung/zhihu-applet/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248489763,"owners_count":21112633,"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":["taro","taro-ui"],"created_at":"2024-08-01T19:00:36.985Z","updated_at":"2025-04-11T22:32:04.638Z","avatar_url":"https://github.com/MoonCheung.png","language":"JavaScript","funding_links":[],"categories":["示例项目"],"sub_categories":["Taro 2"],"readme":"\u003c!--\n * @Description: my project\n * @Author: MoonCheung\n * @Github: https://github.com/MoonCheung\n * @Date: 2019-08-10 14:25:12\n * @LastEditors: Please set LastEditors\n * @LastEditTime: 2020-07-05 00:07:13\n --\u003e\n\n# zhihu-applet\n\n[![GitHub stars](https://img.shields.io/github/stars/MoonCheung/zhihu-applet?style=flat-square)](https://github.com/MoonCheung/zhihu-applet/stargazers)\n[![GitHub issues](https://img.shields.io/github/issues/MoonCheung/zhihu-applet?style=flat-square)](https://github.com/MoonCheung/zhihu-applet/issues)\n[![GitHub forks](https://img.shields.io/github/forks/MoonCheung/zhihu-applet?style=flat-square)](https://github.com/MoonCheung/zhihu-applet/network)\n[![GitHub license](https://img.shields.io/github/license/MoonCheung/zhihu-applet?style=flat-square)](https://github.com/MoonCheung/zhihu-applet/blob/master/LICENSE)\n\n该仿知乎小程序基于 `Taro` + `Taro-UI` 进行构建应用程序开发  \n该仿知乎小程序的 API 接口数据来自 Mock 服务器([yapi](https://hellosean1025.github.io/yapi/))部署后能运行,而且页面代码来自[微信仿知乎小程序](https://github.com/gxt19940130/demos/tree/master/weChatApp)\n\n## 项目技术栈\n\n前端技术: Taro + Taro-router  \nUI 组件库: Taro-ui  \n前端脚手架: Taro-cli\n\n该项目采用前后端分离技术，前端使用 Taro 二次开发来自 React 框架，暂时不使用相关状态管理，而且 API 接口从 Mock 服务器获取返回数据得到渲染，方便项目配置以及代码管理\n\n## 实现功能\n\n### 首页: 主要功能\n\n- [x] 顶部切换标签页\n- [x] 自定义下拉刷新\n- [x] 触底上拉加载更多\n- [x] 可复用搜索栏组件\n\n![首页](https://static.ikmoons.com/gif/%E9%A6%96%E9%A1%B5.gif)\n\n### 想法: 主要功能\n\n- [x] 顶部轮播图\n- [x] 单个及全部关注\n- [x] 滑动 tab 条吸顶\n- [x] 文字超出被折叠\n\n![想法](https://static.ikmoons.com/gif/%E6%83%B3%E6%B3%95.gif)\n\n### 市场: 主要功能\n\n- [x] 顶部轮播图\n- [x] 横向滑动图片列表\n- [x] 触底上拉加载更多\n\n![市场](https://static.ikmoons.com/gif/%E9%A6%96%E9%A1%B5.gif)\n\n### 消息: 主要功能\n\n- [x] 滑动列表 tab 条吸顶\n- [x] 从 Mock 返回假数据排版\n\n![消息](https://static.ikmoons.com/gif/%E6%B6%88%E6%81%AF.gif)\n\n### 我的: 主要功能\n\n- [x] 从 Mock 返回假数据排版\n\n![我的](https://static.ikmoons.com/gif/%E6%88%91%E7%9A%84.gif)\n\n## 执行命令\n\n### installing\n\n```bash\n# 克隆项目\ngit clone https://github.com/MoonCheung/zhihu-applet.git\n\n# 进入目录\ncd zhihu-applet\n\n# 执行yarn命令会进行安装\nyarn\n```\n\n### Run the application\n\n```bash\n# 指定平台的开发时构建微信小程序\nyarn dev:weapp\n\n# 指定平台的打包构建\nyarn build:weapp\n```\n\n\u003e Demo 用于学习交流, 喜欢的话，请点击`Star` ,转载请注明出处\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FMoonCheung%2Fzhihu-applet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FMoonCheung%2Fzhihu-applet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FMoonCheung%2Fzhihu-applet/lists"}