roomnumlist.html 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. <style type="text/css">
  2. .table{ margin-bottom: 0px; border:1px solid #eee;border-top:0px; }
  3. .table td{ text-align: center; }
  4. .room{background-color: #f5f5f5;}
  5. </style>
  6. <table class="table table-hover room" border="1" style="border:1px solid #999;">
  7. <thead class="navbar-inner">
  8. <tr>
  9. <td style="width: 12.5%">房型/日期</td>
  10. <td onclick='window.prePage()' style="width: 2.5%"><i class=' fa fa-chevron-left'></i></td>
  11. {loop $date_array $row}
  12. <td style="width: 8.2%">{$row['year']}-{$row['month']}-{$row['day']}</td>
  13. {/loop}
  14. <td onclick='window.nextPage()' style="width: 2.5%"><i class=' fa fa-chevron-right'></i></td>
  15. </tr>
  16. </thead>
  17. <tbody>
  18. </tbody>
  19. </table>
  20. {loop $list $item}
  21. <table class="table table-hover" border="1" >
  22. <tr>
  23. <td style="width: 12.5%;background-color: #f4f6f9;">{$item['name']}</td>
  24. <td style="width: 2.5%"> </td>
  25. {loop $item['pricearr'] $item1}
  26. <td style="width: 8.2%">
  27. <span class="price_span">{$item1['nums']}</span>
  28. <span class="price_editspan hide">
  29. <input type="text" pid="{$item1['pid']}" dateday="{$item1['dateday']}" rid="{$item1['rid']}" class="price_input form-control" value="{$item1['nums']}" />
  30. </span>
  31. </td>
  32. {/loop}
  33. <td style="width: 2.5%%"></td>
  34. </tr>
  35. </table>
  36. {/loop}
  37. <input type='hidden' id='page' value="{$page}" />
  38. <input type='hidden' id='totalpage' value="{$totalpage}" />