{"id":13654386,"url":"https://github.com/davedavehong/fenda-mock","last_synced_at":"2025-04-23T09:33:25.944Z","repository":{"id":99320011,"uuid":"70406561","full_name":"davedavehong/fenda-mock","owner":"davedavehong","description":"使用微信小程序实现「分答」这款APP的基础功能","archived":false,"fork":false,"pushed_at":"2018-05-31T06:26:42.000Z","size":209,"stargazers_count":222,"open_issues_count":2,"forks_count":83,"subscribers_count":19,"default_branch":"master","last_synced_at":"2024-11-10T06:32:11.879Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/davedavehong.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":"2016-10-09T13:57:41.000Z","updated_at":"2023-12-05T16:06:58.000Z","dependencies_parsed_at":"2023-04-10T20:02:01.898Z","dependency_job_id":null,"html_url":"https://github.com/davedavehong/fenda-mock","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/davedavehong%2Ffenda-mock","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davedavehong%2Ffenda-mock/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davedavehong%2Ffenda-mock/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/davedavehong%2Ffenda-mock/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/davedavehong","download_url":"https://codeload.github.com/davedavehong/fenda-mock/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250407702,"owners_count":21425547,"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":[],"created_at":"2024-08-02T03:00:31.360Z","updated_at":"2025-04-23T09:33:25.619Z","avatar_url":"https://github.com/davedavehong.png","language":"JavaScript","funding_links":[],"categories":["Demo","Uncategorized"],"sub_categories":["Uncategorized"],"readme":"## 「分答」 Power by 微信小程序\n\n\n### 开发文档和背景阅读\n\n- [官方开发文档](https://mp.weixin.qq.com/debug/wxadoc/dev/)\n- [微信小程序设计指南](https://mp.weixin.qq.com/debug/wxadoc/design/)\n- [如何把握「微信小程序」这一波红利？ by 小道消息](http://mp.weixin.qq.com/s?src=3\u0026timestamp=1476084572\u0026ver=1\u0026signature=9iql2gUC5J7Ore2nR-vE*H0gMx-FPnvh7tg-59H5QWMBRqIVFVSiJ*1d4P9Ynvx*jzG4x*-cw8VWd0zSXCy5JaC0Og6HZ0HOzPn0si-g2g-cdqwlcc46JxXsfUPfh5U5SjG6Jhwc2gHoN7hj4WkbQ-K-E-w0t6Hrb3YC-d7h*aw=)\n- [微信小程序，仅仅是 Web App 么？ by MacTalk](http://mp.weixin.qq.com/s?src=3\u0026timestamp=1476084683\u0026ver=1\u0026signature=rI*ApZSTzdk20BrHyMgaF9eKgT77oadaMtoePyV-BXJIoHrWVpbxGeRnuoYv5B3cIVH2BPb5vx-4WI3JCrZm1m32V17Hqs6W1k7i2xtrU*iDM5FIvOHPSNb1UBzlh6Dfec6G3W2zNN57OXEtYWB*V4ENdABAgw*p*lItuVWU9Hc=)\n- [为什么你觉得只开发微信号是不行的？ By 可能吧](https://kenengba.com/post/3517.html)\n- [wept](https://github.com/chemzqm/wept)：非常好用的一个「微信小程序」实时开发环境，可以对wxml, wxss, javascript 和页面json自动热更新，炸裂！\n\n**一些想法**：[个人关于「微信小程序」的一些见解](http://elephstor.com/blog/390)\n\n---\n\n### feature\n\n- flex布局\n\n基本使用官方推荐的flex来写布局，结合margin和padding能实现大部分的样式要求。\n\n- 动态刷新\n\ntabBar的第一个菜单「收听」使用了微信提供的组件scroll-view可滚动视图区域，页面加载后从网络上拉取数据填入视图层同时写入Storage（应该就是html5中的localStorage），滚动到底部时触发更新事件，同时设置标志位防止重复触发。应用官方的加载提示动画。\n\n*tip*：滚动视图组件的上下滚动用鼠标滚轮，使用鼠标拖动的话很容易触发下拉事件，哪怕并没有到达顶部。滚动视图组件内不要放与内容无关的元素\n\n- 带参切换页面\n\n点击某个问题进入问题的详情页，同时导航网址带有该问题的编号，具体数据优先从Storage抓取， 查询不到就请求后台。同样的，点击个人头像或者个人简介bar进入个人详情页。（未完全完成）\n\n- template写视图层模板\n\n找人页面的两个榜单均使用template渲染\n\n---\n### TODOs\n\n- 滚动到顶部时的动画效果\n\n- 输入搜索关键词时的动态提示\n\n- 完整的带参切换页面功能\n\n### 预览图\n\n![预览图](http://elephstor.com/wxdev/catch.gif)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavedavehong%2Ffenda-mock","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdavedavehong%2Ffenda-mock","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdavedavehong%2Ffenda-mock/lists"}