看了阮一峰老师的微信小程序入门教程,受害颇多。来,一起跟着做一遍,come on????✌️
微信小程序入门教程之一:首次上手,参考文档 https://www.ruanyifeng.com/blog/2020/10/wechat-miniprogram-tutorial-part-one.html
- 装置
- 新建目录
- 写一个最简略的目录,hello world
- 微信小程序入门教程之二:页面款式,参考文档 https://www.ruanyifeng.com/blog/2020/10/wechat-miniprogram-tutorial-part-two.html
1.简略款式
2.退出 WeUI 框架和轮播图
- 微信小程序入门教程之三:脚本编程,参考文档https://www.ruanyifeng.com/blog/2020/10/wechat-miniprogram-tutorial-part-three.html
1.简略的数据绑定
2.全局数据
3.点击事件4.wx.showToast()和wx.showModal()
- 微信小程序入门教程之四:API 应用,参考文档https://www.ruanyifeng.com/blog/2020/11/wechat-miniprogram-tutorial-part-four.html
1.vxml渲染
2.客户端数据贮存
3.近程数据申请
4.<open-data>组件
5.获取用户信息
6.多页面跳转
7.wx.navigateTo()