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>

 

posted @ 2020-03-12 12:00  moppet蔡蔡  阅读(202)  评论(0编辑  收藏  举报