Joke Collection Website - Blessing messages - How to log in with SMS verification code?

How to log in with SMS verification code?

SMS verification code login is a common function in login scenarios. Towify integrates verification code acquisition event and mobile phone login event, which can help you configure quickly.

1 effect display

The login function of SMS verification code is realized by configuring the mobile phone login event on the button component, configuring the capture verification code component on the label text and switching the gas switch timer with the component.

2 create a data table

Tip: In the data center, you can create data tables of your own applications. The types of data tables are divided into user table, commodity table, order table and user-defined table.

Click on the data center

Create data table

Select the user table in the table type drop-down box.

3 Create an event

Tip: Events are abstract logic that establishes links between data and interface elements. Data tables are connected with interface element components through events.

Click on the event center

Add mobile login event

Create get verification code event

4 trigger configuration

Tip: Create a trigger in the trigger setting panel of the inspection panel, which can set interactive logic for the component or perform dynamic data operation with the event.

Selected component switcher

Click the trigger in the inspection panel.

Create trigger

Create a trigger to toggle the countdown.

Select the Get Captcha Label Text component.

Create a trigger for requesting verification code

Select the timer component.

Create an activation trigger

Select the Get Captcha Label Text component.

Create and execute other triggers

Select the timer component.

Create a toggle trigger to get the verification code.

Create a listening state change trigger

Select the login button.

Create login trigger

Create login success trigger

Create login failure trigger