
How to get the height of an element in WeChat applet
The method for WeChat applet to obtain the element height: first use wx.createSelectorQuery() to create a query; then use the query's select method to select page elements; and finally use the boundingClientRect method to obtain the height of the element.
Mar 24, 2020 pm 03:06 PM
What are the reasons why WeChat mini programs cannot be reviewed?
The reasons why WeChat mini programs cannot be reviewed are: 1. The mini program information is not complete enough, such as avatars, introductions, and column categories; 2. The functions, names, and columns of the mini programs are incorrect or have no connection; 3. Personal mini programs involve business It cannot pass; 4. The mini program cannot pass if the words "testing, unfinished, etc." appear.
Mar 24, 2020 pm 02:48 PM
Can WeChat mini programs reference special fonts?
WeChat applet can reference special fonts. There are two specific methods: 1. Convert the font to base64 format for use; 2. Dynamically load network fonts. The API used is wx.loadFontFace.
Mar 24, 2020 pm 02:37 PM
What should I do if the WeChat mini program homepage cannot be opened?
Solution to the problem that the WeChat mini program homepage cannot be opened: 1. Open settings, find WeChat, click Clear Cache, and open the mini program again; 2. Use another mobile phone to open the mini program and check whether it is a problem with the mini program itself or the mobile phone.
Mar 24, 2020 pm 01:58 PM
Where is the WeChat applet calling interface written?
The WeChat applet calling interface can be written in the life cycle callback function of the applet, such as onLaunch, onShow, onHide, etc., or it can be written in a custom function, such as a custom button click event viewTap, etc.
Mar 24, 2020 pm 01:41 PM
How to solve the problem of network request failure in WeChat applet
The WeChat mini program network request fails because the https certificate configuration is incorrect. The mini program network request must use the https protocol. The https certificate used by the server domain name will be verified during the request. If the verification fails, the request cannot be successfully initiated. The solution is to use the online SSL tools check certificate eligibility.
Mar 24, 2020 pm 01:25 PM
How to use cloud functions to query data in mini programs
This article introduces the method of WeChat mini program using cloud functions in cloud development to query data. It has certain reference value. I hope it will be helpful to friends who are learning mini programs!
Mar 24, 2020 am 11:51 AM
What to do if the WeChat applet cannot set the background image
The solution to the problem that the WeChat applet cannot set the background image: 1. The image directly references the online image; 2. Base64 encode the local image and directly quote the base64 string.
Mar 24, 2020 am 11:42 AM
Does the WeChat mini program have a test account?
WeChat mini programs have test accounts. The test account is to facilitate developers to develop and experience the various capabilities of mini programs and mini games. Developers can apply for a test account for mini programs or mini games, and use this account to create a test account in the developer tools The project is developed and tested, as well as previewed on real devices.
Mar 24, 2020 am 11:17 AM
What is the difference between WeChat mini programs and native apps?
The differences between WeChat mini programs and native apps are: 1. Native APPs need to be downloaded, but mini programs do not; 2. Due to different platforms, native APPs must be developed for Apple and Android versions, while mini programs only need to be developed once; 3. Since WeChat limits mini programs to 1M, native APPs can implement more functions than mini programs.
Mar 24, 2020 am 11:04 AM
How to click on the WeChat applet to view the original image
The WeChat applet implements the method of clicking to view the original image: first prepare a URL array to store the preview image and a URL array of the original image; then obtain the clicked index when clicking on the image; finally obtain the URL corresponding to the original image through the index and pass it in wx Just in the .previewImage() method.
Mar 24, 2020 am 10:30 AM
What to write in the mini program introduction
What should be written in the introduction of the mini program: what the mini program mainly does, what specific advantages it has, and what are its unique features. The introduction of the mini program must be attractive enough.
Mar 24, 2020 am 10:07 AM
How to connect WeChat applet to database
WeChat mini programs cannot directly connect to the database for data operations. This is for security reasons. Basically, a request is made to the server through wx.request, and then the server program, such as PHP, performs data operations on the MySQL database.
Mar 24, 2020 am 10:06 AM
Nearby mini programs can be searched within a few kilometers.
The coverage area of ??nearby mini programs can be within 5km, and mini programs within 5km of the merchant can be displayed in the user's mini program list.
Mar 24, 2020 am 09:58 AM
Hot tools Tags

Undress AI Tool
Undress images for free

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Clothoff.io
AI clothes remover

Video Face Swap
Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Article

Hot Tools

vc9-vc14 (32+64 bit) runtime library collection (link below)
Download the collection of runtime libraries required for phpStudy installation

VC9 32-bit
VC9 32-bit phpstudy integrated installation environment runtime library

PHP programmer toolbox full version
Programmer Toolbox v1.0 PHP Integrated Environment

VC11 32-bit
VC11 32-bit phpstudy integrated installation environment runtime library

SublimeText3 Chinese version
Chinese version, very easy to use