At which step does the back-end data processing status reach? The current status turns blue
为情所困2017-06-19 09:09:31
When you get the data, the background will give you a status field. If the status field returns 1, and the status corresponding to 1 is processed, you can just set the first two to blue.
我想大声告诉你2017-06-19 09:09:31
There is a status value on the backend data, such as status, which indicates the current step. Each step node on the front-end page has two states, normal state (gray) and activated state (blue, with active
CSS class), and then through the status value of the back-end, all steps before the status value of the front-end are Add class="active"
.
大家讲道理2017-06-19 09:09:31
One solution is to have five pictures with different progress. Read data from the backend and display a picture of the current progress based on which step the data has reached.