作者 王智

baoxiu22

@@ -369,13 +369,9 @@ @@ -369,13 +369,9 @@
369 <div class="tab-pane fade" id="two"> 369 <div class="tab-pane fade" id="two">
370 <div class="row"> 370 <div class="row">
371 <div class="col-xs-12"> 371 <div class="col-xs-12">
372 - <?php foreach ($data as $v) { ?>  
373 - <tr>  
374 - <td>  
375 - <?= $v["zhandian_name"] ?>  
376 - </td>  
377 - </tr>  
378 - <?php } ?> 372 + {foreach {data} as {v}}
  373 + <div>{v.zhandian_name}</div>
  374 + {/foreach}
379 </div> 375 </div>
380 </div> 376 </div>
381 </div> 377 </div>
@@ -384,10 +380,20 @@ @@ -384,10 +380,20 @@
384 </div> 380 </div>
385 </div> 381 </div>
386 </div> 382 </div>
387 - <script>  
388 - var Orderdata = {  
389 - column: {:json_encode(array_keys($paylist))},  
390 - paydata: {:json_encode(array_values($paylist))},  
391 - createdata: {:json_encode(array_values($createlist))},  
392 - };  
393 - </script>  
  383 +<script>
  384 + var Orderdata = {
  385 + column: {
  386 + :
  387 + json_encode(array_keys($paylist))
  388 + },
  389 + paydata: {:
  390 + json_encode(array_values($paylist))
  391 + }
  392 + ,
  393 + createdata: {:
  394 + json_encode(array_values($createlist))
  395 + }
  396 + ,
  397 + }
  398 + ;
  399 +</script>