Pair programming project - with UI little high early math learning software

First, the software needs

1, user registration function. The user's phone number, click on the registration will receive a registration code, the user can use this registration code to complete the registration;

2, after the completion of user registration, password prompt interface, user input password matches the password twice after the success. 6-10 password, the case must contain letters and numbers. Users can change the password, enter the correct password in the log in the original state, change your password after successfully re-enter the same new password twice;

3, after the password has been set, jump to the selection interface, display interface elementary, middle and high school three options, the user clicks on one of them, prompting the user to enter the number of items need to be generated;

4, the number of items the user input, generating a piece of paper (with a roll can not have the same title, all entitled multiple choice), the interface displays the first question and casual working four options, the user selects one of the four options submission interface displays the second question, ... until the last question;

5, after the submission of the last question, the display interface, the score is calculated based on the percentage of correct answers;

6, the user interface can opt out of the score or continue to do problems.

Second, the realization of functions

My task is to achieve 1,2,3, and added two new features on the basis of the original features: retrieve your password, administrator mode. Below these two functions do some simple introduction:

【forget password】

  1. It is very common in the software functionality, if a user forgets a password can easily get back in without logging in, more humane;
  2. Specific operations are: in the home page click on "Forgot your password to get back?", The user will be asked to enter the mobile phone number is bound (registered in the logic portion of the same phone number can not be bound to multiple accounts if the phone number is bound It would prompted), and then get the verification code, you can reset the user password to enter the correct code to reset your password after successfully matching enter the password twice.

 

    Step 1: Click on the "Forgot your password to get back?"

 

 

 

Step 2: Enter the phone number, Click for Code and click OK after entering the verification code

 

 

FIG 3 receives the verification code

 

 

 

 

Step 4: Enter the new password twice

 

 

 

5 Forgot your password success

 

[Administrator Mode]

  1. School teachers and students in the educational system Log is not the same function, because this is a little high early math learning software, so that teachers expect after landing can view the user's learning, but due to time constraints, can only be achieved administrator account after landing the user can view the personal information, do not see the problem to realize the situation;
  2. Administrator account stored in a json, the other registered user information is also stored in here;

 

 

 

  1. To do is: After the administrator account login, enter the user want to view personal information (username is not the same, you'll be prompted if the same register), then you can see that the user is bound phone number, password, you can click Edit password to modify the user's password (the administrator can set any password, as an administrator).

 

Step 1: Administrator account login

 

 

Step 2: Enter the user want to view

 

 

Step 3: View the user information

 

 

4 Step Four: If you click Change Password to modify user password

 

 

Figure 5 prompted to change your password success

 

Third, icon explanation

 

 

 

:Back to previous

 

Exit account signed in:

 

Change Password signed in:

Fourth, can improve the function

  1. Down only been unable to return to the previous question when users do problems;
  2. Click to get this code only once and can not be re-acquired after the countdown;
  3. Users do not have to save the title situation.

Fifth, feelings and experiences

The pair programming gain a lot, in order to achieve access code function SMS services account registered a lot, and finally chose a free personal version of Ali cloud; in store users' personal information for the first time used the json. The topic and the logic of his teammates to write great ~

Guess you like

Origin www.cnblogs.com/hysxxn/p/11605550.html