doc.blade.php 2.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  6. <title>部分数据表字典</title>
  7. <link href="https://cdn.bootcdn.net/ajax/libs/twitter-bootstrap/4.4.1/css/bootstrap.min.css" rel="stylesheet">
  8. </head>
  9. <body style="font-size: 15px; margin: 25px;">
  10. <div style="text-align: center"><h1>部分数据表字典</h1></div>
  11. <div class="row">
  12. <div class="col-sm-6">
  13. <?php foreach ($data1 as $k => $v){ ?>
  14. <div class="ibox float-e-margins">
  15. <div class="ibox-title">
  16. <h2 style="margin-top: -5px;">{{$k}}</h2>
  17. </div>
  18. <div class="ibox-content">
  19. <table class="table table-bordered">
  20. <thead>
  21. <tr>
  22. <th>字段名</th>
  23. <th>字段类型</th>
  24. <th>字段注释</th>
  25. </tr>
  26. </thead>
  27. <tbody>
  28. <?php foreach ($v as $vv){ ?>
  29. <tr>
  30. <td>{{$vv->name}}</td>
  31. <td>{{$vv->type}}</td>
  32. <td>{{$vv->comment}}</td>
  33. </tr>
  34. <?php }?>
  35. </tbody>
  36. </table>
  37. </div>
  38. </div>
  39. <?php }?>
  40. </div>
  41. <div class="col-sm-6">
  42. <?php foreach ($data2 as $k => $v){ ?>
  43. <div class="ibox float-e-margins">
  44. <div class="ibox-title">
  45. <h2 style="margin-top: -5px;">{{$k}}</h2>
  46. </div>
  47. <div class="ibox-content">
  48. <table class="table table-bordered">
  49. <thead>
  50. <tr>
  51. <th>字段名</th>
  52. <th>字段类型</th>
  53. <th>字段注释</th>
  54. </tr>
  55. </thead>
  56. <tbody>
  57. <?php foreach ($v as $vv){ ?>
  58. <tr>
  59. <td>{{$vv->name}}</td>
  60. <td>{{$vv->type}}</td>
  61. <td>{{$vv->comment}}</td>
  62. </tr>
  63. <?php }?>
  64. </tbody>
  65. </table>
  66. </div>
  67. </div>
  68. <?php }?>
  69. </div>
  70. </div>
  71. </body>
  72. </html>