Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
fgqyxxlr
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
yaru
fgqyxxlr
Commits
c1be1659
Commit
c1be1659
authored
Nov 15, 2018
by
RuoYi
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加关闭全屏
parent
6cda301f
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
0 deletions
+19
-0
ruoyi-admin/src/main/resources/static/ruoyi/css/ry-ui.css
+10
-0
ruoyi-admin/src/main/resources/static/ruoyi/index.js
+6
-0
ruoyi-admin/src/main/resources/templates/index.html
+3
-0
No files found.
ruoyi-admin/src/main/resources/static/ruoyi/css/ry-ui.css
View file @
c1be1659
...
...
@@ -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
;
}
ruoyi-admin/src/main/resources/static/ruoyi/index.js
View file @
c1be1659
...
...
@@ -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'
);
...
...
ruoyi-admin/src/main/resources/templates/index.html
View file @
c1be1659
...
...
@@ -121,6 +121,9 @@
</div>
<a
href=
"#"
class=
"roll-nav roll-right tabReload"
><i
class=
"fa fa-refresh"
></i>
刷新
</a>
</div>
<a
id=
"ax_close_max"
class=
"ax_close_max"
href=
"#"
title=
"关闭全屏"
>
<i
class=
"fa fa-times-circle-o"
></i>
</a>
<div
class=
"row mainContent"
id=
"content-main"
>
<iframe
class=
"RuoYi_iframe"
name=
"iframe0"
width=
"100%"
height=
"100%"
data-id=
"/system/main"
th:src=
"@{/system/main}"
frameborder=
"0"
seamless
></iframe>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment