EasyUi第一章:入门

后台,前端页面设计

第一:准备步骤

    easyuI包

第二:导入包(下图所示)

第三:引用

       1.防止页面缓存,因为你返回有可能是之前未刷新的数据

             <meta http-equiv="pragma" content="no-cache">
             <meta http-equiv="cache-control" content="no-cache">
             <meta http-equiv="expires" content="0">

        2.引用easyui自带的两个css文件

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

        3.引用easyui自带的js脚本类库

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

这样你就可以调用easyui了

eg:注册界面设计

     html代码:

        js代码:

具体效果:

猜你喜欢

转载自blog.csdn.net/qq_41493846/article/details/82490854