order.html 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. <extend name="Public:base" />
  2. <block name="head_script">
  3. <link href="__CSS__/member.css" rel="stylesheet" type="text/css">
  4. <link href="__PUBLIC__/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">
  5. </block>
  6. <block name="content">
  7. <div>
  8. <div class="container">
  9. <div class="row">
  10. <div id="content" class="col-sm-9">
  11. <div class="page-title">
  12. <h1>历史订单</h1>
  13. </div>
  14. <div class="table-responsive">
  15. <table class="table table-bordered table-hover">
  16. <thead>
  17. <tr>
  18. <td class="text-left">订单号</td>
  19. <td class="text-left">状态</td>
  20. <td class="text-left">下单时间</td>
  21. <td class="text-left">用户</td>
  22. <td class="text-left">总计</td>
  23. <td></td>
  24. </tr>
  25. </thead>
  26. <tbody>
  27. <volist name="list" id="data" empty="$empty">
  28. <tr>
  29. <td>{$data.alias}</td>
  30. <td>{$data.status}</td>
  31. <td>{$data.date_added|toDate='Y/m/d H:i:s'}</td>
  32. <td>{$data.name}</td>
  33. <td>¥<?php echo round($data['total'] ,2); ?></td>
  34. <td>
  35. <a href="{:U('/info/'.$data['order_id'])}">
  36. <button class="button">
  37. <i class="fa fa-eye"></i>
  38. </button>
  39. </a>
  40. </td>
  41. </tr>
  42. </volist>
  43. </tbody>
  44. </table>
  45. </div>
  46. <div>
  47. {$page}
  48. </div>
  49. </div>
  50. <include file="User/side" />
  51. </div>
  52. </div>
  53. </div>
  54. </block>