roompricelist.html 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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['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%">{$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['mprice']}</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['mprice']}" />
  30. </span></td>
  31. {/loop}
  32. <td style="width: 2.5%%"></td>
  33. </tr>
  34. </table>
  35. {/loop}
  36. <input type='hidden' id='page' value="{$page}" />
  37. <input type='hidden' id='totalpage' value="{$totalpage}" />