userOrderList.php 2.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. <div class="page-title">
  2. <div class="title-env">
  3. <h1 class="title">订单管理</h1>
  4. </div>
  5. <div class="breadcrumb-env">
  6. <ol class="breadcrumb bc-1">
  7. <li>
  8. <a href="/"><i class="fa-home"></i>Home</a>
  9. </li>
  10. <li>
  11. <a href="javascript:void(0)">商城管理</a>
  12. </li>
  13. <li class="active">
  14. <strong>订单管理</strong>
  15. </li>
  16. </ol>
  17. </div>
  18. </div>
  19. <div class="panel panel-default">
  20. <div class="panel-body">
  21. <div class="dataTables_wrapper form-inline dt-bootstrap no-footer">
  22. <div class="table-responsive">
  23. <table class="table table-bordered table-striped table-hover">
  24. <thead>
  25. <tr class="active">
  26. <th class="no-sorting hidden-xs"><input type="checkbox"></th>
  27. <th>商品名称</th>
  28. <th class="hidden-xs">订花人</th>
  29. <th class="hidden-xs">收花人</th>
  30. <th>总价</th>
  31. <th class="hidden-xs">送达时间</th>
  32. <th>状态</th>
  33. <th class="hidden-xs">编号</th>
  34. </tr>
  35. </thead>
  36. <tbody class="middle-align">
  37. <?php foreach($models as $key => $val){ ?>
  38. <tr>
  39. <td class="hidden-xs"><input type="checkbox"></td>
  40. <td><a class="add-under-line" href="/order/detail?id=<?= $val['id'] ?>"><?= $val['orderName'] ?></a></td>
  41. <td class="hidden-xs"><?= $val['bookName'] ?><p><?= $val['bookMobile'] ?></p></td>
  42. <td class="hidden-xs"><?= $val['receiveUserName'] ?><p><?= $val['receiveMobile'] ?></p></td>
  43. <td><?= $val['actPrice'] ?></td>
  44. <td class="hidden-xs"><?php if(!empty($val['reachTime'])){ echo date("m-d",strtotime($val['reachTime'])).$reachPeriodName[$val['reachPeriod']]; } ?></td>
  45. <td><?php echo $payStatusName[$val['payStatus']]; ?></td>
  46. <td class="hidden-xs"><?= $val['sendNum'] ?></td>
  47. </tr>
  48. <?php } ?>
  49. </tbody>
  50. </table>
  51. </div>
  52. <div class="row">
  53. <div>
  54. <!--
  55. <div style="display:inline-block;margin-left:15px;">
  56. <label><select name="example-1_length"
  57. aria-controls="example-1" class="form-control">
  58. <option value="0">批量操作</option>
  59. <option value="1">批量下架</option>
  60. <option value="2">批量删除</option>
  61. </select>
  62. </label>
  63. <input class="btn btn-secondary btn-single" type="submit" name="" value="确认" />
  64. </div>
  65. -->
  66. <div class="dataTables_paginate paging_simple_numbers" style="float:right;padding-top:0px;margin-right:15px;">
  67. <?= $paging ?>
  68. </div>
  69. </div>
  70. </div>
  71. <div class="form-group" style="text-align:center;">
  72. <button type="button" onclick="history.go(-1);" class="btn btn-secondary btn-single">返回</button>
  73. </div>
  74. </div>
  75. </div>
  76. </div>
  77. <!-- footer -->
  78. <?php
  79. use backend\widgets\FooterWidget;
  80. ?>
  81. <?= FooterWidget::widget()?>
  82. <!-- footer -->