Commit a4f5bc50 authored by duxinyuan's avatar duxinyuan

1

parent 313b7874
......@@ -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>-->
......@@ -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的点击状态,对应的标签内容展开,并高亮显示
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment