Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
T
tl_estate
Project
Project
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
hujun
tl_estate
Commits
a4f5bc50
Commit
a4f5bc50
authored
Jan 15, 2019
by
duxinyuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
313b7874
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
1 addition
and
22 deletions
+1
-22
frame_tpl.html
application/index/view/global/frame_tpl.html
+0
-0
main_index.html
application/index/view/main_index/main_index.html
+0
-12
mainIndex.js
public/resource/js/mainIndex.js
+1
-10
No files found.
application/index/view/global/frame_tpl.html
View file @
a4f5bc50
This diff is collapsed.
Click to expand it.
application/index/view/main_index/main_index.html
View file @
a4f5bc50
...
...
@@ -3,15 +3,11 @@
<input
type=
"hidden"
class=
"page-load"
id=
"mainIndex"
/>
<style>
/*定义滚动条高宽及背景 高宽分别对应横竖滚动条的尺寸*/
html
{
font-size
:
640%
;
overflow
:
scroll
!important
;
padding
:
0
15px
;
}
body
{
/*overflow: scroll;;*/
}
.container
{
width
:
100%
;
height
:
100%
;
...
...
@@ -58,8 +54,6 @@
height
:
820px
!important
;
overflow-y
:
auto
;
}
/* 左侧目录标签的滚动条样式 */
#mainFrameTabs
::-webkit-scrollbar-track
{
-webkit-box-shadow
:
inset
0
0
6px
rgba
(
0
,
0
,
0
,
0.3
)
!important
;
...
...
@@ -88,15 +82,9 @@
<div
id=
"page-content-wrapper"
>
<div
class=
"container"
>
<iframe
frameborder=
"0"
class=
"iframe-type"
scrolling=
"yes"
style=
"width:100%;height:100%;border:0px"
src=
"/index/PerformanceRanking"
>
</iframe>
</div>
</div>
</div>
</div>
</div>
<!--加载图标-->
<!--<div id="main_loading_pic">
<img src="/resource/image/jz2.gif">
</div>-->
public/resource/js/mainIndex.js
View file @
a4f5bc50
...
...
@@ -17,26 +17,17 @@ define (['doT', 'text!temp/menu_template_tpl.html','ckfinder','ckfinderStart', '
//只在首页显示 菜单
var
height1
=
$
(
"html"
).
height
();
var
height
=
$
(
"html"
).
height
()
-
80
+
"px !important"
;
// $('.tab-content').attr("style","height:"+height);
$
(
'#mainFrameTabs'
).
attr
(
"style"
,
"height:"
+
height
);
$
(
'#sidebar-wrapper'
).
attr
(
"style"
,
"height:"
+
height
);
// var width = $("html").width() - 160 + "px !important" ;
var
sceenWidth
=
window
.
screen
.
width
<
1200
?
1200
:
window
.
screen
.
width
;
var
width
=
sceenWidth
-
$
(
'#sidebar-wrapper'
).
width
()
+
"px !important"
;
var
sceen
=
sceenWidth
+
"px !important"
;
$
(
'#mainFrameTabs'
).
attr
(
"style"
,
"min-width:989px !important"
);
// $('#mainFrameTabs').attr("style","min-width:"+height);
$
(
'#mainFrameTabs'
).
attr
(
"style"
,
"min-width:959px !important"
);
$
(
'#wrapper'
).
attr
(
"style"
,
"min-width:"
+
sceen
);
$
(
'#headTileNavBar'
).
attr
(
"style"
,
"min-width:"
+
sceen
);
// $('#mainFrameTabs').attr("style","min-width:1200px !important");
// $('#wrapper').attr("style","min-width:1570px !important" );
// $('#headTileNavBar').attr("style","min-width:1570px !important");
menu_bar
(
function
(){
//回调部分
//记录tab的点击状态,对应的标签内容展开,并高亮显示
...
...
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