
WeChat applet sharing circle of friends generates posters
WeChat applet implements sharing to Moments. Nowadays, the common practice is to generate a picture through Canvas, save it, and then forward it to Moments by yourself. A recent project had this requirement, so I recorded it. If you want to scan the QR code on the poster and jump directly to the specified page, then you need to generate a QR code with parameters. First, take a look at the rendering: 1. First write the code into index.wxml code: < view class="container"> &nbs...
Jul 08, 2020 pm 06:45 PM
Analyze the underlying principles of WeChat mini programs
There are three main methods of page rendering: 1. web rendering 2. Native rendering 3. Mixing of web and Native, that is, Hybrid rendering. The presentation form of mini program is the third one. Why does dual-thread communication require dual threads? ->In order to control security, avoid operating DOM. The rendering layer and logic layer of the mini program are managed by two threads respectively: the interface of the rendering layer uses WebView for rendering, and the logic layer uses JsCore thread to run..._WeChat Mini Program Principle
Jul 07, 2020 pm 02:39 PM
About mini programs
Notes to article. Welcome to discuss with you. Please point out if there are errors in the article, some operations that require access to variables in data. We can use ES6 object destructuring and assignment to simplify it. We can use this method not only in small programs.
Jul 04, 2020 am 09:42 AM
What is the difference between mini programs and ordinary web development?
The main development language for small programs is JavaScript. The development of small programs is very similar to ordinary web development. For front-end developers, the cost of migrating from web development to mini program development is not high, but there are still some...
Jul 04, 2020 am 09:30 AM
WeChat Mini Program Dark Mode
Turn on dark mode, configure ["darkmode": true] in app.json, create a new theme configuration file theme.json in the root directory, and configure the path in app.json to import it.
Jul 04, 2020 am 09:27 AM
Detailed explanation of mini program payment and refund process
First of all, let me explain that the main logic of WeChat applet payment is concentrated on the backend. The frontend only needs to carry the data required for payment to request the backend interface and then handle the corresponding success or failure based on the returned results. I use PHP on the backend. Of course, in this blog I am not going to post a bunch of code to illustrate the specific implementation of payment, but will mainly focus on the entire payment process.
Jul 03, 2020 am 11:10 AM
Solve the problem of code synchronization execution in small programs
When making small programs, do you often encounter these two synchronization problems: 1. When using a for loop, the operation in one loop has not yet ended, and the next loop has already started. If there are no interdependencies between loops, this shouldn't be a big problem.
Jul 02, 2020 am 09:41 AM
Solving the problem of mini program canvas hiding
I believe that many times, everyone will encounter the need to use canvas to generate pictures. Of course, I also encountered it. After generating the canvas in the wxml page of the project, I found that adding css to the canvas tag did not work.
Jul 01, 2020 am 09:54 AM
How to transfer data between mini program pages
I have been working on a mini program project recently and found that some data often needs to be passed between the pages of the mini program. Based on my own understanding and familiarity, I have concluded that there are several different data transmission methods for different data requirements. Here is a brief introduction and summary.
Jul 01, 2020 am 09:50 AM
Get started with WeChat applet development in eight minutes
WeChat mini programs are very popular recently. There must be some students who want to understand and get started. Here I have prepared a WeChat mini program development tutorial for you to teach you how to get started in eight minutes.
Jun 29, 2020 am 11:12 AM
What should I do if the new Date() method of the applet fails?
The iOS system has format requirements for the new Date() method in js. The correct writing method should be, but in the actual application process, most of the date formats are like 2019-07-24, so regular characters need to be used in the actual application process. The string proceeds.
Jun 29, 2020 am 10:54 AM
Use a mini program to write a pop-up window input component
When writing the project, I found that the mini program did not have its own pop-up input component, so I had to write one myself. Semi-transparent covering layer, covering layer style and visible and hidden events wxml code: wxss code: js code: pop-up window to implement pop-up window.
Jun 29, 2020 am 10:50 AM
Understanding and learning about Proxy objects
What exactly is a Proxy object? What exactly is a Proxy object? Proxy means proxy. The function of the proxy object is to create a proxy object through Proxy, and then operate the proxy object.
Jun 29, 2020 am 10:39 AM
What is the method to set full screen for WeChat applet on computer?
Method: First configure the resizeable parameter of the mini program to true, so that a larger horizontal window display can be opened on the computer. The screen size is 1024 times 768, and then press the full screen button to implement the WeChat mini program. Full screen mode on PC.
Jun 28, 2020 am 11:31 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