search

Home  >  Q&A  >  body text

javascript - How does the front end display this type of data?

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). .

伊谢尔伦伊谢尔伦2825 days ago800

reply all(3)I'll reply

  • 習慣沉默

    習慣沉默2017-05-02 09:27:56

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

    The function of

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

    reply
    0
  • 仅有的幸福

    仅有的幸福2017-05-02 09:27:56

    Find a plugin to merge the same consecutive rows of columns

    reply
    0
  • 世界只因有你

    世界只因有你2017-05-02 09:27:56

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

    reply
    0
  • Cancelreply