10 minutes to thoroughly understand the single page application routing

Last time, we popularized the custom routing routes of the applet and started the routing journey; Today, I'll take advantage of the trend to apply routing on a single page and chat with you for 50 cents. If you don't talk well... Return... A dollar? Single page application features Suppose: in a web page, there is a button. Click it to jump to ...

Posted by trellie on Wed, 25 May 2022 17:27:57 +0300

Taro (React+TS) encapsulates a basic audio component based on InnerAudioContext (uni app (vue) (updated later)

Why encapsulate an audio component This is mainly because the official audio of wechat applet is not maintained, and there are some problems on many iOS real machines, such as clicking can not be played, and the total time is not displayed Requirements and limitations of audio components Click play or pause Display playback progress and total ...

Posted by CashBuggers on Wed, 25 May 2022 02:19:32 +0300

C# use wechat scanning code to log in to the web page

Concept: when we realize wechat code scanning login, we need to consider how to display the action of wechat code scanning on the web page. It is divided into the following four steps: Step 1: we need to apply for website application on wechat open platform. Wechat open platform Step 2: create a blank page and write the js operation generated b ...

Posted by Dave2711 on Sat, 21 May 2022 05:04:12 +0300

Generate word cloud from WeChat chat records

For WeChat chat records, it can be achieved in two steps by collecting chat records and generating word clouds from chat data. 1. Chat record data collection The most difficult part of the whole task is chat data collection. Due to the different difficulty of extracting chat records of QQ and WeChat, for QQ chat data, simply export it. For We ...

Posted by classic on Fri, 20 May 2022 02:13:12 +0300

Applet development learning record - get user openid

Main function: the applet obtains the user's openid as the user's unique identification code. Function Description: the reason to obtain the openid of the user is that it has unique identification and is used as the unique identification to identify the user. With a unique ID, we can know who used our applet. The rules formulated by wechat mak ...

Posted by jlp09550 on Wed, 18 May 2022 15:48:25 +0300

Wechat applet HTML

Learning reason: because the interface in wechat applet is written by HTML, which is inconsistent with Qt control, understanding html is helpful to write wechat applet, and then my tutorial is actually to take a look Rookie tutorial , because it doesn't need to be proficient. It will become familiar with it when you use it more 1. Introduction ...

Posted by waltonia on Tue, 17 May 2022 01:52:07 +0300

The small program canvas 2d is a solution for drawing high-definition pictures. It can generate 10M posters at most, which solves the problem of failure to generate pictures under android with too large width and height.

wx.canvasToTempFilePath As we all know, wechat canvas needs to call this interface to generate pictures. If this interface wants to generate high-definition pictures and solve the problem of font blur, it needs destWidth * dpr. The width and height of the original canvas is too large, coupled with destWidth * dpr, will inevitably lead to the wi ...

Posted by phppaper on Sat, 14 May 2022 11:22:10 +0300

Wechat applet - how to obtain the value in the user's form control (traditional form and non form methods to obtain the value of form components)

background Forms are often used in applet development. We often need to obtain the values in the user's form input box at the applet side (usually the user inputs: switch,input,checkbox,slider,radio,picker), trigger events, and then submit them to the back-end for processing So what are the ways to get the value in the form in the applet, and h ...

Posted by clodius on Sat, 14 May 2022 02:42:17 +0300

Based on Spring+SpringMVC+Mybatis distributed agile development system architecture source code sharing

Based on Spring+SpringMVC+Mybatis distributed agile development system architecture, it provides a complete set of public microservice service modules: centralized authority management (single sign-on), content management, payment center, user management (support third-party login), WeChat platform, storage system , configuration center, log an ...

Posted by njm on Thu, 12 May 2022 14:30:35 +0300

Small program basic operation summary

Dimension unit When the screen width is equal to 750px, 1px = 1rpx When the screen width is equal to 375px, 1px =0.5rpx Style import only supports relative paths Built in components **view tag * * is equivalent to div tag Text tags can be nested. Text tags can be copied by long pressing text image tag * * the size of the package online cannot e ...

Posted by jerr0 on Mon, 09 May 2022 22:11:03 +0300