工会web
This commit is contained in:
34
GonghuiWeb/www/m/user/zxx.tpl
Normal file
34
GonghuiWeb/www/m/user/zxx.tpl
Normal file
@@ -0,0 +1,34 @@
|
||||
<!--{include file='top.tpl'}-->
|
||||
<style>
|
||||
.nr_nr {line-height:18px;}
|
||||
</style>
|
||||
<div id=in>
|
||||
<div id="zxsj"></div>
|
||||
<div id="zxnr"></div>
|
||||
</div>
|
||||
<script>
|
||||
function load(){
|
||||
$("#zxsj").html("执行中,请稍后");
|
||||
$.get("zxx.php?js=js", function(result){
|
||||
$("#zxnr").html(result);
|
||||
times();
|
||||
});
|
||||
}
|
||||
var wait = 10;
|
||||
function times(){
|
||||
if (wait == 0) {
|
||||
load();
|
||||
wait = 300;
|
||||
} else {
|
||||
wait--;
|
||||
$("#zxsj").html(" (" + wait + ") 后秒执行");
|
||||
setTimeout(function(){
|
||||
times();
|
||||
},1000);
|
||||
}
|
||||
}
|
||||
times();
|
||||
</script>
|
||||
<!--{include file='bottom.tpl'}-->
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user