Commit 7f931ed2 authored by 于广洋's avatar 于广洋

loading 换图

parent f1e9becd
......@@ -237,7 +237,7 @@ function dateProcessing(type) {
//封装等待框 调用方式:showLoading();hideLoading();
(function ($) {
var renderHtml = function renderHtml() {
var _html = '<div id="loadingDiv" style="display: none; cursor:progress;"><div id="over" style=" position: absolute;top: 0;left: 0; width: 100%;height: 100%; background-color: #000000;opacity:0.4;z-index: 9999991;"></div><div id="layout" style="position: absolute;top: 40%; left: 40%;width: 20%; height: 20%; z-index: 9999999;text-align:center;"><img id="showloading" src="/web/onlineReport/static/tools/images/loading1.gif" /></div></div>';
var _html = '<div id="loadingDiv" style="display: none; cursor:progress;"><div id="over" style=" position: absolute;top: 0;left: 0; width: 100%;height: 100%; background-color: #000000;opacity:0.4;z-index: 9999991;"></div><div id="layout" style="position: absolute;top: 40%; left: 40%;width: 20%; height: 20%; z-index: 9999999;text-align:center;"><img id="showloading" src="/web/onlineReport/static/tools/images/loading2.gif" /></div></div>';
$("body").append(_html);
};
renderHtml();
......
......@@ -238,7 +238,7 @@ function dateProcessing(type) {
//封装等待框 调用方式:showLoading();hideLoading();
(function ($) {
var renderHtml = function renderHtml() {
var _html = '<div id="loadingDiv" style="display: none; cursor:progress;"><div id="over" style=" position: absolute;top: 0;left: 0; width: 100%;height: 100%; background-color: #000000;opacity:0.4;z-index: 9999991;"></div><div id="layout" style="position: absolute;top: 40%; left: 40%;width: 20%; height: 20%; z-index: 9999999;text-align:center;"><img id="showloading" src="/web/onlineReport/static/tools/images/loading1.gif" /></div></div>';
var _html = '<div id="loadingDiv" style="display: none; cursor:progress;"><div id="over" style=" position: absolute;top: 0;left: 0; width: 100%;height: 100%; background-color: #000000;opacity:0.4;z-index: 9999991;"></div><div id="layout" style="position: absolute;top: 40%; left: 40%;width: 20%; height: 20%; z-index: 9999999;text-align:center;"><img id="showloading" src="/web/onlineReport/static/tools/images/loading2.gif" /></div></div>';
$("body").append(_html);
};
renderHtml();
......
......@@ -45,7 +45,7 @@ function getIEVersion() {
//封装等待框
(function($) {
var renderHtml = function() {
var _html = '<div id="loadingDiv" style="display: none; cursor:progress;"><div id="over" style=" position: absolute;top: 0;left: 0; width: 100%;height: 100%; background-color: #f5f5f5;opacity:0.5;z-index: 9999991;"></div><div id="layout" style="position: absolute;top: 40%; left: 40%;width: 20%; height: 20%; z-index: 9999999;text-align:center;"><img id="showloading" src="/web/onlineReport/static/tools/images/loading1.gif" /></div></div>';
var _html = '<div id="loadingDiv" style="display: none; cursor:progress;"><div id="over" style=" position: absolute;top: 0;left: 0; width: 100%;height: 100%; background-color: #f5f5f5;opacity:0.5;z-index: 9999991;"></div><div id="layout" style="position: absolute;top: 40%; left: 40%;width: 20%; height: 20%; z-index: 9999999;text-align:center;"><img id="showloading" src="/web/onlineReport/static/tools/images/loading2.gif" /></div></div>';
$("body").append(_html);
}
renderHtml();
......@@ -1191,7 +1191,7 @@ var JSTOOL = function() {
function init() {
var $loading = $("<div></div>");
$loading.addClass("table-body-loading");
$loading.html("<div> <img src='/web/onlineReport/static/tools/images/loading.gif' alt=''/><div>");
$loading.html("<div> <img src='/web/onlineReport/static/tools/images/loading2.gif' alt=''/><div>");
var html = "<div class='table-responsive' style='width:" + tableObj.containerWidth + "'>" +
"<div class='table-header-container' style='height:44px;'>"
......
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