In order to make it very convenient for developers to adjust the capabilities provided by wechat, such as access to user information, wechat payment and so on, small programs provide a lot of
To get the user’s location, just:
wx.getLocation({
type: ‘wgs84’,
success: (res) => {
Var latitude = res.latitude // Latitude
Var longitude = res.longitude //
}
})
To invoke wechat scan capability, only:
wx.scanCode({
success: (res) => {
console.log(res)
}
})
One caveat: the majority
More and more
The small program
API
Micro channel small program development artifact
Wechat applets automatically slice to generate layout software
“,
can
Fast automatic generation of small program front end layout and code
, and free tutorials and technical support.
The functions are as follows:
1. Slicing function: This part of the original handwritten work can be cut by slicing software. After cutting, it can automatically generate WXML, WCSS, JS files.
2, text recognition function: the text on the effect drawing can be recognized by automatic text recognition, improve the speed of input, reduce the workload.
3, archiving function: the design of the slice file can be archived, so that the next time needed to be taken to re-edit. As long as there is a slice file in the program can also show and edit.
Please feel free to contact us if you have any questions!
Q Q : 348961183
Official website:
Software Download address: