增加关闭全屏

This commit is contained in:
RuoYi
2018-11-15 15:33:03 +08:00
parent 6cda301f43
commit c1be1659ea
3 changed files with 19 additions and 0 deletions

View File

@ -402,6 +402,12 @@ $(function() {
$('.page-tabs-content').find('.active').trigger("dblclick");
});
// 关闭全屏
$('#ax_close_max').click(function(){
$('#content-main').toggleClass('max');
$('#ax_close_max').hide();
})
// 双击选项卡全屏显示
function activeTabMax() {
$('#content-main').toggleClass('max');