参考资料
文章目录
常用前端框架
- EasyUI 框架 (组件型)
- Bootscrapt 框架 (组件型)
- Jquery框架(功能型)
- Vue框架(功能型)
常用前端语言
javascript
jQuery
jQuery EasyUI
JSON
环境搭建
jQuery Easy UI下载地址
vscode 如何相对路径?直接拷贝不对
vscode打开新建一个test.html
API文档
开发文档地址
如果当前窗口属性没有找到,可以找继承的窗口。
Dialog(对话框窗口)
将 dialog 窗体显示为模式化窗口。
easyloader组件
开发文档地址
不推荐easyloader方式
parser解析器
参考文档
panle组件
参考文档
# 属性iconCls
对应icon.css 查看对应的图标
# 属性collapsible
false 不显示折叠按钮 true 显示折叠按钮
# 属性closed
boolean 定义是否在初始化的时候关闭面板。
# 方法 open
打开panel
# 方法 distory
销毁panel
新建一个登录界面
jQuery API文档
<script type="text/javascript">
var LoginDialog;
var WebServiceURL = "http://localhost/WebService/WebService1.asmx/";
console.log(WebServiceURL)
$(function () {
LoginDialog = $('#LoginDialog').dialog({
modal: true, // 修改窗口模式
closable: false,
buttons: [{
text: '注册', handler: function () {
console.info('点击了注册按钮');
}
}, {
text: '登录', handler: function () {
console.info('点击了登录按钮');
$.ajax({
type: "POST", //访问WebService使用Post方式请求
contentType: "application/json;charset=UTF-8",
url: WebServiceURL + "/HelloWorld",
// data: {
// a:1
// },
cache: false,
dataType: 'json',
success: function (r) {
if (r.d == 'Hello World') {
// 登录成功
LoginDialog.dialog('close');
$.messager.show({
title: '提示',
msg: '登录成功',
timeout: 3000,
showType: 'slide'
});
}
else {
$.messager.alert('提示', '登录失败!');
}
}
});
}
}]
});
});
</script>
Form组件
<script type="text/javascript">
var LoginDialog;
var LoginForm;
var WebServiceURL = "http://localhost/WebService/WebService1.asmx";
console.log(WebServiceURL)
$(function () {
LoginDialog = $('#LoginDialog').dialog({
modal: true, // 修改窗口模式
closable: false,
buttons: [{
text: '注册', handler: function () {
console.info('点击了注册按钮');
}
}, {
text: '登录', handler: function () {
console.info('点击了登录按钮');
LoginForm.submit();
}
}]
});
LoginForm = $('#LoginForm').form({
url: "http://localhost/WebService/WebService1.asmx/HelloWorld2",
onSubmit: function () {
debugger;
},
success: function (data) {
debugger;
console.log(data);
var jsondata= JSON.parse(data);
console.log(jsondata);
}
});
});
</script>
validatebox组件
引入
<scrpt type="text/javascript" src="../jquery-easyui-1.7.0/locale/easyui-lang-zh_CN.js"></scrpt>
但是还是英文提示
设置属性 missingMessage
增加回车功能
layout布局
DataGrid(数据表格)
今天的文章easyui框架的优缺点_ui框架有哪些[通俗易懂]分享到此就结束了,感谢您的阅读。
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 举报,一经查实,本站将立刻删除。
如需转载请保留出处:https://bianchenghao.cn/70677.html
![easyui框架的优缺点_ui框架有哪些[通俗易懂]插图1 在这里插入图片描述](https://img.bianchenghao.cn/app/bianchenghao_cn/a8dce096a38b436d9a2a9e7420d2590d.png)
![easyui框架的优缺点_ui框架有哪些[通俗易懂]插图3 在这里插入图片描述](https://img.bianchenghao.cn/app/bianchenghao_cn/c59a5bc073884e04ac03851e0325d5c3.png)
![easyui框架的优缺点_ui框架有哪些[通俗易懂]插图5 在这里插入图片描述](https://img.bianchenghao.cn/app/bianchenghao_cn/9dfe249e124e4e7a87abcd705ccdf3a7.png)
![easyui框架的优缺点_ui框架有哪些[通俗易懂]插图7 在这里插入图片描述](https://img.bianchenghao.cn/app/bianchenghao_cn/647d5128a9564a2ca2ab4a4549296680.png)
![easyui框架的优缺点_ui框架有哪些[通俗易懂]插图9 在这里插入图片描述](https://img.bianchenghao.cn/app/bianchenghao_cn/07220c175384457ea4287314b23924a5.png)
![easyui框架的优缺点_ui框架有哪些[通俗易懂]插图11 在这里插入图片描述](https://img.bianchenghao.cn/app/bianchenghao_cn/fe4f610d8a024b52b30eba306bc98c40.png)
![easyui框架的优缺点_ui框架有哪些[通俗易懂]插图13 在这里插入图片描述](https://img.bianchenghao.cn/app/bianchenghao_cn/846384d8c77d40a9913795844191dee6.png)
![easyui框架的优缺点_ui框架有哪些[通俗易懂]插图15 在这里插入图片描述](https://img.bianchenghao.cn/app/bianchenghao_cn/3a7bbc94bff24540b9c995fee15fca9b.png)
![easyui框架的优缺点_ui框架有哪些[通俗易懂]插图17 在这里插入图片描述](https://img.bianchenghao.cn/app/bianchenghao_cn/25376fe3285145e5a84058141ef15c9a.png)
![easyui框架的优缺点_ui框架有哪些[通俗易懂]插图19 在这里插入图片描述](https://img.bianchenghao.cn/app/bianchenghao_cn/f4845cefb5c9406f9c46e75b8b63c6cd.png)
![easyui框架的优缺点_ui框架有哪些[通俗易懂]插图21 在这里插入图片描述](https://img.bianchenghao.cn/app/bianchenghao_cn/d7f56600b78b46d8b0b6b1933bf431c5.png)
![easyui框架的优缺点_ui框架有哪些[通俗易懂]插图23 在这里插入图片描述](https://img.bianchenghao.cn/app/bianchenghao_cn/1fbb03d613494ca49d15bf45795627c8.png)
![easyui框架的优缺点_ui框架有哪些[通俗易懂]插图25 在这里插入图片描述](https://img.bianchenghao.cn/app/bianchenghao_cn/bf6a3e4734dc411c90ee5d1db357ffba.png)
![easyui框架的优缺点_ui框架有哪些[通俗易懂]插图27 在这里插入图片描述](https://img.bianchenghao.cn/app/bianchenghao_cn/b8d85d09c9bc40debf8c2ffb0dda2487.png)
![easyui框架的优缺点_ui框架有哪些[通俗易懂]插图29 在这里插入图片描述](https://img.bianchenghao.cn/app/bianchenghao_cn/18f8ef695416407aaefe62c55907faca.png)
![easyui框架的优缺点_ui框架有哪些[通俗易懂]插图31 在这里插入图片描述](https://img.bianchenghao.cn/app/bianchenghao_cn/abfe1d88af644011beca5d2e76364cce.png)
![easyui框架的优缺点_ui框架有哪些[通俗易懂]插图33 在这里插入图片描述](https://img.bianchenghao.cn/app/bianchenghao_cn/3a5d1300fdba4482be72209c4bb99dba.png)
![easyui框架的优缺点_ui框架有哪些[通俗易懂]插图35 在这里插入图片描述](https://img.bianchenghao.cn/app/bianchenghao_cn/fb4601c2740f460486c778e0c20009f6.png)
![easyui框架的优缺点_ui框架有哪些[通俗易懂]插图37 在这里插入图片描述](https://img.bianchenghao.cn/app/bianchenghao_cn/14566f61c3cf490ab6330fe325454a61.png)
![easyui框架的优缺点_ui框架有哪些[通俗易懂]插图39 在这里插入图片描述](https://img.bianchenghao.cn/app/bianchenghao_cn/724a9c110b3b4a8bb3be232ace32fe79.png)
![easyui框架的优缺点_ui框架有哪些[通俗易懂]插图41 在这里插入图片描述](https://img.bianchenghao.cn/app/bianchenghao_cn/0645afb5950549d0983a8a1a9cf70313.png)
![easyui框架的优缺点_ui框架有哪些[通俗易懂]插图43 在这里插入图片描述](https://img.bianchenghao.cn/app/bianchenghao_cn/d2af8a10f0d842d2b8559dd774d175e5.png)
![easyui框架的优缺点_ui框架有哪些[通俗易懂]插图45 在这里插入图片描述](https://img.bianchenghao.cn/app/bianchenghao_cn/515c1d66002745de91893bc247f90d9f.png)
![easyui框架的优缺点_ui框架有哪些[通俗易懂]插图47 在这里插入图片描述](https://img.bianchenghao.cn/app/bianchenghao_cn/89f6d8159aa44d5c870d79a6c9ab3471.png)
![easyui框架的优缺点_ui框架有哪些[通俗易懂]插图49 在这里插入图片描述](https://img.bianchenghao.cn/app/bianchenghao_cn/40360d2578a04cbf821e111d8eb8d65a.png)
![easyui框架的优缺点_ui框架有哪些[通俗易懂]插图51 在这里插入图片描述](https://img.bianchenghao.cn/app/bianchenghao_cn/cfeff6e9ee0a465e9190bd21600671f5.png)
![easyui框架的优缺点_ui框架有哪些[通俗易懂]插图53 在这里插入图片描述](https://img.bianchenghao.cn/app/bianchenghao_cn/4fa0a3bae5a24e038778dd28a432a9ab.png)
![easyui框架的优缺点_ui框架有哪些[通俗易懂]插图55 在这里插入图片描述](https://img.bianchenghao.cn/app/bianchenghao_cn/77af199dc12244648309e3d8b5c53a6f.png)
![easyui框架的优缺点_ui框架有哪些[通俗易懂]插图57 在这里插入图片描述](https://img.bianchenghao.cn/app/bianchenghao_cn/a75059a9d02140b58ebad32e1427863d.png)