update the url jump page
This commit is contained in:
parent
02bf73efed
commit
5024e93c69
|
@ -11,10 +11,12 @@ $.ajax({
|
|||
window.location.href="<?= $this->url ?>";
|
||||
},
|
||||
'beforeSend':function(){
|
||||
|
||||
$('#loading').css("width",'40%');
|
||||
},
|
||||
'complete':function(){
|
||||
window.location.href="<?= $this->url ?>";
|
||||
window.location.href="<?= $this->url ?>";
|
||||
$('#loading').css("width",'100%');
|
||||
$('.hero-unit').append('<a href="<?= $this->url ?>" class="btn btn-primary">如果没有跳转请点击这里</a>');
|
||||
},
|
||||
'timeout': 20000,
|
||||
'error': function(){
|
||||
|
@ -29,7 +31,10 @@ $(location).attr("href",url);
|
|||
</script>
|
||||
<?php } ?>
|
||||
<div class="row-fluit">
|
||||
<div class="hero">
|
||||
系统正在为您跳转
|
||||
</div>
|
||||
<div class="hero-unit">
|
||||
<h2>系统正在为您跳转......</h2>
|
||||
<div class="progress progress-striped active">
|
||||
<div class="bar" id="loading" style="width:20%;"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
Loading…
Reference in New Issue