399ec41c by 任超

style:电子证书

1 parent 13948128
......@@ -7,32 +7,32 @@ $(function () {
var data = {
'progressList': [
{
name: "信息效验",
isActive: 1
stepName: "信息效验",
stepState: 2 //0:未办理 1:正在办理 2:已办理
},
{
name: "填报信息",
isActive: 1
stepName: "填报信息",
stepState: 2
},
{
name: "完税核税",
isActive: 1
stepName: "完税核税",
stepState: 2
},
{
name: "身份认证",
isActive: 1
stepName: "身份认证",
stepState: 2
},
{
name: "资料审核",
isActive: 1
stepName: "资料审核",
stepState: 2
},
{
name: "线上缴费",
isActive: 1
stepName: "线上缴费",
stepState: 2
},
{
name: "生成电子证书",
isActive: 2
stepName: "生成电子证书",
stepState: 1
}
],
}
......
......@@ -127,19 +127,19 @@
<script type="text/javascript" src="../staticJs/dzzs.js"></script>
<script id="progress" type="text/html">
{{# layui.each(d.progressList, function(index, item){ }}
{{# if(item.isActive==1){ }}
{{# if(item.stepState==2){ }}
<li class="item_proress">
<p class="active"></p>
<h5>{{item.name}}</h5>
<h5>{{item.stepName}}</h5>
</li>
<li class="layui-progress">
<div class="layui-progress-bar" lay-percent="100%"></div>
</li>
{{# } }}
{{# if(item.isActive==2){ }}
{{# if(item.stepState==1){ }}
<li class="item_proress">
<p class="active"></p>
<h5>{{item.name}}</h5>
<h5>{{item.stepName}}</h5>
</li>
{{# if(index!=(d.progressList.length-1)){ }}
<li class="layui-progress">
......@@ -147,10 +147,10 @@
</li>
{{# } }}
{{# } }}
{{# if(item.isActive==0){ }}
{{# if(item.stepState==0){ }}
<li class="item_proress">
<p></p>
<h5>{{item.name}}</h5>
<h5>{{item.stepName}}</h5>
</li>
{{# if(index!=(d.progressList.length-1)){ }}
<li class="layui-progress">
......