2.easyui+ztree案例:在项目中引入easyui

开发包目录结构:

2.easyui+ztree案例:在项目中引入easyui_第1张图片

l  在项目中先导入jQuery的JS,再导入EasyUI的JS,

jQuery.easyui.min.js ==easyloader.js+plugins/*

迷你JS是核心加载器和所有插件的合体,所以一般直接导入这个迷你JS。

l  还需要导入CSS,打开themes目录,可以发现,它内置了5中主题。

2.easyui+ztree案例:在项目中引入easyui_第2张图片

一般导入的是default下的easyui.css。

l  还需要导入图标的CSS,在themes下的icon.css。

 

这些东西的导入方式,可以直接从EasyUI-API+1.3.2.chm帮助文档中的首页获取:

<link rel="stylesheet"type="text/css" href="easyui/themes/default/easyui.css">

<link rel="stylesheet"type="text/css" href="easyui/themes/icon.css">

<script type="text/javascript"src="easyui/jquery-1.7.2.min.js"></script>

<script type="text/javascript"src="easyui/jquery.easyui.min.js"></script>

在页面中粘贴这四个,easyui的开发环境就搭建好了。


你可能感兴趣的:(jquery,easyui)