WeChat mini-app development-explanation of e-chauffeur Lite mini-app

Source: Internet
Author: User
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!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.