js

先上图:

在上代码:

$.ajax({
   type:"get",
   url: Url,
   dataType:"jsonp",
   async: true,
   beforeSend:function(XMLHttpRequest){ 
     $(".app_infro_con").html("<img src='./images/loading.gif'/>");
   }, 
   success:function(res){
     var infro = res.data.notice
     $(".app_infro_con").html(infro);
   }
})

嗯,ok ,人狠话不多。

原文地址:https://www.cnblogs.com/lafitewu/p/8821097.html