Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
guns-vip
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
chenjunxiong
guns-vip
Commits
eaaa1499
Commit
eaaa1499
authored
Oct 31, 2018
by
fengshuonan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改table分页样式
parent
424bf3c2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
0 additions
and
34 deletions
+0
-34
src/main/webapp/assets/common/plugins/bootstrap-table/bootstrap-table.min.js
+0
-0
src/main/webapp/assets/common/static/stylefeng/Feng.js
+0
-34
No files found.
src/main/webapp/assets/common/plugins/bootstrap-table/bootstrap-table.min.js
View file @
eaaa1499
This diff is collapsed.
Click to expand it.
src/main/webapp/assets/common/static/stylefeng/Feng.js
View file @
eaaa1499
...
@@ -158,39 +158,5 @@ var Feng = {
...
@@ -158,39 +158,5 @@ var Feng = {
return
0
;
return
0
;
break
;
break
;
}
}
},
newCrontab
:
function
(
href
,
menuName
)
{
var
dataUrl
=
href
;
var
needCreateCrontab
=
true
;
// 轮询已有的标签,判断是否已经存在标签
parent
.
$
(
'.J_menuTab'
).
each
(
function
()
{
if
(
$
(
this
).
data
(
'id'
)
==
dataUrl
)
{
if
(
!
$
(
this
).
hasClass
(
'active'
))
{
$
(
this
).
addClass
(
'active'
).
siblings
(
'.J_menuTab'
).
removeClass
(
'active'
);
parent
.
MyCrontab
.
scrollToTab
(
this
);
parent
.
MyCrontab
.
$
(
'.J_mainContent .J_iframe'
).
each
(
function
()
{
if
(
$
(
this
).
data
(
'id'
)
==
dataUrl
)
{
$
(
this
).
show
().
siblings
(
'.J_iframe'
).
hide
();
$
(
this
).
attr
(
'src'
,
$
(
this
).
attr
(
'src'
));
return
false
;
}
});
}
needCreateCrontab
=
false
;
return
false
;
}
});
//创建标签
if
(
needCreateCrontab
)
{
var
tabLink
=
'<a href="javascript:;" class="active J_menuTab" data-id="'
+
dataUrl
+
'">'
+
menuName
+
' <i class="fa fa-times-circle"></i></a>'
;
parent
.
$
(
'.J_menuTab'
).
removeClass
(
'active'
);
parent
.
$
(
'.J_menuTabs .page-tabs-content'
).
append
(
tabLink
);
var
iframeContent
=
'<iframe class="J_iframe" name="iframe'
+
Feng
.
randomNum
(
100
,
999
)
+
'" width="100%" height="100%" src="'
+
dataUrl
+
'" frameborder="0" data-id="'
+
dataUrl
+
'" seamless></iframe>'
;
parent
.
$
(
'.J_mainContent'
).
find
(
'iframe.J_iframe'
).
hide
().
parents
(
'.J_mainContent'
).
append
(
iframeContent
);
parent
.
MyCrontab
.
scrollToTab
(
$
(
'.J_menuTab.active'
));
}
}
}
};
};
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