This article focuses on the analysis of the main functions of this applet, as well as the corresponding data interfaces and the small program component API technology. Let's get closer to small programs, transfer knowledge, and share the gains. The small program components used: view... e chauffeur Lite is a professional small program that provides "fast arrival, good service, and full protection. Using mobile Internet technology to improve the traditional chauffeur service industry, while greatly reducing the waiting time and cost of chauffeur services, it also brings security and convenience to the public.
This article focuses on the main functions of this applet, as well as the corresponding data interfaces and the mini-program components/API technology. Let's get closer to small programs, transfer knowledge, and share the gains.
Function 1: Display the home page
Data Interface: go to the home page and automatically locate and obtain the current location
Used applet components: view, image, text, input, button
The small program API used: wx. getLocation
Function 2: call the driver
Data Interface: Click "call driver". The system automatically sends a ticket to the driver.
Used applet components: view. text, button
Small program API used: wx. request
Function 3: Search for an address
Data Interface: enter the search page, enter the location, and search
Used applet components: view, text, image, form, input
Small program API used: wx. request
Function 4: log on
Data interface:
① System login: Enter the applet, and the applet will pop up the login request
② Mobile phone verification: Click "register" to log on, get the verification code from your mobile phone, and log on.
Used applet components: input, form, button
Small program API used: wx. request, wx. login, wx. getUserInfo
Summary:
The "E-chauffeur Lite" applet has four pages, five of which are used, and four of which are used:
Number of front-end pages: 4
They are:
1. homepage: pages/index
2. search address: pages/search-addr
3. logon: pages/login
4. details: pages/details
Used applet components: view, image, text, input, button
Small program APIs used: wx. getLocation, wx. login, wx. getUserInfo, wx. request
Data Interface API count: 4
Data Interface API:
1. display the home page
2. call the driver
3. search location
The above is the detailed description of the e-chauffeur Lite mini-program for small program development. For more information, see other related articles in the first PHP community!