wechat_mp.zh
Docs
开始:https://developers.weixin.qq.com/miniprogram/dev/framework/quickstart/getstart.html 小程序专用邮箱登录:https://mp.weixin.qq.com/ app&pages: https://developers.weixin.qq.com/miniprogram/dev/framework/structure.html
逻辑
js
必需
必需
配置
json
必需
-
样式表
wxss
-
-
结构
wxml
无
必需
DevTool
https://developers.weixin.qq.com/miniprogram/dev/devtools/download.html 推送到微信:右上角 =》 详情-本地设置
生命周期
app
https://developers.weixin.qq.com/miniprogram/dev/framework/runtime/operating-mechanism.html
https://developers.weixin.qq.com/miniprogram/dev/reference/api/App.html
pages
https://developers.weixin.qq.com/miniprogram/dev/framework/app-service/page-life-cycle.html onLaunch/Show/... 同app: https://developers.weixin.qq.com/miniprogram/dev/reference/api/App.html
逻辑
app.js *
https://developers.weixin.qq.com/miniprogram/dev/framework/app-service/app.html
page.js *
https://developers.weixin.qq.com/miniprogram/dev/framework/app-service/page.html https://developers.weixin.qq.com/miniprogram/dev/reference/api/Page.html
配置
app.json *
https://developers.weixin.qq.com/miniprogram/dev/framework/config.html Layout: https://res.wx.qq.com/wxdoc/dist/assets/img/config.344358b1.jpg
pages
String Array
是
设置页面路径
window
Object
否
设置默认页面的窗口表现
tabBar
Object
否
设置底部 tab 的表现
networkTimeout
Object
否
设置网络超时时间
debug
Boolean
否
设置是否开启 debug 模式
page.json
https://developers.weixin.qq.com/miniprogram/dev/framework/config.html#%E9%A1%B5%E9%9D%A2%E9%85%8D%E7%BD%AE
样式 - WeiXin Style Sheets
同层渲染
https://developers.weixin.qq.com/community/develop/article/doc/000c4e433707c072c1793e56f5c813
app.wxss
https://developers.weixin.qq.com/miniprogram/dev/framework/view/wxss.html
page.wxss
https://developers.weixin.qq.com/miniprogram/dev/framework/view/wxss.html
结构
page.wxml *
https://developers.weixin.qq.com/miniprogram/dev/reference/wxml/
wxs - WeiXin Script
简易双向绑定
https://developers.weixin.qq.com/miniprogram/dev/framework/view/two-way-bindings.html
navigator
https://mp.weixin.qq.com/debug/wxadoc/dev/component/navigator.html
Map
Demo: https://github.com/TencentLBS/TencentMapMiniProgramDemo
Doc: https://mp.weixin.qq.com/debug/wxadoc/dev/component/map.html#map controls控件即将废弃 => view
jssdk
https://lbs.qq.com/miniProgram/jsSdk/jsSdkGuide/jsSdkOverview http://lbs.qq.com/qqmap_wx_jssdk/index.html
个性化地图:https://lbs.qq.com/dev/console/custom/guide#miniapp
plugin
https://lbs.qq.com/miniProgram/plugin/pluginGuide/pluginStart
Code
Books
http://www.weixinbook.net/download/
Last updated