easyui-dialog
$("#dialog-videofiles" ).dialog({
title:'选择视频文件',
height: 500,
width:500,
modal: true,
"buttons":{ "确定": function() {
},
"取消": function() {
$(this).dialog("close");
}
}
});
这里边的title和button中的字体大小怎么设置?
------解决方案--------------------我也是最近才接触UI,觉得应该在ui.css里面默认设置好了
------解决方案--------------------后面加上.dialog('setTitle','......');设置title
------解决方案--------------------在 easyui.css
.panel-header {
color: #15428B;
font-size: 12px;
font-weight: bold;
line-height: 15px;
}
a.l-btn {
background: url("easyui/button_a_bg.gif") no-repeat scroll right top transparent;
color: #000000;
cursor: pointer;
display: inline-block;
font-size: 12px;
height: 24px;
outline: medium none;
padding-right: 8px;
text-decoration: none;
}