layui基础调用
css部分
<link rel="stylesheet" href="layui/css/layui.css"> js部分:
<script src="layui/layui.all.js"></script>
全局调用
<script> !function () { var table = layui.table; table.init('teacher1', {}); table.init('teacher2', {}); table.init('teacher3', {}); table.init('teacher4', {}); table.init('teacher5', {}); }(); </script>