---
title: "loading"
author: "xu0213"
date: "2014-11-13T18:39:41Z"
tags: []
categories: ["Web前端"]
slug: "loading"
draft: false
lastmod: "2015-01-05T15:08:21Z"
id: 2155693
url: "https://xu0213.iteye.com/blog/2155693"
---

.

.loading\_process1 { background: url("../images/loading1.gif") no-repeat scroll 30px 20px rgba(0, 0, 0, 0); color: #077F52; font-family: Microsoft YaHei,Hei,serif; font-size: 24px; padding: 23px 0 0 65px; } //采用jquery easyui loading css效果 function ajaxLoading() { $("

").css({ display : "block", width : "100%", height : $(window).height() }).appendTo("body"); $("

").html("正在处理，请稍候。。。").appendTo( "body").css({ display : "block", left : ($(document.body).outerWidth(true) - 190) / 2, top : ($(window).height() - 45) / 2 }); } function ajaxLoadEnd() { $(".datagrid-mask").remove(); $(".datagrid-mask-msg").remove(); } .datagrid-mask { position: absolute; left: 0; top: 0; width: 100%; height: 100%; opacity: 0.3; filter: alpha(opacity=30); display: none; } .datagrid-mask-msg { position: absolute; top: 50%; margin-top: -20px; padding: 10px 5px 10px 30px; width: auto; height: 16px; border-width: 2px; border-style: solid; display: none; } .datagrid-mask { background: #ccc; } .datagrid-mask-msg { border-color: #95B8E7; }