399ec41c by 任超

style:电子证书

1 parent 13948128
...@@ -7,32 +7,32 @@ $(function () { ...@@ -7,32 +7,32 @@ $(function () {
7 var data = { 7 var data = {
8 'progressList': [ 8 'progressList': [
9 { 9 {
10 name: "信息效验", 10 stepName: "信息效验",
11 isActive: 1 11 stepState: 2 //0:未办理 1:正在办理 2:已办理
12 }, 12 },
13 { 13 {
14 name: "填报信息", 14 stepName: "填报信息",
15 isActive: 1 15 stepState: 2
16 }, 16 },
17 { 17 {
18 name: "完税核税", 18 stepName: "完税核税",
19 isActive: 1 19 stepState: 2
20 }, 20 },
21 { 21 {
22 name: "身份认证", 22 stepName: "身份认证",
23 isActive: 1 23 stepState: 2
24 }, 24 },
25 { 25 {
26 name: "资料审核", 26 stepName: "资料审核",
27 isActive: 1 27 stepState: 2
28 }, 28 },
29 { 29 {
30 name: "线上缴费", 30 stepName: "线上缴费",
31 isActive: 1 31 stepState: 2
32 }, 32 },
33 { 33 {
34 name: "生成电子证书", 34 stepName: "生成电子证书",
35 isActive: 2 35 stepState: 1
36 } 36 }
37 ], 37 ],
38 } 38 }
......
...@@ -127,19 +127,19 @@ ...@@ -127,19 +127,19 @@
127 <script type="text/javascript" src="../staticJs/dzzs.js"></script> 127 <script type="text/javascript" src="../staticJs/dzzs.js"></script>
128 <script id="progress" type="text/html"> 128 <script id="progress" type="text/html">
129 {{# layui.each(d.progressList, function(index, item){ }} 129 {{# layui.each(d.progressList, function(index, item){ }}
130 {{# if(item.isActive==1){ }} 130 {{# if(item.stepState==2){ }}
131 <li class="item_proress"> 131 <li class="item_proress">
132 <p class="active"></p> 132 <p class="active"></p>
133 <h5>{{item.name}}</h5> 133 <h5>{{item.stepName}}</h5>
134 </li> 134 </li>
135 <li class="layui-progress"> 135 <li class="layui-progress">
136 <div class="layui-progress-bar" lay-percent="100%"></div> 136 <div class="layui-progress-bar" lay-percent="100%"></div>
137 </li> 137 </li>
138 {{# } }} 138 {{# } }}
139 {{# if(item.isActive==2){ }} 139 {{# if(item.stepState==1){ }}
140 <li class="item_proress"> 140 <li class="item_proress">
141 <p class="active"></p> 141 <p class="active"></p>
142 <h5>{{item.name}}</h5> 142 <h5>{{item.stepName}}</h5>
143 </li> 143 </li>
144 {{# if(index!=(d.progressList.length-1)){ }} 144 {{# if(index!=(d.progressList.length-1)){ }}
145 <li class="layui-progress"> 145 <li class="layui-progress">
...@@ -147,10 +147,10 @@ ...@@ -147,10 +147,10 @@
147 </li> 147 </li>
148 {{# } }} 148 {{# } }}
149 {{# } }} 149 {{# } }}
150 {{# if(item.isActive==0){ }} 150 {{# if(item.stepState==0){ }}
151 <li class="item_proress"> 151 <li class="item_proress">
152 <p></p> 152 <p></p>
153 <h5>{{item.name}}</h5> 153 <h5>{{item.stepName}}</h5>
154 </li> 154 </li>
155 {{# if(index!=(d.progressList.length-1)){ }} 155 {{# if(index!=(d.progressList.length-1)){ }}
156 <li class="layui-progress"> 156 <li class="layui-progress">
......