javascript - How does the front end display this type of data?
伊谢尔伦
伊谢尔伦 2017-05-02 09:25:56
0
3
787

My graduation project is to build an educational management system website, but it is stuck in the timetable display.

This is my database field design. I mainly don’t know how to display it on the front end.
For example, the compilation technology course is taught in periods 3 to 5 on Tuesday, and then the compilation technology course will be displayed in periods 3 to 5 in this table, but the general table shows one row of tr, so I don’t know. How can I display this to three vertical lines (sections 3 to 5). .

伊谢尔伦
伊谢尔伦

小伙看你根骨奇佳,潜力无限,来学PHP伐。

reply all(3)
習慣沉默

time里面每一节课程的 end - start计算出具体 rowspan的值设置在tableJust the corresponding course

The function of

rowspan is to set the number of rows occupied by an element

仅有的幸福

Find a plugin to merge the same consecutive rows of columns

世界只因有你

Pay attention to learning the table tag, td has colspan and rowspan attributes, which can achieve the effect you mentioned

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template