Commit 172eb88c authored by xinyuandu's avatar xinyuandu

commit

parent 4dbfb34d
......@@ -138,6 +138,7 @@
margin-bottom : 0rem !important;
}
</style>
<div class="backer"></div>
<div id="page-content-wrapper">
<div class="container">
<div class="row">
......
......@@ -13,6 +13,7 @@ define (['doT', 'ckfinder','ckfinderStart', 'css!style/home.css',"datetimepicker
modal_btn_id : '' ,
init: function () {
//初始化dot
performanceRanking.addDark();
performanceRanking.event ();
performanceRanking.loadTableData();
performanceRanking.loadBusinessSchool ();
......@@ -53,6 +54,24 @@ define (['doT', 'ckfinder','ckfinderStart', 'css!style/home.css',"datetimepicker
});
},
addDark : function(){
var docHeight = $(document).height(); //获取窗口高度
$('body').append('<div id="overlay"><div style="position:relative;top:45%;left:48%;font-size:20px;color:#ffffff">数据加载中,请稍后。。。</div></div>');
$('#overlay').height(docHeight).css({
'opacity': .9, //透明度
'position': 'absolute',
'top': 0,
'left': 0,
'background-color': 'black',
'width': '100%',
'z-index': 5000 //保证这个悬浮层位于其它内容之上
});
// setTimeout(function(){}, 3000); //设置3秒后覆盖层自动淡出
// });
},
dealFileName : function(str) {
//如果文件超过30的长度,则用*代替
if(str.length > 26) {
......@@ -281,6 +300,7 @@ define (['doT', 'ckfinder','ckfinderStart', 'css!style/home.css',"datetimepicker
tbody += '</tr>' ;
}
$('#tbody').append(tbody);
$('#overlay').fadeOut('')
}
};
......
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