Front-end phased summary

The front-end stage summary of the crowdsourced intra-city express delivery system epatch

Through the preliminary development work, we mainly completed the following points: 1. The client cooperates with the server to complete the login and registration function 2. The beautification of the Android interface

The first point: login registration function

According to demand, users will be divided into individual users and enterprise users.

Individual user registration process: Submit the verified id and password (personal and enterprise versions) to the server

id: mobile phone number; password: combination of numbers and letters

Call the relevant interface and use the mobile phone verification code to verify the id.

The user id and password will be stored in the established database through the background. With the front-end as the core, it passed the client-server connection test under the same local area network (opened the channel and successfully inserted the data into the database);

For enterprise users:

Review by querying the information of the company's industrial and commercial registration (such as company registration number, corporate legal representative, etc.) The approved enterprise will be able to set the enterprise account and password, and the process is the same as that of the individual user's id and password verification process.

The second point: interface optimization:

Necessity considerations: try to optimize the user experience, and the client interface will be closer to the mature UI design on the market from details

Write all UI styling into an XML file for calling:

1 Choose a set of main colors for the entire client to avoid over-saturated and too cold colors;

2 Design consistent shapes and touch events for all controls;

3Choose a unified set of icons, including checked and unchecked styles;

4 Unify all fonts, font sizes, controls to reserve gaps, margins, etc.;

5. Use relative layout and linear layout to achieve interface organization, which is both aesthetically pleasing;

6. Use the id number of the multi-select checkbox to realize the single-select function;

7 Store logged-in user information through sharedpreferences to skip the identity selection interface.

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325366670&siteId=291194637