f47c6a4bce61813fb7291a29551c1831.php 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122
  1. <?php /*a:2:{s:58:"D:\phpstudy_pro\WWW\caiping\app\admin\view\crud\index.html";i:1723541257;s:59:"D:\phpstudy_pro\WWW\caiping\app\admin\view\common\base.html";i:1723541257;}*/ ?>
  2. <!DOCTYPE html>
  3. <html>
  4. <head>
  5. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  6. <meta name="renderer" content="webkit">
  7. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  8. <meta name="360-site-verification" content="a7c876fae8b6e3175a52ea9f19543f51" />
  9. <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=0">
  10. <script src="/static/dist/xm-select.js"></script>
  11. <link rel="mobile-prefetch" href=""/>
  12. <title><?php echo get_system_config('web','admin_title'); ?></title>
  13. <meta name="keywords" content="<?php echo get_system_config('web','keywords'); ?>"/>
  14. <meta name="description" content="<?php echo get_system_config('web','desc'); ?>"/>
  15. <link rel="stylesheet" href="/static/assets/gougu/css/gougu.css?v=<?php echo get_system_config('web','version'); ?>" media="all">
  16. <style>
  17. .footer{
  18. width: 100%;
  19. height: 25px;
  20. text-align: center;
  21. position: fixed;
  22. bottom: 0;
  23. }
  24. </style>
  25. </head>
  26. <body class="main-body">
  27. <!-- 主体 -->
  28. <div class="p-3">
  29. <table class="layui-table layui-form">
  30. <thead>
  31. <tr>
  32. <th colspan="7" class="red" style="text-align:left; line-height:1.8">
  33. 使用【<strong>一键CRUD生成代码</strong>】功能可以帮你完成 <strong>60%</strong> 以上的开发工作,只有系统的超级管理员才可以使用该功能,使用前请先<strong>新建数据表</strong>
  34. <br/>注意:数据表的注释必须带 <strong>::crud</strong> 标识才能被识别,例如:文章表::crud。<a href="http://admin.gougucms.com/" target="_blank" class="layui-btn layui-btn-normal layui-btn-xs">查看建表样例</a>
  35. </th>
  36. </tr>
  37. <tr>
  38. <th style="text-align:center;">ID编号</th>
  39. <th style="text-align:center;">表前缀</th>
  40. <th>数据表名</th>
  41. <th style="text-align:center;">数据量</th>
  42. <th style="text-align:center;">创建时间</th>
  43. <th>数据表注释</th>
  44. <th style="text-align:center;">操作</th>
  45. </tr>
  46. </thead>
  47. <tbody>
  48. <?php if(is_array($table_info) || $table_info instanceof \think\Collection || $table_info instanceof \think\Paginator): $i = 0; $__LIST__ = $table_info;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$v): $mod = ($i % 2 );++$i;?>
  49. <tr>
  50. <td style="text-align:center;"><?php echo htmlentities($i); ?></td>
  51. <td style="text-align:center;"><?php echo htmlentities($prefix); ?></td>
  52. <td><?php echo htmlentities($v['title']); ?></td>
  53. <td style="text-align:center;"><?php echo htmlentities($v['Rows']); ?></td>
  54. <td style="text-align:center;"><?php echo htmlentities($v['Create_time']); ?></td>
  55. <td><?php echo htmlentities($v['Comment']); ?></td>
  56. <td style="text-align:center;">
  57. <?php if($v['crud'] == '0'): ?>
  58. <a href="/admin/crud/table?name=<?php echo htmlentities($v['Name']); ?>" class="layui-btn layui-btn-xs">一键CRUD生成代码</a>
  59. <?php else: ?>
  60. 已生成CRUD <a href="/admin/crud/table?name=<?php echo htmlentities($v['Name']); ?>" class="layui-btn layui-btn-normal layui-btn-xs">详细</a>
  61. <?php endif; ?>
  62. </td>
  63. </tr>
  64. <?php endforeach; endif; else: echo "" ;endif; ?>
  65. </tbody>
  66. </table>
  67. </div>
  68. <!-- /主体 -->
  69. <!-- 底部 -->
  70. <div class="footer">
  71. 逸管工程项目管理系统 © www.yiguanfep.com
  72. <img src="/static/home/images/police.png" alt="" style="width:14.5px;height:16px;">
  73. <a href="https://beian.mps.gov.cn/#/query/websearch?code=45030202000160 " rel="\&quot;noreferrer'target=\”blank\&quot;" onclick="window.open(this.href); return false;">桂公网安备45030202000160号</a>
  74. <a href="https://beian.miit.gov.cn/#/Integrated/index" onclick="window.open(this.href); return false;">桂ICP备17000971号</a>
  75. </div>
  76. <!-- /底部 -->
  77. <!-- 脚本 -->
  78. <script>
  79. const moduleInit = ['tool'];
  80. function gouguInit() {
  81. var tool = layui.tool;
  82. }
  83. </script>
  84. <!-- /脚本 -->
  85. <!-- <script src="/static/assets/layui/layui.js"></script> -->
  86. <script src="/static/assets/layui/layui.js"></script>
  87. <script src="/static/assets/third_party/echart/echarts.min.js"></script>
  88. <script src="/static/assets/gougu/gouguInit.js"></script>
  89. <script src="https://unpkg.com/pinyin-pro"></script>
  90. <script>
  91. var { pinyin } = pinyinPro;
  92. </script>
  93. <!-- 统计代码 -->
  94. <!-- /统计代码 -->
  95. </body>
  96. </html>