Commit ee2f47ca by zhaoshaonan

修改j加载样式

parent a4743b2d
......@@ -77,8 +77,8 @@ h4{line-height:30px}
.Hui-tabNav .acrossTab{ position:absolute; height:26px; line-height:26px; background:none; top:8px; left:0;padding-top:0}
.Hui-tabNav .acrossTab li{height:26px;line-height:26px;}
.Hui-tabNav .acrossTab li em{ right:-16px; height: 26px; width: 16px}
.loading {background:url(../images/loading.gif) no-repeat center; height:100px}
.show_iframe{ position:absolute; top:0; right:0; left:0; bottom:0;}
.loading {background:url(../../layui/css/modules/layer/default/loading-2.gif) no-repeat left center; height:15px;position: absolute;top:50%;left:50%;margin-left:-60px;margin-top:-20px;width:120px;height:40px;line-height:40px;color:#fff;padding-left:46px;}
.show_iframe{ position:absolute; top:0; right:0; left:0; bottom:0;width:100%;height:100%;background: rgba(0,0,0,0.3);}
.show_iframe iframe {position: absolute;bottom: 0;height: 100%;width: 100%}
.Hui-tabNav-more {position: absolute;right:0px;width:70px;top:4px;display: none}
......
......@@ -137,7 +137,7 @@ function creatIframe(href,titleName){
$tabNav.css({left:0})
}
iframeBox.hide();
iframe_box.append('<div class="show_iframe"><div class="loading"></div><iframe frameborder="0" src='+href+'></iframe></div>');
iframe_box.append('<div class="show_iframe"><div class="loading">数据加载中...</div><iframe frameborder="0" src='+href+'></iframe></div>');
var showBox=iframe_box.find('.show_iframe:visible');
showBox.find('iframe').load(function(){
showBox.find('.loading').hide();
......
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