直接在webapp创建css文件夹添加easyui
引入:
<link rel="stylesheet" type="text/css" href="css/easyui/themes/icon.css">
<link rel="stylesheet" type="text/css" href="css/easyui/demo/demo.css">
<script type="text/javascript" src="css/easyui/jquery.min.js"></script>
<link rel="stylesheet" href="css/easyui/themes/default/easyui.css">
<script type="text/javascript" src="css/easyui/jquery.easyui.min.js"></script>
错误:
解决问题:
<link rel="stylesheet" type="text/css" href="/css/easyui/themes/icon.css">
<link rel="stylesheet" type="text/css" href="/css/easyui/demo/demo.css">
<script type="text/javascript" src="/css/easyui/jquery.min.js"></script>
<link rel="stylesheet" href="/css/easyui/themes/default/easyui.css">
<script type="text/javascript" src="/css/easyui/jquery.easyui.min.js"></script>
css前面要加/(斜杠),没有对比就没有伤害,哭。。。。