微信小程序demo是什么意思

微信小程序demo是什么意思,第1张

Demo里面定义了两个初始化函数和一个全局对象,从小程序的API上可以查到。 我们一个一个来说。 1.onLaunch函数是小程序初始化完成后执行的函数,此时可以调取微信端的一些资源,比如缓存。 2.getUserInfo函数并不是API中直接获取用户信息的函数,而其内部的wx.getUserInfo才是

导语:关于小程序的上线节奏:本次内测采用邀请制,其内容客户端暂时对用户不可见。之后小程序会全面开放申请,所有小程序将在统一时间向用户开放。小程序是一种不需要下载安装即可使用的'应用,它实现了应用“触手可及”的梦想,用户扫一扫或者搜一下即可打开应用。

如何导入微信小程序Demo

打开“微信web开发者工具” -->添加项目-->填写AppID(随便填)、项目名称(随便填),选择本地开发目录(Demo存放地址)-->点击“添加项目” 即可

配图:

小Demo走起!

1. 仿QQ应用程序(#社交 #聊天 #SNS)

地址: https://github.com/xiehui999/SmallAppForQQ

2. 仿知乎微信小程序(#SNS #社区 #论坛)

地址: https://github.com/RebeccaHanjw/weapp-wechat-zhihu

3. 微信小程序实现移动端商城(#电商 #商城)

地址: https://github.com/liuxuanqiang/wechat-weapp-mall

4. 知乎日报(#新闻 #资讯)

地址: https://github.com/LiuCaiHe/wechat-app-sample

5. V2EX-微信小程序版(#社区 #社交)

地址: https://github.com/jectychen/wechat-v2ex

6. 「分答」 Power by 微信小程序(#问答)

need-to-insert-img

地址: https://github.com/davedavehong/fenda-mock

7. 微信小程序: 音乐播放器(#音乐 #多媒体播放)

地址: https://github.com/eyasliu/wechat-app-music

8. 可以播放音乐的微信小程序版 Apple Music(#音乐)

地址: https://github.com/Sioxas/AppleMusic

9. 微信小程序(应用号)示例教程(豆瓣电影)

视频演示:http://files.wedn.net/videos/weapp/preview.mp4

地址: https://github.com/zce/weapp-demo

10. 微信小程序 Artand Demo(#艺术 #展示 #媒体)

地址: https://github.com/SuperKieran/weapp-artand

11. 微信小程序之小熊の日记(#记录 #工具 #媒体)

地址: https://github.com/harveyqing/BearDiary

12. 微信小程序 cnode社区版(#社区 #论坛)

地址: https://github.com/vincentSea/wechat-cnode

13. 微信小应用-小程序-demo-仿芒果TV(#媒体 #视频)

地址: https://github.com/web-Marker/wechat-Development

14. 微信小程序 - 电影推荐(#媒体 #电影)

地址: https://github.com/yesifeng/wechat-weapp-movie

15. 仿 「ONE · 一个」 的微信小程序(#资讯 #媒体)

need-to-insert-img

地址: https://github.com/ahonn/weapp-one

15. 

链接:https://www.jianshu.com/p/0ecf5aba79e1


欢迎分享,转载请注明来源:内存溢出

原文地址: https://outofmemory.cn/yw/11335931.html

(0)
打赏 微信扫一扫 微信扫一扫 支付宝扫一扫 支付宝扫一扫
上一篇 2023-05-15
下一篇 2023-05-15

发表评论

登录后才能评论

评论列表(0条)

保存