|
|
@@ -75,7 +75,6 @@ Ext.define('saas.view.main.Main', {
|
|
|
text: '新手导航',
|
|
|
iconCls:'x-fa fa-comment-o',
|
|
|
handler:function(){
|
|
|
- console.log("新手导航");
|
|
|
openTab('sys-guide-formpanel','新手导航', 'sys-guide-formpanel-nav');
|
|
|
}
|
|
|
},{
|
|
|
@@ -147,14 +146,11 @@ Ext.define('saas.view.main.Main', {
|
|
|
} ,
|
|
|
listeners:{
|
|
|
'mouseover':function(btn){
|
|
|
- console.log("btn:",btn);
|
|
|
btn.menu ? (btn.menu.isVisible() ? '' : btn.showMenu()) : '';
|
|
|
},
|
|
|
'mouseout':function(btn,e){
|
|
|
- console.log("btn:",btn);
|
|
|
window.setTimeout(function(){
|
|
|
var cx = e.browserEvent.clientX, cy = e.browserEvent.clientY;
|
|
|
- console.log(btn.el.dom);
|
|
|
var btnLayout = btn.el.dom.getBoundingClientRect();
|
|
|
if(cx <= btnLayout.left || cx >= btnLayout.left+btnLayout.width || cy <= btnLayout.top) {
|
|
|
btn.hideMenu();
|