[Micro] Letter applet applet API system

Applet system API

Network Request: wx.request ()

https://developers.weixin.qq.com/miniprogram/dev/api/network/request/wx.request.html

 

Pop-ups:

https://developers.weixin.qq.com/miniprogram/dev/api/ui/interaction/wx.showToast.html

wx.showToast (Object object) displays a message box

wx.hideToast (Object object) hidden message box

wx.showModal (Object object) modal dialog box displayed

wx.showLoading (Object object) display loading prompt box. You need to take the initiative to call wx.hideLoading to close the prompt box

wx.hideLoading (Object object) Hide loading prompt box

wx.showActionSheet (Object object) display the operating menu

 Small program used to share

Not just to share the top right corner of the screen, anywhere on the screen can be shared

To add an attribute tag in the open-type = 'share'

 

Navigator page jump

https://developers.weixin.qq.com/miniprogram/dev/component/navigator.html

 

 

Guess you like

Origin www.cnblogs.com/XJT2018/p/11231035.html