一:页面引入
1 2 3 4 5 6 7 8 9 10 11 12 13 14
| <!-- 引入 layui.css --> <link rel="stylesheet" href="https://static.tohours.com/jren/layui/css/layui.css">
<!-- 引入Jquery --> <script src="https://static.tohours.com/jren/js/jquery-3.6.0.min.js"></script>
<!-- 引入Layui.js --> <script src="https://static.tohours.com/jren/layui/layui.all.js"></script> <!-- 引入MyUtils.js --> <script src="https://static.tohours.com/jren/layui/my-js/myUtils.js"></script>
<script> alert(1); </script>
|
二:描述
1
| 这样就可以使用alert,confrim,msg,close等
|
*************感谢您的阅读*************