Use ruoyi wechat applet to log in to the authorization authentication interface
This tutorial mainly introduces how to use the ruoyi framework to complete the whole process of login authorization of wechat applet.
catalogue
1, Register wechat applet account
2, Get AppID and AppSecret
3, Wechat applet authorization login process
4, Write wechat applet login authorization interface
5, Write a simple wechat applet log ...
Added by Dan39 on Tue, 25 Jan 2022 05:20:33 +0200
Applet lifecycle functions, components
1, Life cycle function
2, Components
For example, in small programs, there are tab tab effects, round blog effects or star scoring of multiple pages. Generally, we do not realize this function for each page. Generally, we encapsulate repeated functions or modules into components, and import which page can be used.
1. Create component
Crea ...
Added by janhouse00 on Sun, 23 Jan 2022 19:13:22 +0200
The small program mqtt realizes the chat function
What is mqtt?
MQTT is a lightweight transmission protocol, which is designed for lightweight publish / subscribe message transmission. MQTT protocol is specially optimized for low bandwidth networks and low computing power devices. It is a simple, stable, open, lightweight and easy to implement message protocol. It has wide applicability in ...
Added by Drannon on Sun, 23 Jan 2022 03:24:53 +0200
Node. JS + Express + access DB to easily realize the full stack development of small programs
1. New data
According to the previous tables and fields, now we want to add data on the applet side.
1). On the home page, we first write the new data interface in / routes / anime JS add the following code. New data is generally requested by post. Because asynchronous operation is involved, async and await are used for operation. Because th ...
Added by avo on Sat, 22 Jan 2022 06:20:30 +0200
Wechat applet development - dark horse Day4
Custom components
Creation and reference of components
Creation of components ① In the root directory of the project, right-click to create the components - > test folder ② Right click the new components - > test folder and click "new Component" ③ After entering the name of the component, press enter to automatically generate ...
Added by homchz on Fri, 21 Jan 2022 15:14:01 +0200
Secondary packaging of wechat applet Page and Component (in line with vue2's development habits)
preface
I believe many developers who have developed wechat applets should know that wechat applets are very similar to vue in syntax, but there are some differences. This article will describe how to re encapsulate the Page constructor and Component constructor of wechat applets, and smooth out the differences between some wechat applets ...
Added by BinaryStar on Fri, 21 Jan 2022 00:48:25 +0200
Postgraduate entrance examination question brushing applet cloud development practice - basic knowledge reserve
prefaceFor the postgraduate entrance examination question brushing applet project, its technology stack is based on wechat native applet and cloud development capability. Therefore, it is necessary to install wechat developer tools locally, initialize the postgraduate entrance examination question brushing applet project, understand the project ...
Added by apervizi on Wed, 19 Jan 2022 02:53:21 +0200
How to customize the bottom navigation of wechat applet
Let's take a look at the difference between the customized bottom navigation (Figure 1) and the non customized navigation (Figure 2)
Figure 1
Figure 2
How to implement custom bottom navigation
Need to be in app Add "custom":true to the configuration item "tabBar" of JSON. After adding this attribute, the following list co ...
Added by pastcow on Wed, 12 Jan 2022 08:54:45 +0200
Special effects of receiving and sending cards in animation
1, Transceiver card
demand
5 cards, 3 up and 2 down. After the page button needs to be triggered, all cards are recovered to the button, and then sent out, which is similar to the effect of shuffling.
thinking
Recently, it is required to realize a similar dynamic effect similar to spider card sending and receiving. After consulting the data, i ...
Added by freelancer on Tue, 11 Jan 2022 09:43:53 +0200
Postgraduate entrance examination question brushing applet cloud development practice - directory structure and configuration file
1. Directory structure of appletThe main development language of applet is JavaScript. Compared with ordinary web page development, the development of applet is very similar. For front-end developers, the development cost of migrating from web development to applet is not high, but they are still a little different.Web developers only need to u ...
Added by Cal on Sat, 08 Jan 2022 05:32:53 +0200