|
|
@ -131,9 +131,9 @@ layui.define('jquery', function(exports){
|
|
|
|
,filter = parents.attr('lay-filter');
|
|
|
|
,filter = parents.attr('lay-filter');
|
|
|
|
|
|
|
|
|
|
|
|
if(li.hasClass(THIS)){
|
|
|
|
if(li.hasClass(THIS)){
|
|
|
|
if (li.next()[0] && li.next()[0].tagName === 'LI'){
|
|
|
|
if (li.next()[0] && li.next().is('li')){
|
|
|
|
call.tabClick.call(li.next()[0], null, index + 1);
|
|
|
|
call.tabClick.call(li.next()[0], null, index + 1);
|
|
|
|
} else if (li.prev()[0] && li.prev()[0].tagName === 'LI'){
|
|
|
|
} else if (li.prev()[0] && li.prev().is('li')){
|
|
|
|
call.tabClick.call(li.prev()[0], null, index - 1);
|
|
|
|
call.tabClick.call(li.prev()[0], null, index - 1);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|