增加关闭全屏

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

@ -436,3 +436,13 @@ label {
.table-bordered td,.table-bordered th {
border: 1px solid #ddd!important
}
/** 首页样式 */
.ax_close_max {
position: fixed;
top: 5px;
left: 5px;
z-index: 9999;
display: none;
color: #ccc;
}

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');