First, the code specification and coding principles
Code Style: Introduction to effective, clear.
(1), indent specifications
The same level of <view>, Tab indentation is the same, to prevent confusion of different levels, which can be clearly seen that the <view> is at the same level.
(2), branches Specification
Write only a single line sentence, alignment brackets (e.g. <view> </ view>).
(3), naming
When naming, named according to the function and use of variables, and is its full name in English.
(4), specification annotations
In JS, the definition will be a function of each annotation, suggesting a role not a function.
(5), level specification
When writing code stratified clear, you did not go casually put together all defined variables.
Coding principles:
To achieve the realization of the function, do not add some bells and whistles, the code is simple, according to the method of the most basic functions, variables, etc. are defined and written.
Second, the database
Because the data is cached locally , so did not get the database, the latter will improve.
Three, ER diagram
Fourth, functional flow
1, the user enters the program, it will be "accounts" in the interface. This interface initial data is blank.
2, the user clicks the "bookkeeping" navigation bar, enter the accounting interface, it is billed.
3, the user selects the "spending" or "income."
4, the user is described expenses (income) the specific circumstances, the amount of dates.
5, the user will be in the "Accounts" screen can clearly see their financial expenses (income) situation.
Five members of the division of labor and contribution
Mission personnel within |
Division of work |
Contribution points |
Xia Li Min |
Interface design |
10 points |
Zhaowen Can |
Fill in bookkeeping, etc. |
10 points |
Zhang Hongyu |
User touch interaction |
10 points |
Ma Yufen |
Delete data, etc. |
10 points |