{"id":13654382,"url":"https://github.com/web-Marker/wechat-Development","last_synced_at":"2025-04-23T09:33:27.279Z","repository":{"id":88039562,"uuid":"70480883","full_name":"web-Marker/wechat-Development","owner":"web-Marker","description":"微信小应用-小程序-demo-仿芒果TV","archived":false,"fork":false,"pushed_at":"2018-09-25T09:36:03.000Z","size":6509,"stargazers_count":532,"open_issues_count":3,"forks_count":147,"subscribers_count":41,"default_branch":"master","last_synced_at":"2024-11-10T06:32:13.188Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/web-Marker.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":"2016-10-10T11:20:57.000Z","updated_at":"2024-11-01T08:45:40.000Z","dependencies_parsed_at":"2023-03-08T04:15:41.541Z","dependency_job_id":null,"html_url":"https://github.com/web-Marker/wechat-Development","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/web-Marker%2Fwechat-Development","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/web-Marker%2Fwechat-Development/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/web-Marker%2Fwechat-Development/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/web-Marker%2Fwechat-Development/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/web-Marker","download_url":"https://codeload.github.com/web-Marker/wechat-Development/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250407703,"owners_count":21425548,"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.206Z","updated_at":"2025-04-23T09:33:26.554Z","avatar_url":"https://github.com/web-Marker.png","language":"JavaScript","funding_links":[],"categories":["Demo","JavaScript","Uncategorized"],"sub_categories":["Uncategorized"],"readme":"wechat-Development\n\n# 微信小应用-小程序-demo-仿芒果TV (持续更新)\n\n由于时间的关系，没有办法写一个完整的说明，重点是页面展示效果，还有其中遇到的一些坑分享一下，后期不定期更新坑和DEMO\n\n* 官方文档：https://mp.weixin.qq.com/debug/wxadoc/dev/\n\n* 基础的一些就不多说了，主要是DEMO，风格是模仿芒果TV的风格和几个展示公开接口，对应的最新视频并不能观看(请自行下载芒果tv App观看)。\n\n* 纯粹是对微信小程序的尝新以及大家分享研究，并无其他用途。\n\n## 今日更新微信开发工具遇到问题(1/13)\n* 修复Array.length\n\t* 问题原因：因为业务需要,接口关闭\n\t* 解决方案：我已经数据本地化了,只要更新一下就可以,全部在Data目录里面,启动本地服务器,更改一下数据请求路径:http://127.0.0.1//+你的路径\n\n## 今日更新微信开发工具遇到问题(11/25)\n* 修复Promise报错\n\t* 问题原因：TypeError: Cannot read property 'Promise' of undefined\n\t* 解决方案：微信开发工具更新后不支持Promise对象，需要引入第三方库来支持Promise\n\n## 今日更新微信开发工具遇到问题(10/28)\n\n* Failed to load resource: net::ERR_NAME_NOT_RESOLVED http://4587851578.appservice.open.weixin.qq.com/appservice\n\t* 问题原因：通常是由于系统设置了代理如Shadowsocks等。\n\t* 解决方案：关闭代理，或者依次点击工具栏“动作”-\"设置\"，选择“不使用任何代理，勾选后直连网络”。\n\n* 修复asdebug.js报错\n\t* 问题原因：TypeError: Cannot read property 'MaxRequestConcurrent' of undefined\n\t* 解决方案：替换 /Resources/app.nw/app/dist/weapp/appservice/asdebug.js\n\n* 开发工具报错需要wx:key\n\t* 问题原因：TypeError: Cannot read property 'MaxRequestConcurrent' of undefined\n\t* 解决方案：渲染数据的时候增加属性wx:key,一般跟着wx:fo属性后面,两个方法,[官方文档有公示](https://mp.weixin.qq.com/debug/wxadoc/dev/framework/view/wxml/list.html?t=1477656501986)\n\t\t* wx:key=\"*this\" (上次Bug因为用了this，之后入坑了，\n\t\tkey设置this的状态应该是场景数据交互只需要请求一次的情况，一般我们常用是下面的property)\n\t\t* wx:key=\"property\" 循环的item里面其中一个属性名字(需要属性名字的值是唯一性，不然会引起一些不会响应的错误！！！)\n\n* 公测了,有认证号的可以再微信后台服务器设置那边设置请求接口，获取ID，在手机体验一下\n\t* 可以再手机做静态页面展示 或者拉取数据本地化 弄一个appleID 就可以展示了\n\t\n\n## DEMO (前方gif图高能预警，需等待，等待！！)\n\n![](https://github.com/web-Marker/wechat-Development/raw/master/image/3.gif) \n\n![](https://github.com/web-Marker/wechat-Development/raw/master/image/4.gif) \n\n![](https://github.com/web-Marker/wechat-Development/raw/master/image/5.gif)\n\n\n## 遇到坑(虽然之前有人说过，还是重新一下)\n\n* 好像没有自定义组件的机制~~\n* 没有热更新\n* 修改代码即时同步问题\n* 一些组件样式不能扩展（这个可能以后公测的时候会放出来）\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweb-Marker%2Fwechat-Development","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fweb-Marker%2Fwechat-Development","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweb-Marker%2Fwechat-Development/lists"}