Ext.require(['Ext.window.Window', 'Ext.tab.*', 'Ext.toolbar.Spacer',
'Ext.layout.container.Card', 'Ext.layout.container.Border']);
Ext.onReady(function() {
Ext.create('Ext.Window', {
title : '管理员须知',
width : 400,
height : 50,
id:'knowwin',
x : 500,
y : 200,
plain : true,
modal : true,
headerPosition : 'top',
layout : 'fit',
html : "<div>" + "管理员切勿随意添加数据,更改数据内容,不要随意关闭系统。"
+ "若系统发生异常,请根据日志进行准确排查-----"
+ "<font color='red' title='系统发生问题,请联系'>"
+ "huanhai24@sina.com" + "</font>" + "</div>",
buttons : [{
text : '知道了',
handler : function() {
Ext.getCmp('knowwin').close();
}
}]
}).show();
});