|
|
|
@ -5,27 +5,27 @@
|
|
|
|
|
<!--JS进度条-->
|
|
|
|
|
<style type="text/css">
|
|
|
|
|
#out{}
|
|
|
|
|
#in{width:10px; height:20px;background:#15BCCF;color:white;text-align:center;}
|
|
|
|
|
#in{}
|
|
|
|
|
#font_color{background:yellow;text-align:center;color:white;}
|
|
|
|
|
</style>
|
|
|
|
|
<div style="padding-left: 200px;">
|
|
|
|
|
<div id='out'>
|
|
|
|
|
<p style="padding-left: 120px;padding-bottom: 10px;font-size: 14px;">云化部署中...</p>
|
|
|
|
|
<div style="width:300px;height:20px;background:#EEE;">
|
|
|
|
|
<div id="in" style="width:1%">0%</div>
|
|
|
|
|
<p style="padding-left: 100px;padding-bottom: 10px;font-size: 14px;padding-top: 10px;">云化部署中....</p>
|
|
|
|
|
<div>
|
|
|
|
|
<div id="in" style="width:0%"></div>
|
|
|
|
|
<div>
|
|
|
|
|
<script type="text/javascript">
|
|
|
|
|
i=0;
|
|
|
|
|
$(function(){
|
|
|
|
|
ba=setInterval("begin()",50);//setInterval 返回的是一个全局变量,一个间隔数值.这个数值是表示调用setInterval的次数
|
|
|
|
|
ba=setInterval("begin()",60);//setInterval 返回的是一个全局变量,一个间隔数值.这个数值是表示调用setInterval的次数
|
|
|
|
|
});
|
|
|
|
|
function begin()
|
|
|
|
|
{
|
|
|
|
|
i+=1;
|
|
|
|
|
if(i<=100)
|
|
|
|
|
{
|
|
|
|
|
document.getElementById("in").style.width=i+"%";
|
|
|
|
|
document.getElementById("in").innerHTML=i+"%";}
|
|
|
|
|
document.getElementById("in").style.width="";
|
|
|
|
|
document.getElementById("in").innerHTML="";}
|
|
|
|
|
else
|
|
|
|
|
{
|
|
|
|
|
clearInterval(ba);
|
|
|
|
|