Detailed explanation of WeChat mini program development for eDriving Lite mini program

迷茫
Release: 2017-03-25 15:47:05
Original
4004 people have browsed it

eDriving Lite is a small program that professionally provides "quick arrival, good service, and full guarantee" driving service. Using mobile Internet technology to improve the traditional driving service industry, while greatly reducing the waiting time and driving service fees, it also brings safety and convenience to the public.

This article focuses on analyzing the main functions of this WeChat applet, as well as the corresponding data interface and the adopted applet component/API technology. Let us get closer to the mini program, pass on knowledge and share the harvest.

Function 1: Display home page


Data interface: Enter the homepage, automatically locate and obtain the current location

Mini program components used: view, image, text, input, button

Mini program API used: wx.getLocation

Function 2: Call the driver


Data interface: Click "Call Driver" and the system will automatically contact the driver to dispatch your order

Mini program components used: view.text, button

Mini program API used: wx.request

Function 3: Search address


Data interface: Enter the search page, enter the location, and search

Mini program components used: view, text, image, form, input

Mini program API used: wx.request

Function 4: Login


Data interface:

①System login: Enter the mini program, and the mini program pops up a login request

②Mobile phone verification: Click to register and log in, use your mobile phone to get verification code, and log in

Mini program components used: input, form, button

Mini program API used: wx.request, wx.login, wx.getUserInfo

Summarize:

The "eDriving Lite" mini program has 4 pages, uses 5 mini program components, and uses 4 mini program APIs, as follows:

Number of front-end pages: 4

are respectively:

1.Home page: pages/index/index

2. Search address: pages/search-addr/search-addr

3. Login: pages/login/login

4.Details: pages/details/details

Small program components used: view, image, text, input, button

Mini program API used: wx.getLocation, wx.login, wx.getUserInfo, wx.request

Number of data interface APIs: 4

Data interface API:

1. Display homepage

2. Call the driver

3. Search location

The above is the detailed content of Detailed explanation of WeChat mini program development for eDriving Lite mini program. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!